unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Romain Francoise <romain@orebokech.com>
Subject: Re: diffs between a buffer and the underlying file
Date: Wed, 06 Sep 2006 11:18:13 +0200	[thread overview]
Message-ID: <87zmddl5ey.fsf@pacem.orebokech.com> (raw)
In-Reply-To: uk64hluf1.fsf@pobox.com

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 <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

  reply	other threads:[~2006-09-06  9:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05 16:39 diffs between a buffer and the underlying file Urs Thuermann
2006-09-05 18:10 ` Eric Hanchrow
2006-09-06  0:18 ` John Paul Wallington
2006-09-06  9:18   ` Romain Francoise [this message]
2006-09-06  1:39 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2006-09-14  6:19 Urs Thuermann
2006-09-14  6:55 ` Michaël Cadilhac
2006-09-17  8:07   ` Urs Thuermann
2006-09-17  8:20     ` Michaël Cadilhac
     [not found]     ` <mailman.7052.1158517019.9609.help-gnu-emacs@gnu.org>
2006-09-18 17:30       ` Urs Thuermann
2006-09-20 19:11         ` John Sullivan
     [not found]         ` <mailman.7207.1158782592.9609.help-gnu-emacs@gnu.org>
2006-09-21  4:14           ` Tim X
2006-10-14 19:56             ` David Combs
2006-09-21  7:43         ` Romain Francoise
2006-09-14  7:13 ` David Hansen
2006-09-14  8:57 ` Darren

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=87zmddl5ey.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    /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).