[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New function: vc-ediff

From: Eli Zaretskii
Subject: Re: New function: vc-ediff
Date: Sat, 12 Mar 2011 19:49:01 +0200

> From: Christoph Scholtes <address@hidden>
> Cc: Stefan Monnier <address@hidden>,  address@hidden
> Date: Sat, 12 Mar 2011 08:05:56 -0700
> > But when the command is invoked out of VC context, like from some
> > unrelated buffer, it might be a good idea to ask, because the user
> > could have something very different in mind than to diff the current
> > buffer's file.
> What do you mean by `out of VC context'?

In a buffer that doesn't visit a versioned file for which Emacs can
find the corresponding repository.

> > IIUC, vc-ediff, as written, does not allow me to specify the file for
> > which to show the diffs (unless I invoke it with a prefix argument).
> > It assumes that I want to diff the file visited by the current
> > buffer.  I'm not sure this is the best default in this case.
> My initial intention was to provide an `ediff' equivalent to `vc-diff',
> which works on what has been deduced by `vc-deduce-fileset', i.e. the
> current buffer or the selection in `vc-dir'.

That's fine.  I was replying to Stefan's wish that vc-ediff _replaces_
ediff-version.  For that, IMO its UI should support invocation outside
of VC context.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]