[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Suggestion: Have `C-x v =' run `diff-backup'
From:
Ted Zlatanov
Subject:
Re: Suggestion: Have `C-x v =' run `diff-backup'
Date:
2011年4月14日 09:57:50 -0500
User-agent:
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)
On 2011年4月14日 08:32:21 -0600 Tom Tromey <address@hidden> wrote:
>>>>>> "Deniz" == Deniz Dogan <address@hidden> writes:
Deniz> 2011年4月14日 Lars Magne Ingebrigtsen <address@hidden>:
>>> When looking at files, I often wonder what the diff is between the
>>> current version and the previous one, so my fingers go `C-x v ='
>>> automatically, only to be presented with "No fileset is available here".
>>>
>>> Wouldn't it be nice if that command, if there was no fileset there, and
>>> there were backup files, would then run `diff-backup' instead of just
>>> erroring out?
>>>
Deniz> I guess this would be confusing to many people if they're not aware of
Deniz> this behaviour. If this is implemented, maybe it would be best to tell
Deniz> the user that there is no fileset and ask if s?he wants to diff with
Deniz> the backup?
Tom> How about, if there are no differences, put a "diff against previous
Tom> revision" button into the *vc-diff* buffer?
Buttons are slow. Maybe it would be OK to just do
(y-or-n-p "There are no changes in this revision, try the previous one?")
Ted