From: Juri Linkov <juri@linkov.net>
To: Gerard Vermeulen <gerard.vermeulen@posteo.net>
Cc: 70795@debbugs.gnu.org
Subject: bug#70795: 30.0.50; inconsistent warning-display-at-bottom display-buffer-alist behavior
Date: Mon, 06 May 2024 09:46:57 +0300 [thread overview]
Message-ID: <868r0na0sa.fsf@mail.linkov.net> (raw)
In-Reply-To: <0dec4b001f2bc7521541e4262a623c41@posteo.net> (Gerard Vermeulen's message of "Mon, 06 May 2024 06:06:03 +0000")
> (add-to-list 'display-buffer-alist
> `(,(rx (or "*Warnings*" "*compilation*"))
> display-buffer-no-window
> (allow-no-window . t)))
>
> then warnings are added to the hidden *Warnings* buffer.
This is because this case doesn't set 'warning-series',
so when window is nil, it doesn't fail at anoter place
while calling 'set-window-start':
(when (and (markerp warning-series)
(eq (marker-buffer warning-series) buffer))
(set-window-start window warning-series))
Ok, I will add only checks for nil window.
But won't add (allow-no-window . t) to the caller of
'display-buffer' in 'display-warning' to not encourage
hiding the warning buffer.
next prev parent reply other threads:[~2024-05-06 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 6:06 bug#70795: 30.0.50; inconsistent warning-display-at-bottom display-buffer-alist behavior Gerard Vermeulen
2024-05-06 6:46 ` Juri Linkov [this message]
2024-05-06 17:00 ` Juri Linkov
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=868r0na0sa.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=70795@debbugs.gnu.org \
--cc=gerard.vermeulen@posteo.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).