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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78099: closed ([PATCH] Make 'project-remember-project'
 interactive)
Date: Thu, 29 May 2025 19:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 29 May 2025 22:31:11 +0300
with message-id <28f755c4-ab48-496b-ab38-754325624517 <at> gutov.dev>
and subject line Re: bug#78099: [PATCH] Make 'project-remember-project' interactive
has caused the debbugs.gnu.org bug report #78099,
regarding [PATCH] Make 'project-remember-project' interactive
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78099: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78099
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Make 'project-remember-project' interactive
Date: Sun, 27 Apr 2025 14:18:12 -0600
[Message part 3 (text/plain, inline)]
Tags: patch

Sometimes when creating a new project it is not added to project list.
AFAIK the only way to do it is using `project-remember-projects-under'
or `project-switch-project' but they are uncomfortable to use when you
just want to remember the current project you're in.

So I decided to make `project-remember-project' interactive in this
patch for archive this; this let to users use it in hooks (e.g
find-file-hook)

[0001-Make-project-remember-project-interactive.patch (text/x-patch, attachment)]
[Message part 5 (text/plain, inline)]
-- 
                                          - E.G via GNU Emacs and Org.
[Message part 6 (message/rfc822, inline)]
From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 78099-done <at> debbugs.gnu.org
Subject: Re: bug#78099: [PATCH] Make 'project-remember-project' interactive
Date: Thu, 29 May 2025 22:31:11 +0300
Version: 31.1

On 16/05/2025 05:56, Elijah Gabe Pérez wrote:
>> It's not a no-op, though: if you invoke the function on such a
>> project, it would move to the top of the list. Should be reject that?
> Well, I don't know if the order of the list matters. If it does,
> then your previous patch is fine.

I don't know either, but it might, for some.

I've installed that last version, let's wait and see if some will want 
more from this feature.


This bug report was last modified 20 days ago.

Previous Next


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