GNU bug report logs - #66211
30.0.50; C-x v v in vc-diff does not work with lesser versionf of patch

Previous Next

Package: emacs;

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

Date: Tue, 26 Sep 2023 12:19:02 UTC

Severity: normal

Found in version 30.0.50

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: ams <at> gnu.org, 66211 <at> debbugs.gnu.org
Subject: bug#66211: 30.0.50; C-x v v in vc-diff does not work with lesser versionf of patch
Date: Fri, 29 Sep 2023 20:40:23 +0300
> Date: Fri, 29 Sep 2023 20:27:21 +0300
> Cc: ams <at> gnu.org, 66211 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> On 29/09/2023 18:22, Eli Zaretskii wrote:
> >> vc-default-checkin-patch calls 'patch'. It's for other backends.
> > 
> > Why do we call Patch if we have a way to apply hunks in Lisp?  Wasn't
> > that just discussed in the other thread?
> 
> https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg01353.html

That doesn't have a lot in the way of answering my question above.

> Anyway, it doesn't seem like 'patch' itself is the problem in this case: 

When Patch is installed, sure.  But using our own code is better
because it doesn't need Patch and doesn't have to rely on specific
options it may or may not support.

I'm not insisting, mind you, just asking.  It sounds inconsistent with
what we do in similar situations in other places, that's all.




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

Previous Next


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