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


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

From: Juri Linkov <juri <at> linkov.net>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 76587 <at> debbugs.gnu.org
Subject: Re: bug#76587: 31.0.50; [FR] project.el should have a way to
 exclude certain projects from being saved
Date: Mon, 03 Mar 2025 19:30:18 +0200
>> 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.
>
> OK, sounds good to me.  WDYT about the patch below?  It doesn't exclude
> projects at the time of saving, but whenever project-remember-project is
> called.

Thanks, I confirm this works nicely with:

(add-to-list 'project-list-exclude (lambda (pr) (eq (car pr) 'transient)))




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.