unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cycle through buffers of the same mode?..
Date: Wed, 5 Jan 2011 22:56:28 -0800 (PST)	[thread overview]
Message-ID: <021ff127-92f9-4a23-be20-331c23e42975@j32g2000prh.googlegroups.com> (raw)
In-Reply-To: mailman.29.1294268309.13904.help-gnu-emacs@gnu.org

On Jan 6, 3:58 am, Leo Alekseyev <dnqu...@gmail.com> wrote:
> 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

You may want to look at http://www.emacswiki.org/emacs/CategoryBufferSwitching


       reply	other threads:[~2011-01-06  6:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.29.1294268309.13904.help-gnu-emacs@gnu.org>
2011-01-06  6:56 ` rusi [this message]
2011-01-06 10:58   ` Cycle through buffers of the same mode? Le Wang
2011-01-05 22:58 Leo Alekseyev
2011-01-06 22:13 ` Drew Adams

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=021ff127-92f9-4a23-be20-331c23e42975@j32g2000prh.googlegroups.com \
    --to=rustompmody@gmail.com \
    --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).