From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: deleteallspam@yahoo.com (PL) Newsgroups: gmane.emacs.help Subject: How can I find changes before saving a file? Date: 12 Feb 2003 04:06:46 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <68d3c32.0302120406.7b747908@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1045051797 517 80.91.224.249 (12 Feb 2003 12:09:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 12:09:57 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ivi7-00008C-00 for ; Wed, 12 Feb 2003 13:09:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ivih-0002op-04 for gnu-help-gnu-emacs@m.gmane.org; Wed, 12 Feb 2003 07:10:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 62.95.15.50 Original-X-Trace: posting.google.com 1045051606 1115 127.0.0.1 (12 Feb 2003 12:06:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 12 Feb 2003 12:06:46 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:110078 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6582 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6582 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? Rgds Peter