首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在emacs上,我不能跳转到GTAGS选择缓冲区中的标记

在emacs上,我不能跳转到GTAGS选择缓冲区中的标记
EN

Stack Overflow用户
提问于 2012-09-15 14:28:46
回答 1查看 986关注 0票数 3

在emacs上,我不能跳转到GTAGS选择缓冲区中的标记。当我按回车键时,会得到"Buffer is read-only: <buffer *GTAGS SELECT*>"错误。

  • Mac 10.8.1
  • Emacs 24.2
  • gtags全局6.2.4 (由自制软件安装)
  • gtags.el 3.3 (由package.el安装)

GTAGS缓冲区中的"C-h k <return>"显示了以下消息:

代码语言:javascript
复制
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.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 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)。

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

https://stackoverflow.com/questions/12438202

复制
相关文章

相似问题

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