From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: ediff maximum line length? Date: Fri, 11 Feb 2011 10:06:49 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297415244 10923 80.91.229.12 (11 Feb 2011 09:07:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 09:07:24 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 10:07:19 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 1PnoyF-0007iM-Or for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 10:07:19 +0100 Original-Received: from localhost ([127.0.0.1]:46043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnoyF-00049F-4O for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 04:07:19 -0500 Original-Received: from [140.186.70.92] (port=53318 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnoy8-000499-4D for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:07:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnoy6-0006VP-OS for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:07:11 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:40765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnoy6-0006VK-DC for emacs-devel@gnu.org; Fri, 11 Feb 2011 04:07:10 -0500 Original-Received: by eyh6 with SMTP id 6so1168072eyh.0 for ; Fri, 11 Feb 2011 01:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=SuaQiNgqOQMAEjFJ8W5Y/qbumsqgRj5ps7g7s9OHDlM=; b=IK72HwFYuZl61hIWLo7eZpOsZtfj68bnZMLcXPH7CtuzBSs5A4n0iQJkFHAHtXgwEv 0l/h7y9LA5PNJzf4A/pIzHAXFdg+V7tegbBa0mGydF55Ji7OiEIkSAaXu4IbAdyrqgNb 0Qt7znuUrxMl05hJEJ3U/FLy/O34egiQsPiZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=v2hUKsvAvAcn628MH/dIB6AuGA5qEY1HCIRNWjn+MQ3ApIEhC48cJEJkvQTNEWuJRD /fU5/Rua8B0zefjAVHYO/w+hFzB3GO75nT6Tl7IAU3HDcKPhqontvjSqzlXflT6Y+Rtc WBvmc1SJ1jn+mkq56C9jqJEYxtOe76cXX4cdw= Original-Received: by 10.213.34.9 with SMTP id j9mr215743ebd.42.1297415229584; Fri, 11 Feb 2011 01:07:09 -0800 (PST) Original-Received: by 10.213.8.146 with HTTP; Fri, 11 Feb 2011 01:06:49 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 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:135879 Archived-At: 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: > > =C2=A0 =C2=A0if test -d "$1"/. && test -d "$2"/. ; then > =C2=A0 =C2=A0 =C2=A0 =C2=A0exec emacs --eval "(ediff-directories \"$1\" \= "$2\" nil)" > =C2=A0 =C2=A0else > =C2=A0 =C2=A0 =C2=A0 =C2=A0exec emacs --eval "(ediff-files \"$1\" \"$2\")= " > =C2=A0 =C2=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?