unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Buffer Navigation
Date: Tue, 18 Oct 2005 20:35:13 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICGEJJCNAA.drew.adams@oracle.com> (raw)
In-Reply-To: <1129689531.476957.99230@f14g2000cwb.googlegroups.com>

    thanks Drew... I skimmed the documentation which seems to focus on the
    completion power of icicle more than the buffer management.

That's because buffer management is but a tiny consequence of Icicles
general behavior. Icicles does the same thing for any object (file, command,
variable...) as it does for buffers.

    how would i use your library as a drop in replacement
    for my C-x left/right bindings?

Better to continue off-list if you have more questions, as the details are
probably not interesting to others.  Anyway, this should get you started:

Just use your standard buffer-switching command - for example,
`switch-to-buffer' (on `C-x b'). Then use the up/down arrows (or
`C-p'/`C-n') to cycle among buffer-names and choose one (RET). This doesn't
let you use `C-x left' and `C-x right' - you use up/down instead (fewer
keystrokes).

Even better: use command `icicle-buffer'.  Make these bindings, for example.

   (define-key ctl-x-map   "b" 'icicle-buffer) ; `C-x b'
   (define-key ctl-x-4-map "b" 'icicle-buffer-other-window) ; `C-x 4 b'

Now do as in #1, or you can use `C-up'/`C-down' to cycle among buffers,
switching to them at the same time (no need to hit `RET'). With `C-x b' the
switched-to buffer replaces the current buffer in its window. With `C-x 4 b'
the switched-to buffer is opened in another window.

    also, i'm not so keen on the C-h remapping... i unset that standard
    "helpful" binding as delete sends C-h in a compliant xterm.

`C-h' is only rebound for the minibuffer - Icicles changes no global
bindings. From what you said, you've apparently already figured out how to
unset the `C-h' bindings (and bind `icicle-help-on-candidate' to another
minibuffer key sequence).

  reply	other threads:[~2005-10-19  3:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19  2:18 Buffer Navigation Shug Boabby
2005-10-19  2:28 ` Drew Adams
     [not found] ` <mailman.11819.1129688923.20277.help-gnu-emacs@gnu.org>
2005-10-19  2:38   ` Shug Boabby
2005-10-19  3:35     ` Drew Adams [this message]
2005-10-19  3:01   ` Shug Boabby
2005-10-19  3:35     ` Drew Adams
2005-10-19 22:54     ` Thien-Thi Nguyen
2005-10-20 22:43       ` Shug Boabby
2005-10-21 17:01         ` Kevin Rodgers
     [not found]         ` <mailman.12151.1129914597.20277.help-gnu-emacs@gnu.org>
2005-10-23 19:54           ` Shug Boabby

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=DNEMKBNJBGPAOPIJOOICGEJJCNAA.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).