在emacs上,我无法跳转到GTAGS SELECT缓冲区中的标签

时间:2012-09-15 14:28:46

标签: emacs gnu-global

在emacs上,我无法跳转到GTAGS SELECT缓冲区中的标签。按回车键时出现"Buffer is read-only: <buffer *GTAGS SELECT*>"错误。

  • Mac OS X 10.8.1
  • Emacs 24.2
  • gtags GNU GLOBAL 6.2.4(由自制软件安装)
  • gtags.el 3.3(由package.el安装)
GTAGS SELECT缓冲区中的

"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.

1 个答案:

答案 0 :(得分:1)

我不使用GNU global,但是快速谷歌搜索暗示将gtags.el降级为旧版本可能会有所帮助: http://lists.gnu.org/archive/html/help-global/2011-12/msg00003.html


编辑:(无法在第一篇文章中添加评论,因此请在此处进行编辑)

Arne说,由于某些原因,RET键没有正确绑定。对于gtags-select-mode,RET应绑定到(gtags-select-tag)。