GNU bug report logs - #25105
26.0.50; diff navigation is broken

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Sun, 4 Dec 2016 15:14:02 UTC

Severity: normal

Tags: patch

Merged with 25400

Found in version 26.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Tino Calancha <tino.calancha <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: mvoteiza <at> udel.edu, 25105 <at> debbugs.gnu.org, Dima Kogan <dima <at> secretsauce.net>,
 npostavs <at> users.sourceforge.net
Subject: Re: bug#25105: 26.0.50; diff navigation is broken
Date: Fri, 6 Jan 2017 17:14:39 +0300
On 06.01.2017 11:03, Tino Calancha wrote:

>> Another alternative is to have a customizable option which will let
>> users decide what behavior they want.
> That would be OK.  I would suggest to set this option nil by default,
> i.e., disable the new feature by default for backward compatibility.

If separating behavior into two parts that are controlled by a switch 
would be feasible (I'm not sure), it might be okay.

However, the new behavior also fixes what was undoubtedly a problem:

When point is a bob in a diff-mode buffer, `C-c C-a' applies the first 
hunk, and then stops at its beginning (in Emacs 25 and earlier).

We would then give up on that fix, whereas I'd prefer to have a solution 
eventually, if not now. But if we do, I estimate we might have the "old 
fixed" behavior encroach on the "new different" behavior in certain 
respects, making the code even more complex.

I've honestly thought that Dima's patch's main purpose was to fix that 
bug. And everything else we now complain about are just implementation's 
side-effects.




This bug report was last modified 8 years and 123 days ago.

Previous Next


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