From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36550: Small bug fix in recentf.el Date: Mon, 08 Jul 2019 21:58:46 +0200 Message-ID: <87v9wc2t8p.fsf@mouse.gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="157105"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36550@debbugs.gnu.org To: Linus =?UTF-8?Q?K=C3=A4llberg?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 08 22:00:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkZo7-000ei1-Ke for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2019 22:00:15 +0200 Original-Received: from localhost ([::1]:44404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkZo6-0005os-Jy for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2019 16:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43996) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkZny-0005oi-IH for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 16:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkZnu-0005Bu-Kt for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 16:00:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkZnu-0005Bf-Eb for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 16:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkZnu-0004JM-9D for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 16:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2019 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36550 X-GNU-PR-Package: emacs Original-Received: via spool by 36550-submit@debbugs.gnu.org id=B36550.156261594116461 (code B ref 36550); Mon, 08 Jul 2019 20:00:02 +0000 Original-Received: (at 36550) by debbugs.gnu.org; 8 Jul 2019 19:59:01 +0000 Original-Received: from localhost ([127.0.0.1]:59613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkZmr-0004HF-JM for submit@debbugs.gnu.org; Mon, 08 Jul 2019 15:59:01 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:60708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkZmm-0004H1-HE for 36550@debbugs.gnu.org; Mon, 08 Jul 2019 15:58:56 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkZmh-0004gj-9y; Mon, 08 Jul 2019 21:58:51 +0200 In-Reply-To: ("Linus \=\?utf-8\?Q\?K\=C3\=A4llberg\=22's\?\= message of "Mon, 8 Jul 2019 12:54:05 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162352 Archived-At: Linus K=C3=A4llberg writes: > Hello, > > In recentf.el (GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of=20 > 2018-05-30), I made the following small change on line 1187 (in the=20 > 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=20 > recent files dialog. Before, the file name, as well as the rest of the=20 > line and the first character on the next line, was highlighted. Now only= =20 > the file name is highlighted, which looks much nicer and is probably=20 > what is intended. The commit message for that line seems to indicate that it's on purpose: commit 5d24c60e3a3b07ccb31b886885ea117a058168be Author: David Ponce 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no