all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Suggestion: Have `C-x v =' run `diff-backup'
Date: Thu, 14 Apr 2011 09:57:50 -0500	[thread overview]
Message-ID: <874o60anip.fsf@lifelogs.com> (raw)
In-Reply-To: m37hawj43u.fsf@fleche.redhat.com

On Thu, 14 Apr 2011 08:32:21 -0600 Tom Tromey <tromey@redhat.com> wrote: 

>>>>>> "Deniz" == Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
Deniz> 2011/4/14 Lars Magne Ingebrigtsen <larsi@gnus.org>:
>>> 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




  reply	other threads:[~2011-04-14 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 13:19 Suggestion: Have `C-x v =' run `diff-backup' Lars Magne Ingebrigtsen
2011-04-14 13:41 ` Deniz Dogan
2011-04-14 14:32   ` Tom Tromey
2011-04-14 14:57     ` Ted Zlatanov [this message]
2011-04-14 15:06       ` Deniz Dogan
2011-04-14 15:14         ` Ted Zlatanov
2011-04-14 14:56   ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o60anip.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.