GNU bug report logs - #56123
Set recentf-menu-filter to recentf-show-abbreviated by default

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Tue, 21 Jun 2022 12:47:01 UTC

Severity: wishlist

Fixed in version 29.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56123 in the body.
You can then email your comments to 56123 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Tue, 21 Jun 2022 12:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 21 Jun 2022 12:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Set recentf-menu-filter to recentf-show-abbreviated by default
Date: Tue, 21 Jun 2022 14:46:07 +0200
[Message part 1 (text/plain, inline)]
Severity: wishlist

I just pushed commit 32906819ad to master, which adds
'recentf-show-abbreviated' as a possible value for
'recentf-menu-filter'.  This basically just makes the menu use e.g.
"~/foo" instead of "/home/skangas/foo".

I think this would be a strictly better default than what we have now,
so I suggest we change it.  I'm happy to flip the switch and update
the NEWS entry accordingly.

Please see the attached before/after screenshots.
[before.png (image/png, attachment)]
[after.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Tue, 21 Jun 2022 19:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 56123 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56123 <at> debbugs.gnu.org
Subject: Re: bug#56123: Set recentf-menu-filter to recentf-show-abbreviated
 by default
Date: Tue, 21 Jun 2022 21:44:04 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> I just pushed commit 32906819ad to master, which adds
> 'recentf-show-abbreviated' as a possible value for
> 'recentf-menu-filter'.  This basically just makes the menu use e.g.
> "~/foo" instead of "/home/skangas/foo".
>
> I think this would be a strictly better default than what we have now,
> so I suggest we change it.  I'm happy to flip the switch and update
> the NEWS entry accordingly.
>
> Please see the attached before/after screenshots.

Yes, looks much better.  Please go ahead and flip the switch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Wed, 22 Jun 2022 09:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 56123 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56123 <at> debbugs.gnu.org
Subject: Re: bug#56123: Set recentf-menu-filter to recentf-show-abbreviated by
 default
Date: Wed, 22 Jun 2022 11:48:06 +0200
close 56123 29.1
thanks

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yes, looks much better.  Please go ahead and flip the switch.

Thanks, now done (commit ec9228eb81).




bug marked as fixed in version 29.1, send any further explanations to 56123 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 22 Jun 2022 09:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Wed, 22 Jun 2022 11:30:02 GMT) Full text and rfc822 format available.

Message #16 received at 56123 <at> debbugs.gnu.org (full text, mbox):

From: David Ponce <da_vid <at> orange.fr>
To: Stefan Kangas <stefan <at> marxist.se>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56123 <at> debbugs.gnu.org, David PONCE <da_vid <at> orange.fr>
Subject: Re: bug#56123: Set recentf-menu-filter to recentf-show-abbreviated
 by, default
Date: Wed, 22 Jun 2022 13:29:54 +0200
Hello Stefan, Lars,

Regarding the last changes done to recentf.el (commit 32906819ad to 
master, which adds 'recentf-show-abbreviated' as a possible value for 
'recentf-menu-filter', I am not sure this change is actually needed. It 
could even be confusing with the option `recentf-filename-handlers', 
that can be used to achieve the same at a lower level.

You can customize `recentf-filename-handlers' to add handler
'abbreviate-file-name' in order to get abbreviated file names in the 
recentf menu (in my local setup I also added `file-true-name').

Make be it would be enough to change the default value of
`recentf-filename-handlers' ?

Just wanted to let you know ;-)

Thanks!
David






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Thu, 23 Jun 2022 11:12:02 GMT) Full text and rfc822 format available.

Message #19 received at 56123 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: David Ponce <da_vid <at> orange.fr>
Cc: 56123 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#56123: Set recentf-menu-filter to recentf-show-abbreviated
 by, default
Date: Thu, 23 Jun 2022 13:10:57 +0200
David Ponce <da_vid <at> orange.fr> writes:

> Make be it would be enough to change the default value of
> `recentf-filename-handlers' ?

I think you are correct, so I have reverted the relevant changes and
changed that default instead.  I completely overlooked this somehow.
Thanks!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56123; Package emacs. (Thu, 23 Jun 2022 11:49:02 GMT) Full text and rfc822 format available.

Message #22 received at 56123 <at> debbugs.gnu.org (full text, mbox):

From: David Ponce <da_vid <at> orange.fr>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56123 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#56123: Set recentf-menu-filter to recentf-show-abbreviated
 by, default
Date: Thu, 23 Jun 2022 13:48:14 +0200
On 23/06/2022 13:10, Stefan Kangas wrote:
> David Ponce <da_vid <at> orange.fr> writes:
> 
>> Make be it would be enough to change the default value of
>> `recentf-filename-handlers' ?
> 
> I think you are correct, so I have reverted the relevant changes and
> changed that default instead.  I completely overlooked this somehow.
> Thanks!

You are welcome.
Thanks to you for your work on this library :-)

David




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Jul 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.