GNU bug report logs - #38156
27.0.50; [PATCH] VC: ability to skip update buffers prompt

Previous Next

Package: emacs;

Reported by: Andrii Kolomoiets <andreyk.mad <at> gmail.com>

Date: Sat, 9 Nov 2019 20:30:03 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 38156 <at> debbugs.gnu.org
Subject: Re: bug#38156: 27.0.50; [PATCH] VC: ability to skip update buffers
 prompt
Date: Thu, 14 Nov 2019 11:54:07 +0200
Hi Lars,

> On 14 Nov 2019, at 07:55, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> Andrii Kolomoiets <andreyk.mad <at> gmail.com> writes:
> 
>> The `update' argument of `vc-retrieve-tag' is ignored by git, hg and svn
>> vc backends so the answer for "Update any affected buffers?" prompt
>> doesn't matter.  This prompt can be omitted.
> 
> Would it be possible to make those backends respect the UPDATE argument
> instead?  I had a quick peek at vc-cvs-retrieve-tag (which does respect
> the argument), and it looks a bit painful, and I'm not sure whether it
> looks that useful.

vc-retrieve-tag is already updating buffers by calling
(vc-resynch-buffer dir t t t)

Maybe this commits are related:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5828f6cacc5
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5f4f2ae4f96

IMO there are nothing more those backends can do with buffers so
`update` argument is mean nothing to them.

Don't know about cvs backend though.




This bug report was last modified 5 years and 191 days ago.

Previous Next


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