GNU bug report logs -
#76587
31.0.50; [FR] project.el should have a way to exclude certain projects from being saved
Previous Next
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 #46 received at 76587 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[திங்கள் மார்ச் 03, 2025] Dmitry Gutov wrote:
> On 02/03/2025 06:31, Visuwesh wrote:
>> +return non-nil if the project should not be saved."
>
> "should not be remembered", perhaps. Neither adding it to the var
> (storing in memory), nor saving the result to disk.
Thanks, I went with this.
[ஞாயிறு மார்ச் 02, 2025] Eli Zaretskii wrote:
>> Cc: 76587 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
>> From: Visuwesh <visuweshm <at> gmail.com>
>> Date: Sun, 02 Mar 2025 10:01:58 +0530
>>
>> +(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."
>
> The first line of the doc string says "to ignore", and the name of the
> variable (*-exclude) also hints to that effect, but the rest of the
> doc strings seems to tell that the matching projects are only
> "ignored" in the sense that they "should not be saved"? Moreover, the
> code seems to imply that those projects are being ignored by
> project-remember-project, which the doc string doesn't mention at all?
> Can we make the variable name and the first line of the doc string
> more consistent with the actual meaning of this variable, and mention
> the functions that use it in the doc string?
I've now tried to make this clearer. I don't know what a better name
for the user option could be.
I also updated the manual to mention this user option, and announced the
change in NEWS in the attached.
[0001-Add-new-user-option-to-ignore-projects-from-being-sa.patch (text/x-diff, attachment)]
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.