Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 70773) by debbugs.gnu.org; 5 May 2024 16:44:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 12:44:55 2024 Received: from localhost ([127.0.0.1]:60618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3eyt-0001a9-Mp for submit <at> debbugs.gnu.org; Sun, 05 May 2024 12:44:55 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:40773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1s3eyq-0001Zm-E5 for 70773 <at> debbugs.gnu.org; Sun, 05 May 2024 12:44:53 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 35C0040003; Sun, 5 May 2024 16:44:22 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Protesilaos Stavrou <info@HIDDEN> Subject: Re: bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist In-Reply-To: <87r0egleki.fsf@HIDDEN> (Protesilaos Stavrou's message of "Sun, 05 May 2024 13:48:29 +0300") Organization: LINKOV.NET References: <87plu1ig5a.fsf@HIDDEN> <86y18pe6bv.fsf@HIDDEN> <87r0egleki.fsf@HIDDEN> Date: Sun, 05 May 2024 19:35:03 +0300 Message-ID: <86plu0jkvs.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70773 Cc: 70773 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> I say either set delayed-warnings-hook to nil or customize >> warning-suppress-log-types to suppress the warnings you don't want to >> see. > > Fine. > >> display-buffer-alist is not the best way of doing this, especially not >> when you want to affect what Emacs does at startup, when the various >> elements of the UI might not yet be ready for your trickery. > > I reported this bug because it is only now that I observe this > behaviour. I have had that display-buffer-alist setting for a long time > already. Then I retract the proposed patch. Instead of hiding the warning window the right way to disable lexical-binding warnings is to add 'lexical-binding' to 'warning-suppress-log-types'.
bug-gnu-emacs@HIDDEN
:bug#70773
; Package emacs
.
Full text available.Received: (at 70773) by debbugs.gnu.org; 5 May 2024 10:49:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 06:49:05 2024 Received: from localhost ([127.0.0.1]:59055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3ZQW-0000wA-Ok for submit <at> debbugs.gnu.org; Sun, 05 May 2024 06:49:05 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:44483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <info@HIDDEN>) id 1s3ZQS-0000vn-Lo for 70773 <at> debbugs.gnu.org; Sun, 05 May 2024 06:49:03 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2781D40003; Sun, 5 May 2024 10:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1714906111; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n7sVMdPLNgNJFio8xAaCZcZLOgXuqLJRJ+hf5Pa4Uic=; b=B1CJQX0qjJvm2gCoTczImaxGLC+O0Cc0vDAWoyl0L19UUyyfDZAmF4tZvLTA3pxPiIZSbu ZSuvEeJprl9QEA1eAotWz5dWvdfhsLQLUy3hsfsn6L00E6tONy7Qxp3JNGp30l+sP1bOHa GmSessFY1f0N/0Tjfe1JOCBYPFo7Q5LS4/TmCtXNZ5PoxrdfBdDQOPB+dcd+GzTjelE07d 7OztaidhWDjs/ECl94OEw3OrvTqc03+pB6nwGEIdTVMhw4c8MOQ3o/j8hBJ3BkjelLskRZ XwGPd2vFWRgxBBBOZwcYwFVgR6CYZe/b4CimpI2e9YSzdhfyGReCvz2DAvVxHg== From: Protesilaos Stavrou <info@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist In-Reply-To: <86y18pe6bv.fsf@HIDDEN> References: <87plu1ig5a.fsf@HIDDEN> <86y18pe6bv.fsf@HIDDEN> Date: Sun, 05 May 2024 13:48:29 +0300 Message-ID: <87r0egleki.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: info@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70773 Cc: 70773 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > From: Eli Zaretskii <eliz@HIDDEN> > Date: Sat, 4 May 2024 22:16:04 +0300 > >> From: Protesilaos Stavrou <info@HIDDEN> >> Date: Sat, 04 May 2024 21:30:25 +0300 >> >> 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... > > I say either set delayed-warnings-hook to nil or customize > warning-suppress-log-types to suppress the warnings you don't want to > see. Fine. > display-buffer-alist is not the best way of doing this, especially not > when you want to affect what Emacs does at startup, when the various > elements of the UI might not yet be ready for your trickery. I reported this bug because it is only now that I observe this behaviour. I have had that display-buffer-alist setting for a long time already. -- Protesilaos Stavrou https://protesilaos.com
bug-gnu-emacs@HIDDEN
:bug#70773
; Package emacs
.
Full text available.Received: (at 70773) by debbugs.gnu.org; 5 May 2024 07:01:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 03:01:42 2024 Received: from localhost ([127.0.0.1]:58097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3VsT-0001ov-Ug for submit <at> debbugs.gnu.org; Sun, 05 May 2024 03:01:42 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:36135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1s3VsO-0001oD-RZ for 70773 <at> debbugs.gnu.org; Sun, 05 May 2024 03:01:40 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 06C24C0004; Sun, 5 May 2024 07:01:04 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Protesilaos Stavrou <info@HIDDEN> Subject: Re: bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist In-Reply-To: <87plu1ig5a.fsf@HIDDEN> (Protesilaos Stavrou's message of "Sat, 04 May 2024 21:30:25 +0300") Organization: LINKOV.NET References: <87plu1ig5a.fsf@HIDDEN> Date: Sun, 05 May 2024 09:58:13 +0300 Message-ID: <86r0egiw3e.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70773 Cc: 70773 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > The display-delayed-warnings does not conform with display-buffer-no-window. Thanks for the bug report. > 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)))) `allow-no-window' is intended to be provided only by the caller, when the caller can handle the nil value for window. So here is the patch that implements this in the caller: diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 8c1e43934ff..d0e130abaf8 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -372,15 +372,17 @@ display-warning (warning-suppress-p type warning-suppress-types) (let ((window (display-buffer buffer - (when warning-display-at-bottom - '(display-buffer--maybe-at-bottom - (window-height . (lambda (window) - (fit-window-to-buffer window 10))) - (category . warning)))))) - (when (and (markerp warning-series) + (if warning-display-at-bottom + '(display-buffer--maybe-at-bottom + (window-height . (lambda (window) + (fit-window-to-buffer window 10))) + (category . warning) + (allow-no-window . t)) + '(nil (allow-no-window . t)))))) + (when (and window (markerp warning-series) (eq (marker-buffer warning-series) buffer)) (set-window-start window warning-series)) - (when warning-display-at-bottom + (when (and warning-display-at-bottom window) (with-selected-window window (goto-char (point-max)) (forward-line -1)
bug-gnu-emacs@HIDDEN
:bug#70773
; Package emacs
.
Full text available.Received: (at 70773) by debbugs.gnu.org; 4 May 2024 19:16:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 04 15:16:41 2024 Received: from localhost ([127.0.0.1]:55282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3KsD-0007j1-CZ for submit <at> debbugs.gnu.org; Sat, 04 May 2024 15:16:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s3Ks8-0007iq-WE for 70773 <at> debbugs.gnu.org; Sat, 04 May 2024 15:16:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1s3Krf-0000de-4c; Sat, 04 May 2024 15:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9bXxxcxxzOZ70doLXdwCwoHIsI8aXTTmKcWQiFFtxfo=; b=nmgDQa37oXSC LGJ+x4zi2so0JveKmGlaXIwPmLbqB3hkDbRGWKrpYzgNNnYwtXoJQ9sW+Ozac6wKj3aqxWH/YS3v6 /GbRMU/6Wo0KUMhGvHj7Wn+hRBdt1456/mX0NwG3So8gbl8byVHl6ZY7nDkm6BLESFwpaCyfKl8NA Ybubfcjg66OuGHA9kRFsuoUZDB9uX107v/x9UNq02fFyQyZwb6PyyERtgF1EPoiZwYIMLckTaHA87 BKxak7AlqO/5aO7syCl3vdmgAf7ZC5T5oZjjDdiiXZ+2Ofm8/HvTuF6zwbyE2mcbXS/2A7tdV69cT I69J38dFCh8Wd9gl9OvPVg==; Date: Sat, 04 May 2024 22:16:04 +0300 Message-Id: <86y18pe6bv.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Protesilaos Stavrou <info@HIDDEN> In-Reply-To: <87plu1ig5a.fsf@HIDDEN> (message from Protesilaos Stavrou on Sat, 04 May 2024 21:30:25 +0300) Subject: Re: bug#70773: 30.0.50; display-delayed-warnings does not respect display-buffer-alist References: <87plu1ig5a.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 70773 Cc: 70773 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Protesilaos Stavrou <info@HIDDEN> > Date: Sat, 04 May 2024 21:30:25 +0300 > > 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... I say either set delayed-warnings-hook to nil or customize warning-suppress-log-types to suppress the warnings you don't want to see. display-buffer-alist is not the best way of doing this, especially not when you want to affect what Emacs does at startup, when the various elements of the UI might not yet be ready for your trickery.
bug-gnu-emacs@HIDDEN
:bug#70773
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 May 2024 18:31:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 04 14:31:12 2024 Received: from localhost ([127.0.0.1]:55100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3KAB-00078L-Tx for submit <at> debbugs.gnu.org; Sat, 04 May 2024 14:31:12 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <info@HIDDEN>) id 1s3KA8-00077v-5T for submit <at> debbugs.gnu.org; Sat, 04 May 2024 14:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <info@HIDDEN>) id 1s3K9b-0002bR-UF for bug-gnu-emacs@HIDDEN; Sat, 04 May 2024 14:30:35 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <info@HIDDEN>) id 1s3K9X-0001hj-9b for bug-gnu-emacs@HIDDEN; Sat, 04 May 2024 14:30:34 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 63450E000A for <bug-gnu-emacs@HIDDEN>; Sat, 4 May 2024 18:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1714847427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=kd4ib3bxNtFUQknDHceTnNv4x2TJLWbB0Rc0If7LOwE=; b=A7bZ/RQMg49Uclq9/K9MTBkxq9ledi4f4vqw3ViiGmmax8T30vQYGnzACxNgvasXuccuVH G15R4uglRUnARHZgXq8Y2tTNL1EbB9go3tFxma9fC7CgLHV5rvRZIeoCyVrh5fiaVRDZiN 0g0mDrgOly8++Kfvzn+fr1U92fh1GJJmgnZUKMt1OuTsO/z68oxZjxG9avR0jZZIYUQbZs ryM+VYsYRqSZCx4TZnKki2fRV2/lP1E375g5RHTI199ZEo6laARXhavVbqWFppezLneill ZXnxfzOwcH41U0ptJH7aOfh30qBIpB2TnQj0b3MjZODZB9FcAOF0Zwr/8+52tw== From: Protesilaos Stavrou <info@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; display-delayed-warnings does not respect display-buffer-alist X-Debbugs-Cc: Date: Sat, 04 May 2024 21:30:25 +0300 Message-ID: <87plu1ig5a.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: info@HIDDEN Received-SPF: none client-ip=217.70.183.196; envelope-from=info@HIDDEN; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) 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
Protesilaos Stavrou <info@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#70773
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.