From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.help Subject: Re: diffs between a buffer and the underlying file Date: Wed, 06 Sep 2006 11:18:13 +0200 Organization: orebokech dot com Message-ID: <87zmddl5ey.fsf@pacem.orebokech.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157535734 18840 80.91.229.2 (6 Sep 2006 09:42:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2006 09:42:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 06 11:42:12 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 1GKtuz-0001fG-2I for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Sep 2006 11:42:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKtuy-0004Yj-D0 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Sep 2006 05:42:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!cleanfeed1-b.proxad.net!nnrp4-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM 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:37189 Archived-At: jpw@pobox.com (John Paul Wallington) writes: > Also, the Ibuffer library, an advanced replacement for the normal > buffer menu, has an `ibuffer-diff-with-file' command that you can get > by pressing =. Of course using Ibuffer to operate on the current buffer can be tiring if you do it often, because you have to locate the buffer in the list. I use the following to make point jump to the last buffer when entering Ibuffer, I find it very convenient (e.g. C-x C-b = always works): (add-hook 'ibuffer-hook (lambda () (ibuffer-jump-to-buffer (buffer-name (other-buffer (current-buffer) t))))) -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter