From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.help Subject: Re: Function to parse a "diff" command line to load both files into buffers and ediff them Date: Wed, 16 May 2018 12:29:53 -1000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1526509762 19239 195.159.176.226 (16 May 2018 22:29:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 May 2018 22:29:22 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 17 00:29:17 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 1fJ4v7-0004sM-OX for geh-help-gnu-emacs@m.gmane.org; Thu, 17 May 2018 00:29:17 +0200 Original-Received: from localhost ([::1]:44750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ4xC-0007ST-UN for geh-help-gnu-emacs@m.gmane.org; Wed, 16 May 2018 18:31:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ4w4-0007R3-4X for help-gnu-emacs@gnu.org; Wed, 16 May 2018 18:30:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJ4w3-0007Jx-B1 for help-gnu-emacs@gnu.org; Wed, 16 May 2018 18:30:16 -0400 Original-Received: from mail-yb0-x22b.google.com ([2607:f8b0:4002:c09::22b]:45276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJ4w3-0007JS-5D for help-gnu-emacs@gnu.org; Wed, 16 May 2018 18:30:15 -0400 Original-Received: by mail-yb0-x22b.google.com with SMTP id r13-v6so818148ybm.12 for ; Wed, 16 May 2018 15:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=b7lT1otC+zPA6P6eKDhPhh0F/6TDpbuIsbF3hcCOikE=; b=uqg/q7024W7yUwyU0xniTUhccQ+1Refmf1h3OYn9fGdWkKA3s12nTu2lqx2gopr8a9 dCqlHlqp7RAW6/aTi2LfbNEZbdveY7uSc30+rWXXP8Qjhc0F0i5jkAIBfWKVTwqreI97 LmVUMis6g30Ma0pC2kxtihTJRJevtEOXuOqF7KS43ePKLD/BN3kgG26mxCTIooJhRJnu R9851iitZGxE+tr0Ir4DdrXbRad4hEmisjx9ktauBGVrPGNCT8xAdpLaNGeV7McgyN3L Q8tpQmSsa/UqeOPQUqMHmi0UWAbew3XDNFvZTHPWl/zkeFvCQVxGqOUQUcVLm0w2iYU8 dGIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=b7lT1otC+zPA6P6eKDhPhh0F/6TDpbuIsbF3hcCOikE=; b=kGKjJhhT/AQv2QcsAICsHg5dI7vnHer8bYVgS4c+k7niMoX2chWccJhudwNTpMcMt4 1VqfaqmkVBR/7N765XJiXlvfqpPqBXTea2F8WhPl5Hj8Hz5aggteiyzeg/6bXy1/E607 kBOIWtE5i/zYsd79wkAsCDMhPstOPY4+N2J45LyL+tfQJQq+NAAhk72ycgg3JmaufqDn EMrDJcB5cNUo0SS52LhLrxKK6/ZbSISSvif8kFnBaS0aiwcJfNYFSEyzKizyui5sl6YP ZxVaeIpEXn2UFImLHAdYDInaCNFMKHWeqOB4e8qfTB8p5vDspkzZ4m/SqEHxnojJFNNS 4zEw== X-Gm-Message-State: ALKqPwfLm3I+O4RcOBB6Q9kjcYuPOVQmiXpxu57XiTjSjs8n2ktkWfFX FoqGhTB+UiBB6EzWlOrQcnfyfqhDDeDDS+nAnynOKw== X-Google-Smtp-Source: AB8JxZr2Bv0Z4zKdakDdEoAJnHrDZxY0E6NhEY0dEliZ31YgF34TPH6vFotZQvkQTrchTHdlC2iPhBavDlmP7Uvmk+M= X-Received: by 2002:a25:84c4:: with SMTP id x4-v6mr1497520ybm.499.1526509813915; Wed, 16 May 2018 15:30:13 -0700 (PDT) Original-Received: by 2002:a25:9102:0:0:0:0:0 with HTTP; Wed, 16 May 2018 15:29:53 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::22b 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:116748 Archived-At: > Because the output originated from running "git diff" on the command line. I thought of this a bit late but the magit package supports git ediffing directly. I don't know if that meets your use case but it seems magit does just about anything you want that has to do with git. -- Bob Newell Honolulu, Hawai`i Sent via Linux Mint 17.