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


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 78099 <at> debbugs.gnu.org
Subject: bug#78099: [PATCH] Make 'project-remember-project' interactive
Date: Sun, 27 Apr 2025 22:34:03 -0600
[Message part 1 (text/plain, inline)]
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> 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.
>

Right, but all these commands will prompt for
select a project/file/directory, it is
exhausting to always have to press C-g to quit it.

In this case, the feature just display a message
whether if project was indexed or not (if called interactively)
[Message part 2 (text/html, inline)]

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.