簡體   English   中英

在emacs上,我無法跳轉到GTAGS SELECT緩沖區中的標簽

[英]On emacs, I can't jump to tags in GTAGS SELECT buffer

在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緩沖區中的"Ch 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.

我沒有使用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)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM