From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: ediff maximum line length? Date: Fri, 11 Feb 2011 01:17:58 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297415921 14348 80.91.229.12 (11 Feb 2011 09:18:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 09:18:41 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 10:18:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pnp99-0006vy-2h for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 10:18:35 +0100 Original-Received: from localhost ([127.0.0.1]:37488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnp98-000247-61 for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 04:18:34 -0500 Original-Received: from [140.186.70.92] (port=50496 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnp90-000241-AF for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:18:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnp8y-00089j-RO for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:18:26 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:35135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnp8y-00089b-De for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:18:24 -0500 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p1B9I3Mk012613 Original-Received: from gkeramidas-glaptop.linux.gr (h-64-105-143-250.snvacaid.static.covad.net [64.105.143.250]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p1B9I3Mk012613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 Feb 2011 11:18:11 +0200 In-Reply-To: (Lennart Borgman's message of "Fri, 11 Feb 2011 10:06:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 62.1.205.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135880 Archived-At: On Fri, 11 Feb 2011 10:06:49 +0100, Lennart Borgman wrote: >On Fri, Feb 11, 2011 at 10:02 AM, Giorgos Keramidas wrote: >> Right now I have a small shell script as a wrapper that does something >> like this simplified version: >> >> =A0 =A0if test -d "$1"/. && test -d "$2"/. ; then >> =A0 =A0 =A0 =A0exec emacs --eval "(ediff-directories \"$1\" \"$2\" nil)" >> =A0 =A0else >> =A0 =A0 =A0 =A0exec emacs --eval "(ediff-files \"$1\" \"$2\")" >> =A0 =A0fi >> >> Is it possible to use diff-mode for the same sort of comparison? > > I never use diff-mode so I know little about that, but I wonder why > you do not use emacsclient in the above script. Would not that be very > much faster? You're right, of course. I'm just trying to keep things 'simple' for now. Once I get it working, I'll try to make it faster.