更改 emacs 24 中的状态缓冲区以显示文件路径
Changing status buffer in emacs 24 to show file path
我在终端中使用 emacs,因此标题栏不可用,如何查看完整文件路径或至少最后 2 个文件目录。
那里得到了答案
基本上我添加了这个
(setq-default mode-line-buffer-identification
(let ((orig (car mode-line-buffer-identification)))
`(:eval (cons (concat ,orig (abbreviate-file-name default-directory))
(cdr mode-line-buffer-identification)))))
我在终端中使用 emacs,因此标题栏不可用,如何查看完整文件路径或至少最后 2 个文件目录。
基本上我添加了这个
(setq-default mode-line-buffer-identification
(let ((orig (car mode-line-buffer-identification)))
`(:eval (cons (concat ,orig (abbreviate-file-name default-directory))
(cdr mode-line-buffer-identification)))))