From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Linus Källberg" <linus.kallberg@outlook.com>
Cc: 36550@debbugs.gnu.org
Subject: bug#36550: Small bug fix in recentf.el
Date: Mon, 08 Jul 2019 21:58:46 +0200 [thread overview]
Message-ID: <87v9wc2t8p.fsf@mouse.gnus.org> (raw)
In-Reply-To: <AM0PR09MB286736839F8AA277D9B3287987F60@AM0PR09MB2867.eurprd09.prod.outlook.com> ("Linus \=\?utf-8\?Q\?K\=C3\=A4llberg\=22's\?\= message of "Mon, 8 Jul 2019 12:54:05 +0000")
Linus Källberg <linus.kallberg@outlook.com> writes:
> Hello,
>
> In recentf.el (GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of
> 2018-05-30), I made the following small change on line 1187 (in the
> function recentf-open-files-item):
>
> - :format "%[%t\n%]"
> + :format "%[%t%]\n"
(In the future, could you post complete patches instead of fragments?
That makes it easier to find the code in question.)
> This fixes the highlighting when hovering the mouse over a file in the
> recent files dialog. Before, the file name, as well as the rest of the
> line and the first character on the next line, was highlighted. Now only
> the file name is highlighted, which looks much nicer and is probably
> what is intended.
The commit message for that line seems to indicate that it's on purpose:
commit 5d24c60e3a3b07ccb31b886885ea117a058168be
Author: David Ponce <david@dponce.com>
Date: Mon Apr 3 14:34:28 2006 +0000
(recentf-open-files-item): 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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-07-08 19:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-08 12:54 bug#36550: Small bug fix in recentf.el Linus Källberg
2019-07-08 19:58 ` Lars Ingebrigtsen [this message]
[not found] ` <AM0PR09MB2867529A5BCE4551365F142C87F60@AM0PR09MB2867.eurprd09.prod.outlook.com>
2019-07-09 13:04 ` Lars Ingebrigtsen
2019-07-11 16:34 ` Linus Källberg
2019-07-12 15:07 ` Lars Ingebrigtsen
2019-07-13 0:31 ` bug#36550: mouse-face overlay calculation error Lars Ingebrigtsen
2019-07-13 6:15 ` Eli Zaretskii
2019-07-13 13:10 ` Lars Ingebrigtsen
2019-07-13 13:23 ` Eli Zaretskii
2019-07-13 13:50 ` Lars Ingebrigtsen
2019-07-13 14:17 ` Eli Zaretskii
2019-07-13 14:25 ` Lars Ingebrigtsen
2019-07-13 14:50 ` Eli Zaretskii
2019-07-13 15:05 ` Lars Ingebrigtsen
2019-07-13 15:08 ` Lars Ingebrigtsen
2019-07-13 15:38 ` Linus Källberg
2019-07-13 15:49 ` Eli Zaretskii
2019-07-13 19:49 ` Linus Källberg
2019-07-14 5:30 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9wc2t8p.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=36550@debbugs.gnu.org \
--cc=linus.kallberg@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).