unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: 70773@debbugs.gnu.org
Subject: bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist
Date: Sat, 04 May 2024 21:30:25 +0300	[thread overview]
Message-ID: <87plu1ig5a.fsf@protesilaos.com> (raw)

Dear maintainers,

The display-delayed-warnings does not conform with display-buffer-no-window.

To test this, I create a new directory and write an init.el with the
following contents:

    (setq display-buffer-alist
          '(("\\`\\*\\(Warnings\\|Compile-Log\\|Org Links\\)\\*\\'"
             (display-buffer-no-window)
             (allow-no-window . t))))

Then I start Emacs with:

     emacs --init-directory=/path/to/testing/dir/

This produces the following:

    display-delayed-warnings: Wrong type argument: window-live-p, nil
    Error in delayed-warnings-hook (display-delayed-warnings): (wrong-type-argument window-live-p nil)

What I ultimately want is to not see those warnings at startup. I know I
can do it by setting the delayed-warnings-hook to nil, though there may
be a better option I have not discovered yet...

Thank you for your time,
Protesilaos (or simply "Prot")

* * *

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2024-05-04 built on kronos
Repository revision: fa0f65aa342e181e0e98f55cbf5d9a9be5ed3be6
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --prefix=/usr/local --with-x-toolkit=gtk3
 --with-native-compilation=aot --without-gif --without-tiff
 --without-selinux --without-xinput2 --without-gpm
 --without-compress-install --without-xft --with-cairo --with-harfbuzz
 --with-tree-sitter=ifavailable --without-gsettings --without-gconf'

Configured features:
ACL CAIRO DBUS FREETYPE GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF
LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PNG RSVG SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM
GTK3 ZLIB

-- 
Protesilaos Stavrou
https://protesilaos.com





             reply	other threads:[~2024-05-04 18:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-04 18:30 Protesilaos Stavrou [this message]
2024-05-04 19:16 ` bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist Eli Zaretskii
2024-05-05 10:48   ` Protesilaos Stavrou
2024-05-05 16:35     ` Juri Linkov
2024-05-05  6:58 ` 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=87plu1ig5a.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=70773@debbugs.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 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).