all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Unknown <unknown@unknown.invalid>
Subject: Re: How can I find changes before saving a file?
Date: Wed, 12 Feb 2003 12:45:07 GMT	[thread overview]
Message-ID: <nlr2a.653797$F2h1.120814@news01.bloor.is.net.cable.rogers.com> (raw)
In-Reply-To: 68d3c32.0302120406.7b747908@posting.google.com

PL wrote:

> If I have edited a file and want to see what changes I have made, how
> can I do that? I can of course use "Ctrl-x u" to undo the changes
> one-by-one, but that's not really what I want to do. Then I would have
> to re-do the un-doings to get the file back...
> 
> Another way is to copy the file on disk, save the file, and compare
> with the copy. But that means I have to save the file. I want to be
> able to find the edits *before* I save.
> 
> Any ideas, anyone?

Look into highlight-changes-mode.  I don't see a reason why this can't be done 
using the undo information, though.  That sounds smarter and more efficient 
to me.

--
Le

  reply	other threads:[~2003-02-12 12:45 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 [this message]
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

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

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

  git send-email \
    --in-reply-to='nlr2a.653797$F2h1.120814@news01.bloor.is.net.cable.rogers.com' \
    --to=unknown@unknown.invalid \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.