GNU bug report logs - #41779
Fall back between vc-diff and diff-backup

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 9 Jun 2020 23:40:02 UTC

Severity: normal

Tags: patch, wontfix

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>, 41779 <at> debbugs.gnu.org
Subject: Re: bug#41779: Fall back between vc-diff and diff-backup
Date: Wed, 10 Jun 2020 22:05:35 +0300
On 10.06.2020 02:35, Juri Linkov wrote:
>   Therefore, this patch to the rescue:

Considering that 'M-=' is not a default binding, and diff-backup doesn't 
have one, how about creating a new command? You could just as well bind 
it to 'M-='.

The command could be called 'diff-dwim'. Or 'diff-vc-or-backup'.

Regarding the proposed patch, I'm somewhat uneasy making 'vc-diff' (the 
command which purpose is to compare edits against the "saved" snapshot 
in version control) diff against the backup (lifetime of which is very 
unclear to me). Or vice versa.




This bug report was last modified 4 years and 332 days ago.

Previous Next


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