unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Heime <heimeborgia@protonmail.com>,
	"'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'"
	<help-gnu-emacs@gnu.org>
Subject: RE: [External] : Getting the currently visible buffers
Date: Sat, 3 Dec 2022 17:33:52 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488F819D7B2FD4249E204F6F3169@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <p5n4fdoU8IYD4rwy7sSMtmfViKEjnGEV49Vv58DB6T4kvv8-Qv6iejQ_knyDv7UZNxjNaAccFXnacU1S3fxgJtFI3od0f7ls9fMzWj0RCeM=@protonmail.com>

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

> How can I get the currently visible buffers?

(cl-delete-if (lambda (buf)
                (not (get-buffer-window buf 'visible)))
		    (buffer-list))


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 12919 bytes --]

  parent reply	other threads:[~2022-12-03 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 14:33 Getting the currently visible buffers Heime
2022-12-02 20:05 ` Emanuel Berg
2022-12-03 17:33 ` Drew Adams [this message]
2022-12-03 20:29   ` [External] : " Heime

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=SJ0PR10MB5488F819D7B2FD4249E204F6F3169@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=heimeborgia@protonmail.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).