bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4451: 23.1; EOL problems with vc-diff and cygwin


From: Eli Zaretskii
Subject: bug#4451: 23.1; EOL problems with vc-diff and cygwin
Date: Thu, 17 Sep 2009 20:18:47 +0300

> Date: Thu, 17 Sep 2009 16:26:12 +0200
> From: Reiner Steib <reiner.steib@gmx.de>
> Cc: 4451@emacsbugs.donarmstrong.com
> 
> > If you diff the same two files from the shell prompt using the same
> > diff.exe, what kind of EOLs do you get in the output?  Is the result
> > similar to what you see in vc-diff?
> 
> I don't diff two files, but I use CVS on a single file.  So I guess  
> you mean the "cvs diff" output.  The output of "cvs diff" in cygwin's  
> bash has DOS line endings, no duplicate "^M", see below.

So does it help to add --binary to the diff switches?  (Sorry, I have
no idea how to do that with vc-diff, I just hope there is a way.)

> The saved Emacs buffer from vc-diff (vc-diff-2.output) has "^M^M$"  
> whereas the buffer from cvs-mode-diff (cvs-mode-diff.output) has  
> "^M$".

What is the value of buffer-file-coding-system in both of these
buffers?





reply via email to

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