[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#11067: closed (diff-no-select assumes diff-command

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11067: closed (diff-no-select assumes diff-command understands -L option)
Date: Mon, 11 Feb 2013 08:30:03 +0000

Your message dated Mon, 11 Feb 2013 03:29:10 -0500
with message-id <address@hidden>
and subject line Re: bug#11067:; diff-buffer-with-file
has caused the debbugs.gnu.org bug report #11067,
regarding diff-no-select assumes diff-command understands -L option
to be marked as done.

(If you believe you have received this mail in error, please contact

11067: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11067
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject:; diff-buffer-with-file Date: Thu, 22 Mar 2012 14:54:16 +0000 (UTC) User-agent: Alpine 2.02 (LFD 1266 2009-07-14)
I'm running Emacs alpha,


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
3. Open a file, say c:/gnu/emacs/BUGS, make some changes without saving
4. M-x diff-buffer-with-file

Emacs 23.4.1 performs this task very nicely, but Emacs alpha provides the external program with args that cannot be compared:


Examining the Emacs *Diff* buffer provides some insights. In Emacs 23.4.1 it contains

  winmerge "c:/gnu/emacs/BUGS" "c:/Temp/buffer-content-3436L7C"

which looks sensible, but in Emacs alpha it the *Diff* buffer contains

winmerge "-L" "c:/gnu/emacs/BUGS" "-L" "#<buffer BUGS>" "c:/gnu/emacs/BUGS" "c:/Temp/buffer-content-2640boz"

which looks like 6 args instead of 2, including some "-L" options (even after specifically disabling all diff switches) and "#<buffer BUGS>" (probably of no use to an external program).

To me, it looks like version of `diff-buffer-with-file' in diff.el should try harder to mimic the behavior of version 23.4.1 in files.el.

Many thanks,


--- End Message ---
--- Begin Message --- Subject: Re: bug#11067:; diff-buffer-with-file Date: Mon, 11 Feb 2013 03:29:10 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.4


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]