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: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: Elijah Gabe Pérez <eg642616 <at> gmail.com>, 77566 <at> debbugs.gnu.org, Ship Mints <shipmints <at> gmail.com>, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#77566: [PATCH] Add option for automatically delete non-existent projects.
Date: Tue, 08 Apr 2025 09:20:22 +0300
>> Instead of desperately cleaning zombies that are popping up again and again,
>> I'd prefer an option with a list of directories that should be never added
>> to the project list.
>
> I think we have that in the recently added option project-list-exclude.

Ok, this works nicely:

(define-advice project-forget-projects-under (:after (dir &optional _recursive) remember)
  (add-to-list 'project-list-exclude dir))




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.