emacs-devel
[Top][All Lists]
Advanced

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

Re: Coding system used by call-process-region?


From: Lennart Borgman (gmail)
Subject: Re: Coding system used by call-process-region?
Date: Wed, 07 Mar 2007 14:05:09 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Eli Zaretskii wrote:
Date: Tue, 06 Mar 2007 23:59:56 +0100
From: "Lennart Borgman (gmail)" <address@hidden>
Cc: Emacs Devel <address@hidden>

Has anyone got ediff patch functions working on w32 using gnuwin32 patch?

Please send a complete self-contained example, together with the file
to patch and the patch itself, and please explain what doesn't work as
expected for you.


Here it is:

You need the gnuwin32 patch.exe in your path. Then do

  emacs -Q

Open the file the-patch.diff. Create a new buffer with C-x b. Insert the file file-to-patch.txt in this.

Then from the menus select Tools - Apply patch - To a Buffer ...

Choose the patch and buffer to patch from above. After this Emacs freezes, at least for me (CVS from 070306).


This is the buffer to patch on the next line:
Change this line.
End of buffer to patch.
--- file-to-patch.txt   2007-03-07 13:52:57.062500000 +0100
+++ patched-file.txt    2007-03-07 13:53:24.046875000 +0100
@@ -1,3 +1,3 @@
 This is the buffer to patch on the next line:
-Change this line.
+Now this line is patched.
 End of buffer to patch.

reply via email to

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