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

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

Re: How can I find changes before saving a file?


From: PL
Subject: Re: How can I find changes before saving a file?
Date: 19 Feb 2003 09:47:43 -0800

Thanks, that's pretty much what I was looking for! 

I seem to have too old emacs version (20.4.*) so M-x compare-windows
does not work (at least it doesn't for me). One should have 20.6 and
later according to other postings.

But "Tools->Compare->Two Buffers" does the job just fine!

Rgds
Peter

"Ehud Karni" <ehud@unix.mvs.co.il> wrote in message 
news:<mailman.1868.1045061850.21513.help-gnu-emacs@gnu.org>...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I think renaming the buffer wouldn't do, Emacs still remembers the DISK
> file name (even after renaming), visiting the file again will go back
> to the same buffer.
> 
> You could do M-x shell-command cat <file-name> and compare the
> current buffer with "*Shell Command Output*".
> 
> Ehud.
>


reply via email to

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