GNU bug report logs - #77566
[PATCH] Add option for automatically delete non-existent projects.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 5 Apr 2025 23:52:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 77566 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#77566: [PATCH] Add option for automatically delete non-existent projects.
Date: Wed, 9 Apr 2025 15:51:14 +0300
On 09/04/2025 07:23, Elijah Gabe Pérez wrote:
> Instead what about purge it once after emacs startup?

I think a concern was voiced that during a long-running session 
directories can get removed at any time.

+        (project-forget-zombie-projects nil t))))

Are we sure that we want to suppress the messages about the removals in 
this case? Personally, I'd just print it in any case (if some were 
removed anyway).

+(defun project-forget-zombie-projects (&optional no-remote no-message)
> +  "Forget all known projects that don't exist any more.
> +If NO-REMOTE is non-nil, don't forget remote projects.

Maybe NO-REMOTE should be called INCLUDE-REMOTE instead?

Right now it sounds like the opposite of its actual meaning.




This bug report was last modified 66 days ago.

Previous Next


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