From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66326: 29.1.50; There should be a way to promote warnings to errors Date: Sat, 14 Oct 2023 10:27:41 +0300 Message-ID: <83mswlslxu.fsf@gnu.org> References: <83y1gj5ya9.fsf@gnu.org> <87wmw3zfd3.fsf@catern.com> <83wmw353ny.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@catern.com, 66326@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 14 09:29:00 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrZ51-0007Gy-RQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Oct 2023 09:29:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrZ4i-0006PO-Tp; Sat, 14 Oct 2023 03:28:40 -0400 Original-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 ) id 1qrZ4g-0006Oy-QY for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:28:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrZ4g-0003Wf-Ie for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:28:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrZ53-00050X-VV for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66326-submit@debbugs.gnu.org id=B66326.169726849719192 (code B ref 66326); Sat, 14 Oct 2023 07:29:01 +0000 Original-Received: (at 66326) by debbugs.gnu.org; 14 Oct 2023 07:28:17 +0000 Original-Received: from localhost ([127.0.0.1]:47760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZ4L-0004zU-ES for submit@debbugs.gnu.org; Sat, 14 Oct 2023 03:28:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZ4G-0004zE-Q4 for 66326@debbugs.gnu.org; Sat, 14 Oct 2023 03:28:15 -0400 Original-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 ) id 1qrZ3m-0003S4-Kl; Sat, 14 Oct 2023 03:27:42 -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=Zv8kRVMKZGRlRoFElU/wvKVHJL59g3jEHC9uPBqgi0g=; b=aahNDTv9O0TA yvZMD4SbLXt4wG+6/W4Exh8uVB5Ahj8utKxzIdTgm8EwaxAowPm9mUpzD0HPyJRh8scKx7F6gaDMF F0/ZeFbU82PxGFqFYs9elDAk1mEF0tBDK9ITqZKmofBXaUj5PjiRF7P+OgvYrjcy7pxh3sVReB2Sk t8R1RdxlVgWfLvimBtrrjZj1aobGw6y3i/nvw3gWlX9oQ+UY2aqprEUiwr7Oq2ITBNFjVRNnod/iM OSw3Lxqzexv1GU6Ymriw5Zii39UZHH99/Y5YfbtoOKd+iKeygS2i6W3ixaN2j5pwtSlTCSALAO21S 5AZ6rG5qMHNputOXtoxagw==; In-Reply-To: (message from Spencer Baugh on Wed, 04 Oct 2023 08:20:49 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272380 Archived-At: > From: Spencer Baugh > Cc: sbaugh@catern.com, 66326@debbugs.gnu.org > Date: Wed, 04 Oct 2023 08:20:49 -0400 > > Eli Zaretskii writes: > > And in this case, duplication is a lesser evil than reordering of > > logic, since the chances of unintended consequences would be lower in > > the former case. > > OK, how about this version then? This is much better, thanks. But it still fails to execute this part right away: (if (not (or after-init-time noninteractive (daemonp))) ;; Ensure warnings that happen early in the startup sequence ;; are visible when startup completes (bug#20792). (delay-warning type message level buffer-name) We must preserve this functionality, unaffected by these changes. The patch you propose doesn't seem to guarantee that, at least not clearly enough for my palate.