unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
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 20:00:34 +0300	[thread overview]
Message-ID: <86seyuswnh.fsf@mail.linkov.net> (raw)
In-Reply-To: <868r0na0sa.fsf@mail.linkov.net> (Juri Linkov's message of "Mon,  06 May 2024 09:46:57 +0300")

forcemerge 70773 70795
close 70795 30.0.50
thanks

>> (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.

So now pushed the extra guards for windows.





      reply	other threads:[~2024-05-06 17:00 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
2024-05-06 17:00   ` Juri Linkov [this message]

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=86seyuswnh.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).