如题,请教各位大佬,Emacs30中打开open recent鼠标悬停高亮本行和下一行行号,理论上应该是高亮本行行号,这个怎么调整?
Emacs 29 也有这个问题 谁去报个 bug?
比较近的 master 也有…
试试这个:
diff --git a/lisp/recentf.el b/lisp/recentf.el
index a773ea9ec01..65d7ec354d7 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1237,7 +1237,7 @@ recentf-open-files-item
:button-prefix ""
:button-suffix ""
:button-face default
- :format "%[%t\n%]"
+ :format "%[%t%]\n"
:help-echo ,(concat "Open " (cdr menu-element))
:action recentf-open-files-action
,(cdr menu-element))))
只不过这看上去也许更像是 feature…
(recentf-open-files-item): Include newline in button · emacs-mirror/emacs@5d24c60
Include newline in button field, so opening a file will work, when the point is at the end of the file name. Allow, for example, to [i]search a file by extension and just push RET to open it.