【发布时间】:2013-12-05 09:54:36
【问题描述】:
我通常尝试使用以下命令启动 CLI(可能没有正确定义):
(make-comint-in-buffer "PUTTY" nil "./plink.exe" nil "dbserver")
(make-comint-in-buffer "Python" nil "c:/Python26/python.exe" nil "-i")
(make-comint-in-buffer "Python" nil "c:/Python27/python.exe" nil "-i")
(make-comint-in-buffer "git" nil "C:/Program Files (x86)/Git/bin/sh.exe" nil "--login" "-i")
特别是在命令提示符的第一个和最后一个启动上面提供了 tab 补全的便利。但是在comint-mode我好像没有这个功能。
输入 tab 在该点下添加一个简单的制表符,而不是将其传递给进程并取回完成候选。 comint-dynamic-complete 和 C-qtab 不会产生预期的结果。
如何在comint-mode 运行不同进程时利用上述功能?
【问题讨论】:
标签: emacs tab-completion