首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >编辑文件时自动完成黏液

编辑文件时自动完成黏液
EN

Stack Overflow用户
提问于 2015-08-18 13:03:56
回答 1查看 1.6K关注 0票数 2

我对Lisp很陌生。我在一个盒子里安装了Lisp来学习Common。在slime-repl中,我可以使用选项卡键使用自动完成。然而,我想这样做在其他缓冲区-文件-我编辑。例如,我想做以下工作:

代码语言:javascript
复制
C-x b  ;; Here I switch to the buffer corresponding to my file. S I am not in the repl anymore.
(remove-i  ;; Here I use the tab key, but nothing occurs.

在repl缓冲区中,我可以输入(remove-i,并将看到匹配的函数,如remove-ifremove-if-not

如何在编辑任何其他文件时添加lisp自动完成?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-18 16:19:59

代码语言:javascript
复制
C-M-i (translated from <M-tab>) runs the command slime-complete-symbol (found
in slime-mode-indirect-map), which is an interactive compiled Lisp function in
‘slime.el’.

It is bound to C-c TAB, C-M-i, <menu-bar> <SLIME> <Complete Symbol>.

(slime-complete-symbol)

Complete the symbol at point.

Completion is performed by ‘slime-completion-at-point-functions’.

如果需要,可以将此函数绑定到TAB。

彼得

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32073254

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档