GNU bug report logs - #60245
28.2; recentf: Be able to include directories

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 21 Dec 2022 21:15:02 UTC

Severity: wishlist

Found in version 28.2

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: "60245 <at> debbugs.gnu.org" <60245 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#60245: 28.2; recentf: Be able to include
 directories
Date: Wed, 21 Dec 2022 23:09:03 +0000
> > Enhancement request: Have recentf let you optionally include
> > directories that you've visited with Dired.  (Currently it
> > seems that the gatekeeper in the code is basically `buffer-file-name'.)
> 
> FWIW I use the following, suggested long ago by Kevin Rodgers
> (https://urldefense.com/v3/__https://lists.gnu.org/archive/html/help-gnu-
> emacs/2004-01/msg00525.html__;!!ACWV5N9M2RV99hQ!I8OUv_4GGpM-NU-4syprdTz-
> kiCHPePv0_de0Qgr9k0Axdiq5SN8f0uZupnV6t2yCPad_Bd5BDeQQRQ83IrUJ281$ ):
> 
> (add-hook 'dired-mode-hook
> 	  (lambda () (when recentf-mode
> 		          (recentf-add-file default-directory))))

Good idea. Thx.

Governing that with a user option might be a good idea.
That is, do that systematically, whenever the option
says so, rather than having users opt in by adding such
a hook function.




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

Previous Next


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