From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about display-buffer-overriding-action
Date: Wed, 16 Mar 2022 02:53:34 +0100 [thread overview]
Message-ID: <871qz21x41.fsf@zoho.eu> (raw)
In-Reply-To: CADs++6gB58Mq0X42NOGMAg34e47702daG-u1Rkkd1RNaYb2EWg@mail.gmail.com
Eduardo Ochs wrote:
> If we have two windows open and USETHISWINDOW is nil, then -
> at least in my setting - this test
>
> ;; Test: (find-osm -22.5 -41.9 15 "Near home")
>
> opens the map in the other window.
`pop-to-buffer' docstring:
If BUFFER-OR-NAME is nil, choose some other buffer [...]
> What is the value of
> USETHISWINDOW that would mean "always open in the current
> window"?
`display-buffer-overriding-action':
The value should be a cons cell (FUNCTIONS . ALIST), where
FUNCTIONS is a function or a list of functions.
Each function should accept two arguments: a buffer to
display and an alist similar to ALIST. See `display-buffer'
for details.
I think you set the mentioned alist to the the "action
function" `display-buffer-same-window' ...
Do as they say and see `display-buffer' for details ...
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-03-16 1:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-16 1:34 Question about display-buffer-overriding-action Eduardo Ochs
2022-03-16 1:53 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2022-03-16 2:08 ` Eduardo Ochs
2022-03-16 2:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-17 20:19 ` Eduardo Ochs
2022-03-17 21:04 ` Eduardo Ochs
2022-03-17 22:14 ` Michael Heerdegen
2022-03-18 4:56 ` Eduardo Ochs
2022-03-19 1:30 ` Michael Heerdegen
2022-03-25 9:38 ` dal-blazej
2022-03-25 17:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-25 22:56 ` dal-blazej
2022-03-26 1:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-16 2:16 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-16 13:51 ` Eric S Fraga
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=871qz21x41.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/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.