【发布时间】:2016-01-19 18:50:49
【问题描述】:
我一直在寻找这个问题的答案,我找到了
Emacs Client: difference between C-x k and C-x # 和 Emacs C-x C-c overriding save-buffers-kill-terminal if within last open frame
但它并不完全相关。问题来了:
我将 emacs 作为守护程序启动并使用 emacsclient 连接到它。 我主要在 OS X 终端中使用带有 -nw 选项的 emacsclient。
我使用的具体命令是: /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/foo -nw -c -s /tmp/emacs501/work_guigo
所以我在 /tmp/ 中有两个文件,名为 foo 和 baa。 在我的终端应用程序中,我打开 foo /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/foo -nw -c -s /tmp/emacs501/work_guigo
Emacs 告诉我,“完成缓冲区后,键入 C-x #”,所以我这样做了。 我现在已经完成了它,但我今天还没有完成它,所以我希望 foo 文件保留在我的“C-x b”缓冲区列表中。
所以我回到了终端,我打开 baa /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/baa -nw -c -s /tmp/emacs501/work_guigo
现在当我执行 C-x b 时,我在打开的缓冲区列表中看不到 foo。
这很糟糕。我该怎么办?
---一些附加信息: Emacs 24.5 使用 helm 表示“C-x b”
【问题讨论】:
-
"当缓冲区完成后,键入 C-x #" - 如果您想稍后再访问它,听起来您还没有完成缓冲区。您只是想关闭 emacsclient 窗口吗?
-
正确,但与 c x 5 0 相同的问题
标签: emacs elisp emacs-helm