all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cycle through buffers of the same mode?..
@ 2011-01-05 22:58 Leo Alekseyev
  2011-01-06 22:13 ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Alekseyev @ 2011-01-05 22:58 UTC (permalink / raw)
  To: help-gnu-emacs

I've started using the following bit of elisp recently, and I like it:
http://www.emacswiki.org/emacs/ShellMode#toc3

When I have several shell buffers open, this allows me to cycle
through those buffers with a keybinding (e.g. f7).  I'd like to
generalize this behavior as follows: if I am in a buffer with major
mode X, pressing a key will cycle me through all open buffers in major
mode X.  That way I could easily cycle through all my open org
buffers, dired buffers, etc.  Before I go off writing more elisp,
however, I wanted to check whether someone might have written
something like this already :)  So if you have any helpful code
snippets, feel free to post them here.

--Leo



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-06 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.29.1294268309.13904.help-gnu-emacs@gnu.org>
2011-01-06  6:56 ` Cycle through buffers of the same mode? rusi
2011-01-06 10:58   ` Le Wang
2011-01-05 22:58 Leo Alekseyev
2011-01-06 22:13 ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.