GNU bug report logs - #78099
[PATCH] Make 'project-remember-project' interactive

Previous Next

Package: emacs;

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

Date: Sun, 27 Apr 2025 20:19:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.1

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Full log


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 78099 <at> debbugs.gnu.org
Subject: Re: bug#78099: [PATCH] Make 'project-remember-project' interactive
Date: Mon, 28 Apr 2025 03:35:23 +0300
On 28/04/2025 03:29, Elijah Gabe Pérez wrote:
> For example, visiting a new file (usually with `find-file') or importing
> and opening a new project, you cannot be sure if it is already in the
> project--list (or it was not added to project-list) unless you do
> `project-switch-project' (which automatically index it), projectile have
> a similar behavior (projectile-auto-update-cache), but it's very slow, so
> one way i had to mimic this is this way.

You're right. For it to be added to the list, you'd have to invoke a 
command in it which uses projects at least once (for example, 
project-find-file, 'C-x p f').

Not necessary to use project-switch-project, any command that calls 
(project-current t) will do.




This bug report was last modified 19 days ago.

Previous Next


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