[comp.emacs] How to apply diffs with GNUEmacs ??

michael@boulder.Colorado.EDU (Michael Schmidt) (02/28/88)

I  got      GNUEmacs   18.48,  I     got     diff-18.48-18.49 and
diff-18.49-18.50. But,  how  can I apply one   diff   file to the
source?

My 'patch' seems not to be  able to find the  right file, if I am
using it in the root or one above, and it mixes things up, when I
apply the diff in e.g. 'etc'. So, what to do?

      Michael

michael@boulder.Colorado.EDU (Michael Schmidt) (02/29/88)

Neulich schrieb michael@boulder.Colorado.EDU (Michael Schmidt):
  I  got      GNUEmacs   18.48,  I     got     diff-18.48-18.49 and
  diff-18.49-18.50. But,  how  can I apply one   diff   file to the
  source?


I got the solution (thanks to Joe Weening <weening@Gang-of-Four.Stanfor.EDU>): 

Go in the directory with "dist-18.48" and say "patch -p < diff-18.48-18.49".
-----------------------------------------------------^^ That's it

"patch" is a real great piece of software, perhaps real
artificial intelligence. Thanks, Larry.

	   Michael