unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: deleteallspam@yahoo.com (PL)
Subject: Re: How can I find changes before saving a file?
Date: 19 Feb 2003 09:47:43 -0800	[thread overview]
Message-ID: <68d3c32.0302190947.6d01f648@posting.google.com> (raw)
In-Reply-To: mailman.1868.1045061850.21513.help-gnu-emacs@gnu.org

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.
>

      parent reply	other threads:[~2003-02-19 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 12:06 How can I find changes before saving a file? PL
2003-02-12 12:45 ` Unknown
2003-02-12 13:19 ` Kai Großjohann
2003-02-12 14:14   ` Roland Winkler
2003-02-12 14:56     ` Ehud Karni
     [not found]     ` <mailman.1868.1045061850.21513.help-gnu-emacs@gnu.org>
2003-02-12 15:35       ` John Paul Wallington
2003-02-19 17:47       ` PL [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68d3c32.0302190947.6d01f648@posting.google.com \
    --to=deleteallspam@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).