GNU bug report logs - #79137
31.0.50; (vc-buffer-sync-fileset) cannot complete if unrelated no-longer-reachable TRAMP buffers exist

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Thu, 31 Jul 2025 21:21:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Dima Kogan <dima <at> secretsauce.net>, Michael Albinus <michael.albinus <at> gmx.de>
Cc: 79137 <at> debbugs.gnu.org
Subject: bug#79137: 31.0.50; (vc-buffer-sync-fileset) cannot complete if unrelated no-longer-reachable TRAMP buffers exist
Date: Tue, 05 Aug 2025 11:43:41 +0100
Hello,

On Fri 01 Aug 2025 at 08:53am -07, Dima Kogan wrote:

> Hi.
>
>
> Michael Albinus <michael.albinus <at> gmx.de> writes:
>
>> Does it help to use here
>>
>> (let ((non-essential t)
>>       dirs buffers)
>
> It does! I now get my diff. I should point out that this is very
> confusing: later in this same function there's a reference to
> 'not-essential, which apparently is a different, unrelated thing to
> 'non-essential.
>
> Let me know if any more tests would be useful.

I think that we should bind non-essential to the value of not-essential,
here.  I.e.

    (let ((non-essential not-essential)
          dirs buffers)

That would be saying: only if we are okay with the user saying no to
saving the buffers, we are okay with giving up on looking at them if
they are remote.

How about that?

-- 
Sean Whitton




This bug report was last modified 2 days ago.

Previous Next


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