From: "Drew Adams" <drew.adams@oracle.com>
To: "'Michal'" <rabbit50@tenbit.pl>,
"'emacs mailing list'" <help-gnu-emacs@gnu.org>
Subject: RE: how to get list of visible buffers of current frame
Date: Thu, 13 Nov 2008 11:40:24 -0800 [thread overview]
Message-ID: <000d01c945c7$ac735da0$c2b22382@us.oracle.com> (raw)
In-Reply-To: <m2prkzimq4.fsf@tenbit.pl>
> have You got idea on how to do this?
The fish: `C-h f get-buffer-window'
How to fish:
The Elisp manual is your friend (again).
`i' in the manual searches the index, with completion.
If you use Icicles, then completion works for any number of substrings (or
regexps) combined in any order. Example: `i window S-SPC buffer' shows the index
entries that contain both `window' and `buffer':
active-minibuffer-window
buffers, controlled in windows
fit-window-to-buffer
get-buffer-window
get-buffer-window-list
minibuffer window, and next-window
minibuffer windows
minibuffer-scroll-window
minibuffer-selected-window
minibuffer-window
minibuffer-window-active-p
other-window-scroll-buffer
replace-buffer-in-windows
same-window-buffer-names
set-minibuffer-window
set-window-buffer
shrink-window-if-larger-than-buffer
switch-to-buffer-other-window
window-buffer
window-minibuffer-p
If you want to narrow things further, typing `minibuffer ~' then removes the
entries that contain `minibuffer'. Among the remaining entries, any of the
following get you to the node `Buffers and Windows', which describes what you
want:
buffers, controlled in windows
get-buffer-window
get-buffer-window-list
set-window-buffer
window-buffer
That's if you start with the keywords `window' and `buffer'. Suppose you start
instead with `display' and `buffer'. Then you see these matching index entries:
buffer-display-count
buffer-display-table
buffer-display-time
display-buffer
display-buffer-function
display-buffer-reuse-frames
display-message-or-buffer
displaying a buffer
edebug-save-displayed-buffer-points
special-display-buffer-names
Of those, the following entries get you to the same node `Buffers and Windows':
buffer-display-count
buffer-display-time
In Icicles, you can just use `C-next'... to visit the matching entries in order,
or `next'... and then `C-RET' to visit only specific entries - all in the same
invocation of `i'.
Nothing is as helpful as Emacs onboard help. You owe it to yourself to learn to
use it.
And Icicles can help Emacs help you:
http://www.emacswiki.org/emacs/Icicles_-_Nutshell_View
http://www.emacswiki.org/emacs/Icicles_-_Info_Enhancements
next prev parent reply other threads:[~2008-11-13 19:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 17:01 how to get list of visible buffers of current frame Michal
2008-11-13 19:40 ` Drew Adams [this message]
2008-11-13 19:53 ` Drew Adams
2008-11-13 19:40 ` tyler
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='000d01c945c7$ac735da0$c2b22382@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rabbit50@tenbit.pl \
/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.