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


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

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 77566 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: bug#77566: [PATCH] Add option for automatically delete
 non-existent projects.
Date: Mon, 7 Apr 2025 19:25:33 -0600
[Message part 1 (text/plain, inline)]
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> On 06/04/2025 03:29, Sean Whitton wrote:
> > Thanks, though why do this only when switching projects?
> > Why not do it proactively whenever fetching the list of projects?
> > Performance concerns?
>
> I'm concerned about performance, yes. With my SSD, it takes about 4ms to
> "clean up" ~70 projects. The number could be higher, and the hard drive
> could be spinning media.
>

Yeah, that is why i originally added it only when switching projects,
projectile does the same.

So could someone point out what will we get by proactively cleaning up
> the list, rather than doing that only when a project is being prompted for?


Maybe for ensure that the zombies were removed?

For example, packages that use project--list for read the projects.

Instead what about purge it once after emacs startup?

>
[Message part 2 (text/html, inline)]

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.