From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: ediff customization: -w -B... + refinement Date: Wed, 04 Oct 2006 13:26:49 GMT Organization: x Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159969344 30869 80.91.229.2 (4 Oct 2006 13:42:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2006 13:42:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 04 15:42:24 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GV700-0004us-Gs for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Oct 2006 15:41:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GV6zz-00056o-Uo for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Oct 2006 09:41:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news.germany.com!feeder2.news.jippii.net!feeder1.news.jippii.net!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!news2.nokia.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:++wv0iD1cB7MAPynhylVrE/5sUA= Original-Lines: 37 Original-NNTP-Posting-Host: 10.211.12.96 Original-X-Complaints-To: newsmaster@nokia.com Original-X-Trace: news2.nokia.com 1159968409 10.211.12.96 (Wed, 04 Oct 2006 16:26:49 EET DST) Original-NNTP-Posting-Date: Wed, 04 Oct 2006 16:26:49 EET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:142180 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37799 Archived-At: Hi, I see different results in Emacs ediff and out-of-emacs command line diff. I try to get rid of white space and new line diffs, so I tried diff -a -w -B --binary ... It produces the desired output in command line, but whitespace- and newline-differences are showed (and treated) in Emacs. Why? I set ediff-diff-options to "-a -w -B --binary", but it seems to be ignored? Why? How to get rid of such whitespace diffs? I tried ##, but nothing changed. How can check what command was exactly sent by Emacs (to Windows/diff)? (If I check *ediff-diff*'s content, it is "wrong", i.e. shows result without -w -B...) And what diff is used? (I have an old diff also in my path, but I put the directory of the new diff before that old one's directory in the path variable.) My other question: what to do if I want refinement to show differences by chars and not by words? These makes ediff unusable for me now, because emacs shows totally wrong lines compared. E.g. if an empty line is deleted and following lines are reindented then I see (in ediff's windows) as if the (original) empty line would have been replaced with several new lines (what are in fact only reindented) and then the original lines are compared with other lines... :-( I think this is diff's feature, but can be handled in command line with switches -w -B -- but not in Emacs? What am I doing wrong? I try to use ediff (on MS Windows XP, EmacsW32 patched, v2006 May 01). I installed latest GnuWin32's diff (2.8.7), it is in my path. Thanks in advance, P