GNU bug report logs - #76587
31.0.50; [FR] project.el should have a way to exclude certain projects from being saved

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Wed, 26 Feb 2025 14:01:02 UTC

Severity: wishlist

Found in version 31.0.50

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 76587 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: bug#76587: 31.0.50; [FR] project.el should have a way to exclude certain projects from being saved
Date: Sun, 2 Mar 2025 05:31:15 +0200
On 28/02/2025 05:48, Visuwesh wrote:
> I see one caller of project--remember-dir, project-switch-project, that
> does not have the project object handy.  Maybe we could do
> 
>      (project--remember-dir dir nil (project-current nil dir))
> 
> in place of the current call in project-switch-project?

Hm yeah, I suppose that would be okay: project-switch-project is not 
required to be very fast, and project search often uses cache.

And when the project value is available, the call to be made to 
project-remember-project instead - this one could do the filtering as 
well. So no need to add new arg to project--remember-dir.




This bug report was last modified 136 days ago.

Previous Next


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