help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Function to parse a "diff" command line to load both files into buff


From: KARR, DAVID
Subject: RE: Function to parse a "diff" command line to load both files into buffers and ediff them
Date: Sun, 13 May 2018 16:12:12 +0000

> -----Original Message-----
> From: help-gnu-emacs <help-gnu-emacs-bounces+dk068x=att.com@gnu.org> On
> Behalf Of Bob Newell
> Sent: Friday, May 11, 2018 10:31 AM
> To: help-gnu-emacs@gnu.org
> Subject: Re: Function to parse a "diff" command line to load both files
> into buffers and ediff them
> 
> On Thu, May 10, 2018 at 7:15 AM, KARR, DAVID <dk068x@att.com> wrote:
> > Quite often I find myself in a situation where I have a "diff" command
> that was run in a shell buffer, and I want to "transfer" that into
> ediff, by simply loading both of the files specified on the diff command
> line and then running ediff to compare them.  I could probably do this
> with a keyboard macro, but this just seems like something that someone
> must have thought of doing before.  I tried paging through the many
> functions that begin with "ediff-", but I didn't see anything that
> sounds like what I describe.  I'm using version "2.81.5".
> 
> Just wondering why you wouldn't use ediff in the first place. But if
> you really want, you could write a small function that does what you
> say.

Because the output originated from running "git diff" on the command line.

Yes, I could write that function.  I just didn't want to spend the time on 
doing something that someone else had already done, which is why I asked this.


reply via email to

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