GNU bug report logs - #55310
27.2; vc-revert: unhelpful error message when modified buffers exist

Previous Next

Package: emacs;

Reported by: "Alfred M. Szmidt" <ams <at> gnu.org>

Date: Sun, 8 May 2022 07:42:02 UTC

Severity: normal

Tags: patch

Found in version 27.2

Fixed in version 31.1

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Sean Whitton <spwhitton <at> spwhitton.name>, "Alfred M. Szmidt"
 <ams <at> gnu.org>, 55310 <at> debbugs.gnu.org
Subject: Re: bug#55310: 27.2; vc-revert: unhelpful error message when modified
 buffers exist
Date: Wed, 12 Mar 2025 10:11:45 +0200
On 10/03/2025 09:06, Sean Whitton wrote:
>>> Idea (ideas are cheap): maybe if one could add some sort of
>>> high-light, or something in vc-dired that shows that this or that file
>>> has a open buffer that is unmodified, and then the error could be the
>>> same but just saying that one should check the highlighted buffers.
>> I think that's a good idea -- perhaps Dmitry has some comments; added to
>> the CCs.
> ISTM that a project-save-some-buffers is what's wanted here.
> 
> Dmitry, has there been a discussion about having something like that?

Last time this came up, a new value for 
save-some-buffers-default-predicate was added: save-some-buffers-root 
(bug#46374). So:

  (setopt save-some-buffers-default-predicate #'save-some-buffers-root)




This bug report was last modified 70 days ago.

Previous Next


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