all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Cycle through buffers of the same mode?..
Date: Thu, 6 Jan 2011 18:58:39 +0800	[thread overview]
Message-ID: <AANLkTikwgLuM1cAA3B6POYA_z6dYMOdPrCYKknovKz5U@mail.gmail.com> (raw)
In-Reply-To: <021ff127-92f9-4a23-be20-331c23e42975@j32g2000prh.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 1348 bytes --]

Buffer-stack does buffer-stacking where the most recently used buffer
bubbles to the top of the stack (think Alt-Tab on Windows).  It's quite
flexible and offers hooks for however you want to filter buffers.  I've
written a same major-mode filter -- buffer-stack-suppl.el

All the files and information you'll need are here:

http://www.emacswiki.org/emacs/ControlTABbufferCycling

On Thu, Jan 6, 2011 at 2:56 PM, rusi <rustompmody@gmail.com> wrote:

> 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
>



-- 
Le

[-- Attachment #2: Type: text/html, Size: 2082 bytes --]

  reply	other threads:[~2011-01-06 10:58 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 ` Cycle through buffers of the same mode? rusi
2011-01-06 10:58   ` Le Wang [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikwgLuM1cAA3B6POYA_z6dYMOdPrCYKknovKz5U@mail.gmail.com \
    --to=l26wang@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.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.
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.