From: John Paul Wallington <jpw@gnu.org>
Subject: Re: How can I find changes before saving a file?
Date: Wed, 12 Feb 2003 15:35:19 +0000 [thread overview]
Message-ID: <87y94ltsug.fsf@china.shootybangbang.com> (raw)
In-Reply-To: mailman.1868.1045061850.21513.help-gnu-emacs@gnu.org
Ehud Karni wrote:
> > > > If I have edited a file and want to see what changes I have
> > > > made, how can I do that?
> > >
> > > You could compare the file with its backup. But that only works
> > > after saving, of course.
> >
> > You could temporarily rename the modified buffer, load the file
> > once more into emacs and start an ediff session.
[...]
> You could do M-x shell-command cat <file-name> and compare the
> current buffer with "*Shell Command Output*".
You could use the command `diff-buffer-with-file' from Emacs CVS HEAD.
There is `ibuffer-diff-with-file' in the Ibuffer package too.
next prev parent reply other threads:[~2003-02-12 15:35 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 [this message]
2003-02-19 17:47 ` PL
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=87y94ltsug.fsf@china.shootybangbang.com \
--to=jpw@gnu.org \
/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).