From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about display-buffer-overriding-action
Date: Thu, 17 Mar 2022 23:14:38 +0100 [thread overview]
Message-ID: <87r170mdkh.fsf@web.de> (raw)
In-Reply-To: CADs++6j6pYBcgs6hPOBhxCgHowNQ61dYHSSkVGfk-MxqT9FwSg@mail.gmail.com
Eduardo Ochs <eduardoochs@gmail.com> writes:
> This is not a universal solution. It doesn't work for man,
Maybe it works for women?
> Try:
>
> (let ((display-buffer-alist '((".*" display-buffer-same-window))))
> (man "cat"))
> [...]
Note that `man' is a special (and rare) case: Emacs `man' works
asynchronously; when the buffer has been rendered and the result gets
displayed, your `let' is long gone.
See `Man-notify-when-ready' and `Man-notify-method' for how the buffer
gets displayed.
You probably need an appropriate man buffer specific entry in the
top-level binding of `display-buffer-alist' to get what you want.
Michael
next prev parent reply other threads:[~2022-03-17 22:14 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
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 [this message]
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=87r170mdkh.fsf@web.de \
--to=michael_heerdegen@web.de \
--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.
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.