From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arni Magnusson Newsgroups: gmane.emacs.bugs Subject: bug#11067: 24.0.94.1; diff-buffer-with-file Date: Sat, 24 Mar 2012 02:28:32 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: dough.gmane.org 1332556218 29988 80.91.229.3 (24 Mar 2012 02:30:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 02:30:18 +0000 (UTC) Cc: 11067@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 24 03:30:16 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SBGkB-00047d-3P for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 03:30:15 +0100 Original-Received: from localhost ([::1]:34714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBGkA-0003DQ-0v for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Mar 2012 22:30:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBGk5-0003Ct-Ux for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 22:30:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBGk3-00038M-Hu for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 22:30:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBGk3-00037j-EX for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 22:30:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SBHDx-0007Yb-QD for bug-gnu-emacs@gnu.org; Fri, 23 Mar 2012 23:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arni Magnusson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Mar 2012 03:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11067-submit@debbugs.gnu.org id=B11067.133255800628973 (code B ref 11067); Sat, 24 Mar 2012 03:01:01 +0000 Original-Received: (at 11067) by debbugs.gnu.org; 24 Mar 2012 03:00:06 +0000 Original-Received: from localhost ([127.0.0.1]:36136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBHD3-0007XG-Qa for submit@debbugs.gnu.org; Fri, 23 Mar 2012 23:00:06 -0400 Original-Received: from hafgarpur.hafro.is ([130.208.64.48]:35343) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBHCV-0007VU-RI for 11067@debbugs.gnu.org; Fri, 23 Mar 2012 23:00:04 -0400 X-Virus-Scanned: amavisd-new at hafro.is Original-Received: from hafstokkur.hafro.is (hafstokkur [130.208.66.45]) by hafgarpur.hafro.is (8.14.2/8.14.2/hafro-2.46) with ESMTP id q2O2SXcD008712; Sat, 24 Mar 2012 02:28:33 GMT Original-Received: from hafstokkur.hafro.is (localhost [127.0.0.1]) by hafstokkur.hafro.is (8.14.5/8.14.5/hafro-1.6) with ESMTP id q2O2SX2D062161; Sat, 24 Mar 2012 02:28:33 GMT Original-Received: from localhost (arnima@localhost) by hafstokkur.hafro.is (8.14.5/8.14.5/hafro-0.3) with ESMTP id q2O2SWUj062157; Sat, 24 Mar 2012 02:28:32 GMT X-Authentication-Warning: hafstokkur.hafro.is: arnima owned process doing -bs In-Reply-To: User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58061 Archived-At: Hi Stefan, thanks for the response. Being able to set `diff-command' to any external program is a great feature in Emacs, in my experience. I have been using it for many Emacs versions, and I would miss this capability if it would be removed from Emacs 24. In Windows I set `diff-command' to "winmerge" and in Linux I set it to "kompare". Next week I might set it to whatever I find the most efficient diff program for me. This lets me view the differences in a feature-rich external diff program. I can visualize the differences between my modified buffer and saved state much more efficiently than with diff. Sure, diff is okay for visualizing the changes, ediff would be better, but really the external diff programs are much more efficient for me. My `ediff-mode-hook' is extensive, but I still find the external programs more efficient. I understand that pure diff is, well, pure. But I remember how impressed and thankful I was when I disovered the flexibility of `diff-command', and I'm guessing many other Emacs users have found it practical to set it to something other than "diff". Comparing changes is an important task when editing, and it's great that Emacs can delegate this task to specialized programs, although the default is to handle things within Emacs. Best regards, Arni On Fri, 23 Mar 2012, Stefan Monnier wrote: >> http://alpha.gnu.org/gnu/emacs/windows/emacs-20120319-r107630-bin-i386.zip >> and `diff-buffer-with-file' is not working like it did in Emacs 23.4.1 >> 1. Start emacs -Q >> 2. Set `diff-command' to "winmerge" and `diff-switches' to nil > > It seems that's your problem: winmerge is not a replacement for `diff' > because it does not accept the "-L