GNU bug report logs - #66993
[PATCH] project.el: avoid asking user about project-list-file lock

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Tue, 7 Nov 2023 21:29:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Spencer Baugh <sbaugh <at> janestreet.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 66993 <at> debbugs.gnu.org
Subject: bug#66993: [PATCH] project.el: avoid asking user about project-list-file lock
Date: Sat, 18 Nov 2023 03:41:04 +0200
On 15/11/2023 22:49, Spencer Baugh wrote:
> project--list is the new history variable.  Using it is mostly trivial;
> a small bit of work is necessary in project-prompt-project-name to get
> project-names for the history, but that worked out great.  Everything
> else just seems to work.
> 
> And with savehist-mode enabled, project--list just gets stored
> automatically without any code in project.el.
> 
> I can implement a backwards-compatible version if this seems like a
> reasonable direction to go in.

I haven't tried using it, but there's indeed a lot to like about this patch.

What happens if savehist-mode is nil, though? Which it is by default. 
For users with this setup the project history will just disappear.

What kind of backward compatibility did you have in mind?




This bug report was last modified 1 year and 268 days ago.

Previous Next


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