在emacs上,我不能跳转到GTAGS选择缓冲区中的标记。当我按回车键时,会得到"Buffer is read-only: <buffer *GTAGS SELECT*>"错误。
GTAGS缓冲区中的"C-h k <return>"显示了以下消息:
RET (translated from <return>) runs the command newline, which is an
interactive compiled Lisp function in `simple.el'.
It is bound to RET.
(newline &optional ARG)
Insert a newline, and move to left margin of the new line if it's blank.
If `use-hard-newlines' is non-nil, the newline is marked with the
text-property `hard'.
With ARG, insert that many newlines.
Call `auto-fill-function' if the current column number is greater
than the value of `fill-column' and ARG is nil.发布于 2012-09-18 06:10:16
我不使用global,不过谷歌快速搜索显示,将gtags.el降级为旧版本可能有帮助:http://lists.gnu.org/archive/html/help-global/2011-12/msg00003.html
编辑:(不能在第一篇文章中添加注释,所以在这里编辑)
正如Arne所说,由于某些原因,RET键没有正确绑定。对于gtags选择模式,RET应该绑定到(gtags select-tag)。
https://stackoverflow.com/questions/12438202
复制相似问题