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: Fri, 11 May 2018 07:31:17 -1000 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 1526059808 26654 195.159.176.226 (11 May 2018 17:30:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 May 2018 17:30:08 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 19:30:04 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 1fHBro-0006oK-4N for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2018 19:30:04 +0200 Original-Received: from localhost ([::1]:59710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHBtt-0004Oa-LB for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2018 13:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHBtN-0004O6-0s for help-gnu-emacs@gnu.org; Fri, 11 May 2018 13:31:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHBtM-0000L3-0J for help-gnu-emacs@gnu.org; Fri, 11 May 2018 13:31:41 -0400 Original-Received: from mail-yw0-x233.google.com ([2607:f8b0:4002:c05::233]:46045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHBtL-0000KF-SK for help-gnu-emacs@gnu.org; Fri, 11 May 2018 13:31:39 -0400 Original-Received: by mail-yw0-x233.google.com with SMTP id g9-v6so1795413ywb.12 for ; Fri, 11 May 2018 10:31:38 -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:to :content-transfer-encoding; bh=mYlS51vlk7yzfJE4oMYxz/M0WJsL4vccE3WW3fpHSGs=; b=lfLXQXCAh+Z9i5uPMxIU7WBzzLoudkrGsS+QzPuroNjlCHj/Yot/Mu2b5gch03JxaB A0zhi6FpVRRT+Lq9WIL5361qLZmnYqS0V7kB5aZfpiyKA9ZQy+OQAxXZHMwadVtEfhK0 /pjVdhS+sPKERHLN9IqS2dBSy9hezM6EmsUiQi69aCPEGRWYvY/Yb1nR+AqpOfArS62R MPhKp2yftbKkzXzZR19Od8oXwhLr34mMutcWFkUG0JzK/+p5ZUgflr7/e43ZGkkXN7i3 rbG4j7M1iWzkCSO0fo/9GaED8qfWLOVz4X9IQABRljbJoqPFmX8Fvjq0NhUJG/e3LKU9 JcbQ== 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:to:content-transfer-encoding; bh=mYlS51vlk7yzfJE4oMYxz/M0WJsL4vccE3WW3fpHSGs=; b=EN9DMbN8cpVcwVQPrbJkFZLFF8AFTwhdZkETWwvCNe9oFK95fg2GaxsUtBSMvs6Lhy h0Q0BESUTvB+d2nkSNt6aguTXfcc4Qmu3HlmrlJH6YHOndnrmh5an3udClOgUhgvqOSH Pexs6zgPu79jDReomNR9LkZl+gHcQloW55V0ElTH49YgPcW01aOak7VycnSUBMWk+rPE Sx5PXsnmcEg44s9hQ/DxDf/VB4kZSJcq/8vsOLSNCbAW7jet5i2NoZtfr7tQONXOkfYq BgEL8RCRXGpYnoZDntFOV5+SuYF7ZJwxj6kmULnW9AYrKgLaGDiSuD9rub3GNlD9ubCP BBQQ== X-Gm-Message-State: ALKqPwcZRn/g053so2hgUl7SM3tOmvBe2DRwdPQq0feqUTPIoEtSMwka D+aEDliu2u99/DRP4xRYGpCHLm0KxW5VjgNkhg6Yuw== X-Google-Smtp-Source: AB8JxZpApdIc7uBybSv6Nfo+d94TpTSy6dgn/xgvXcRKhTWRFfudVM3g28bJs37oXt7ngSywWfePnpfbx0FXpPvf9mk= X-Received: by 2002:a0d:cd41:: with SMTP id p62-v6mr3171491ywd.440.1526059897536; Fri, 11 May 2018 10:31:37 -0700 (PDT) Original-Received: by 2002:a25:9102:0:0:0:0:0 with HTTP; Fri, 11 May 2018 10:31:17 -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:c05::233 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:116714 Archived-At: On Thu, May 10, 2018 at 7:15 AM, KARR, DAVID 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". 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. --=20 Bob Newell Honolulu, Hawai`i Sent via Linux Mint 17.