unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Is this possible in swbuff?
Date: Fri, 22 Apr 2005 12:07:40 -0700	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBEEJHCKAA.drew.adams@oracle.com> (raw)
In-Reply-To: <d4bcu9$ffs$1@news.net.uni-c.dk>

    I have finally made swbuff.el work.
    As it work now I shift buffers each time I press tab while
    holding down C.

    But is there some option I can enable so it only cycles through
    the buffers
    when I press C-tab and first when I release tab it changes the buffer?

I have trouble following just what you mean. Swbuff is _designed_ to change
buffers in that way. If that's not what you want, then don't use swbuff.

If you want to instead cycle through buffer names and pick one (RET) to
switch to, try this 1-2-3 combination (see
http://www.emacswiki.org/cgi-bin/wiki/SwitchingBuffers):

 1. Use plain old `switch-to-buffer' with #2 and #3.

 2. Enable cycling of default input values (e.g. buffer names) in the
minibuffer, with this: http://www.emacswiki.org/elisp/elect-mbuf.el.

 3. Enable incremental minibuffer completion, with this:
http://www.emacswiki.org/elisp/icomplete-plus.el. See also
http://www.emacswiki.org/cgi-bin/wiki/IcompleteMode for an explanation.

With that combination, you should get what I think you're asking for. The
advantages of this over swbuff are that you are not limited to buffer
cycling; you can use completion and even open a new, non-existant buffer.

That said, swbuff.el is a great way to go. Another, similar, alternative is
command `doremi-buffers' in library
http://www.emacswiki.org/elisp/doremi-cmd.el. See
http://www.emacswiki.org/cgi-bin/wiki/DoReMi for an explanation.

Finally, there are a _zillion_ different ways to cycle among buffers. As I
mentioned previously, your _first_ stop should be the discussion at
http://www.emacswiki.org/cgi-bin/wiki/CategoryBufferSwitching - in
particular http://www.emacswiki.org/cgi-bin/wiki/SwitchingBuffers.

More generally, Emacs Wiki is your friend. Many of the questions you have
asked here are discussed and answered there.

HTH,

  Drew

      reply	other threads:[~2005-04-22 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 17:42 Is this possible in swbuff? JS
2005-04-22 19:07 ` Drew Adams [this message]

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=MEEKKIABFKKDFJMPIOEBEEJHCKAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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).