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 13:40:38 -0700 (PDT) Message-ID: 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 1526935404 22773 195.159.176.226 (21 May 2018 20:43:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 20:43:24 +0000 (UTC) Injection-Date: Mon, 21 May 2018 20:40:38 +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 22:43:20 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 1fKreJ-0005px-A4 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 22:43:19 +0200 Original-Received: from localhost ([::1]:52396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKrgQ-0006i6-EJ for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2018 16:45:30 -0400 X-Received: by 2002:ac8:1009:: with SMTP id z9-v6mr13317722qti.54.1526935238733; Mon, 21 May 2018 13:40:38 -0700 (PDT) X-Received: by 2002:a0c:e981:: with SMTP id z1-v6mr2010502qvn.1.1526935238523; Mon, 21 May 2018 13:40:38 -0700 (PDT) Original-Path: usenet.stanford.edu!x25-v6no2237131qto.0!news-out.google.com!k3-v6ni2098qtj.0!nntp.google.com!x25-v6no2237123qto.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:222680 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:116801 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". Did a bit of searching and found this script that works great! https://gist.github.com/ptrv/0b460291e14a4a3c6372