From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Newsgroups: gmane.emacs.help Subject: Re: diffs between a buffer and the underlying file Date: Thu, 14 Sep 2006 16:57:45 +0800 Organization: Bentium Ltd. (CN99) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158226832 10057 80.91.229.2 (14 Sep 2006 09:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2006 09:40:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 14 11:40:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNnhn-0004lt-N3 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Sep 2006 11:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNnhn-0005JP-9x for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Sep 2006 05:40:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 61.50.219.26 Original-X-Trace: news.yaako.com 1158224345 15653 61.50.219.26 (14 Sep 2006 08:59:05 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Thu, 14 Sep 2006 08:59:05 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:6BaoXa9BNJ/agINx/8Bd1O2c9FE= Original-Xref: shelby.stanford.edu gnu.emacs.help:141741 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37363 Archived-At: On 09/14/2006 at 14:19, Urs Thuermann wrote: > I sometimes get into the following situation: I open a file, make > some changes, then I want to see the changes before saving the file. > The best way to do this seems to be to set the region to the whole > buffer, write the region to some temporary file, and run diff on the > two files. But I find this very unconvenient. How about `dired-backup-diff'? -- (reply-to (concat "snlee99" "@" "tom" "." "com"))