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 #58 received at 76587 <at> debbugs.gnu.org (full text, mbox):

From: Ship Mints <shipmints <at> gmail.com>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 76587 <at> debbugs.gnu.org,
 Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#76587: 31.0.50; [FR] project.el should have a way to exclude
 certain projects from being saved
Date: Mon, 3 Mar 2025 08:13:19 -0500
[Message part 1 (text/plain, inline)]
On Mon, Mar 3, 2025 at 8:10 AM Visuwesh <visuweshm <at> gmail.com> wrote:

> [திங்கள் மார்ச் 03, 2025] Ship Mints wrote:
>
> >> >> +(defcustom project-list-exclude nil
> >> >> +  "List of regexps and predicates for project root and objects to
> >> ignore.
> >> >> +The predicate should take one argument, the projet object, and
> should
> >> >> +return non-nil if the project should not be saved."
> >>
> >
> > Is it more like project-list-inhibit-remember?
>
> Sorry, I don't understand what you mean.
>

To be clearer, I was suggesting a name for the exclude defcustom.

> Will the project still be in the in-memory list but just not written
> > to the project list file?
>
> No, the project will never be added to project--list.  The defcustom is
> respected by project-remember-project in the latest few patches.
>

I see.  Worth trying to see how it works.  We can always refine as 31
evolves.  But I guess project.el is published via ELPA sooner than 31...
[Message part 2 (text/html, inline)]

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.