From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: Re: Function to parse a "diff" command line to load both files into buffers and ediff them Date: Mon, 21 May 2018 10:50:24 -0700 (PDT) Message-ID: <6db6df27-31a3-4ca3-bc89-bded7e19a364@googlegroups.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1526925207 10744 195.159.176.226 (21 May 2018 17:53:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 17:53:27 +0000 (UTC) Injection-Date: Mon, 21 May 2018 17:50:24 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 21 19:53:23 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKozq-0002jF-Kw for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 19:53:22 +0200 Original-Received: from localhost ([::1]:51777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKp1x-0007Uw-Ph for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 13:55:33 -0400 X-Received: by 2002:a0c:9345:: with SMTP id e5-v6mr12896476qve.15.1526925024453; Mon, 21 May 2018 10:50:24 -0700 (PDT) X-Received: by 2002:a37:9dc7:: with SMTP id g190-v6mr1799763qke.2.1526925024284; Mon, 21 May 2018 10:50:24 -0700 (PDT) Original-Path: usenet.stanford.edu!x25-v6no2174632qto.0!news-out.google.com!k3-v6ni2089qtj.0!nntp.google.com!x25-v6no2174621qto.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=159.89.88.224; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 159.89.88.224 Original-Xref: usenet.stanford.edu gnu.emacs.help:222674 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116795 Archived-At: On Thursday, May 10, 2018 at 10:29:54 AM UTC-7, David Karr wrote: > Quite often I find myself in a situation where I have a "diff" command th= at 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 the= n 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 u= sing version "2.81.5". I'd really like this too. I'm not a great e-lisp coder but I'd guess this = wouldn't be too hard using emacs client.