From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to toggle to buffer previously selected ?
Date: Thu, 07 Feb 2008 11:53:48 +0100 [thread overview]
Message-ID: <873as5ujer.fsf@member.fsf.org> (raw)
In-Reply-To: 38b2ab8a0802070245i5f7246fdq7389dcd857ffe175@mail.gmail.com
"Francis Moreau" <francis.moro@gmail.com> writes:
Hi Francis,
> I know 'C-x o' to select the next selected buffer but I'd like to
> toggle between 2 buffers even if more than 2 buffers are displayed.
I use this:
(defun th-other-buffer ()
(interactive)
(switch-to-buffer (other-buffer)))
(global-set-key (kbd "C-?") 'th-other-buffer)
Bye,
Tassilo
next prev parent reply other threads:[~2008-02-07 10:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 10:45 How to toggle to buffer previously selected ? Francis Moreau
2008-02-07 10:52 ` Bastien Guerry
2008-02-07 10:53 ` Tassilo Horn [this message]
2008-02-07 15:46 ` Francis Moreau
2008-02-07 15:58 ` Lennart Borgman (gmail)
2008-02-07 16:18 ` Thierry Volpiatto
2008-02-07 18:57 ` Tassilo Horn
2008-02-08 11:11 ` Francis Moreau
[not found] ` <mailman.7148.1202469108.18990.help-gnu-emacs@gnu.org>
2008-02-08 14:27 ` Joel J. Adamson
2008-02-08 19:08 ` Martin Marcher
[not found] <mailman.7093.1202381161.18990.help-gnu-emacs@gnu.org>
2008-02-15 13:32 ` Sam Peterson
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=873as5ujer.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/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).