From unknown Mon Aug 18 07:46:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1113 <1113@debbugs.gnu.org> To: bug#1113 <1113@debbugs.gnu.org> Subject: Status: slash screen covers the *Messages* buffer when errors are present in .emacs Reply-To: bug#1113 <1113@debbugs.gnu.org> Date: Mon, 18 Aug 2025 14:46:47 +0000 retitle 1113 slash screen covers the *Messages* buffer when errors are pres= ent in .emacs reassign 1113 emacs submitter 1113 Dan Nicolaescu severity 1113 normal thanks From dann@mothra.ics.uci.edu Tue Oct 7 08:35:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.3 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 15:35:23 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97FZJ8n001040 for ; Tue, 7 Oct 2008 08:35:21 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnEak-0007RE-Ks for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:35:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnEag-0007PL-Jy for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:35:17 -0400 Received: from [199.232.76.173] (port=36616 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnEag-0007PE-71 for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:35:14 -0400 Received: from barrelv2.ics.uci.edu ([128.195.1.114]:57287) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KnEaf-0006FV-IW for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:35:14 -0400 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m97FYr38014601 for ; Tue, 7 Oct 2008 08:34:57 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m97FYqaT007512; Tue, 7 Oct 2008 08:34:52 -0700 (PDT) Date: Tue, 7 Oct 2008 08:34:52 -0700 (PDT) Message-Id: <200810071534.m97FYqaT007512@mothra.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs@gnu.org Subject: slash screen covers the *Messages* buffer when errors are present in .emacs Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m97FYr38014601 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Create a bad .emacs: echo ")" > ~/.emacs emacs& Emacs starts up, it shows the *Messages* buffer that says that there are errors in .emacs, but the splash screens covers it before the user has time to read the information. The splash screen should not be displayed at all in this case, the user has to have a chance to read the text in *Messages*. From cyd@stupidchicken.com Tue Oct 7 12:49:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 19:49:56 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97JnnQx031328 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 12:49:50 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 439B457E0BF; Tue, 7 Oct 2008 15:51:26 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: 1113-done@debbugs.gnu.org Subject: Re: slash screen covers the *Messages* buffer when errors are present in .emacs Date: Tue, 07 Oct 2008 15:51:26 -0400 Message-ID: <87abdg9oap.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Create a bad .emacs: > > echo ")" > ~/.emacs > > emacs& > > Emacs starts up, it shows the *Messages* buffer that says that there > are errors in .emacs, but the splash screens covers it before the user > has time to read the information. I've tweaked startup.el to fix this. Init file errors use display-warning, just like other startup errors. Thanks. From dann@mothra.ics.uci.edu Tue Oct 7 13:15:22 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 20:15:22 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97KFJX9006137 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 13:15:20 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m97KEx4D017194; Tue, 7 Oct 2008 13:14:59 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m97KEwvK008912; Tue, 7 Oct 2008 13:14:58 -0700 (PDT) Date: Tue, 7 Oct 2008 13:14:58 -0700 (PDT) Message-Id: <200810072014.m97KEwvK008912@mothra.ics.uci.edu> From: Dan Nicolaescu To: Chong Yidong Cc: 1113-done@debbugs.gnu.org Subject: Re: slash screen covers the *Messages* buffer when errors are present in .emacs References: <87abdg9oap.fsf@cyd.mit.edu> X-Debbugs-No-Ack: yes In-Reply-To: <87abdg9oap.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 07 Oct 2008 15:51:26 -0400") Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m97KEx4D017194 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Chong Yidong writes: > > Create a bad .emacs: > > > > echo ")" > ~/.emacs > > > > emacs& > > > > Emacs starts up, it shows the *Messages* buffer that says that there > > are errors in .emacs, but the splash screens covers it before the user > > has time to read the information. > > I've tweaked startup.el to fix this. Init file errors use > display-warning, just like other startup errors. Unfortunately this does not work for "emacs --daemon" the warnings do not appear at all in the *Messages* buffer in that case, they used to before your patch. From lennart.borgman@gmail.com Tue Oct 7 13:28:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,RERE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 20:28:56 +0000 Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97KSq0Y009089 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 13:28:54 -0700 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:60281 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KnJAS-0000uR-5K; Tue, 07 Oct 2008 22:28:40 +0200 Message-ID: <48EBC648.2080100@gmail.com> Date: Tue, 07 Oct 2008 22:27:52 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Chong Yidong CC: Dan Nicolaescu , 1113-done@debbugs.gnu.org Subject: Re: Re: slash screen covers the *Messages* buffer when errors are present in .emacs References: <87abdg9oap.fsf@cyd.mit.edu> In-Reply-To: <87abdg9oap.fsf@cyd.mit.edu> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 081007-0, 2008-10-07), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KnJAS-0000uR-5K. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KnJAS-0000uR-5K f8b12ebcd4315bd401f241ba7f8c5bc2 Chong Yidong wrote: >> Create a bad .emacs: >> >> echo ")" > ~/.emacs >> >> emacs& >> >> Emacs starts up, it shows the *Messages* buffer that says that there >> are errors in .emacs, but the splash screens covers it before the user >> has time to read the information. > > I've tweaked startup.el to fix this. Init file errors use > display-warning, just like other startup errors. Didn't we discuss this before? The disadvantage of using display-warning is that you can't see the relation to other messages in the *Messages* buffer. Unless, of course the message goes to the message buffer too. > Thanks. > From cyd@stupidchicken.com Tue Oct 7 14:01:53 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 21:01:54 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97L1pEE017279 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 14:01:52 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6998157E0BF; Tue, 7 Oct 2008 17:03:26 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: 1113-done@debbugs.gnu.org Subject: Re: slash screen covers the *Messages* buffer when errors are present in .emacs References: <87abdg9oap.fsf@cyd.mit.edu> <200810072014.m97KEwvK008912@mothra.ics.uci.edu> Date: Tue, 07 Oct 2008 17:03:25 -0400 In-Reply-To: <200810072014.m97KEwvK008912@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 7 Oct 2008 13:14:58 -0700 (PDT)") Message-ID: <878wt0ktia.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dan Nicolaescu writes: > Unfortunately this does not work for "emacs --daemon" the warnings do > not appear at all in the *Messages* buffer in that case, they used to > before your patch. The same could be said of the warnings about invalid user names, missing home directories, and pure space overflow... From dann@mothra.ics.uci.edu Tue Oct 7 14:16:53 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 21:16:53 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97LGorG021626 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 14:16:51 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m97LGZqe013364; Tue, 7 Oct 2008 14:16:35 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m97LGYLs009029; Tue, 7 Oct 2008 14:16:34 -0700 (PDT) Date: Tue, 7 Oct 2008 14:16:34 -0700 (PDT) Message-Id: <200810072116.m97LGYLs009029@mothra.ics.uci.edu> From: Dan Nicolaescu To: Chong Yidong Cc: 1113-done@debbugs.gnu.org Subject: Re: slash screen covers the *Messages* buffer when errors are present in .emacs References: <87abdg9oap.fsf@cyd.mit.edu> <200810072014.m97KEwvK008912@mothra.ics.uci.edu> <878wt0ktia.fsf@cyd.mit.edu> X-Debbugs-No-Ack: yes In-Reply-To: <878wt0ktia.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 07 Oct 2008 17:03:25 -0400") Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m97LGZqe013364 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Chong Yidong writes: > Dan Nicolaescu writes: > > > Unfortunately this does not work for "emacs --daemon" the warnings do > > not appear at all in the *Messages* buffer in that case, they used to > > before your patch. > > The same could be said of the warnings about invalid user names, missing > home directories, and pure space overflow... Please don't make things worse then, people actually want to see these warnings... From cyd@stupidchicken.com Tue Oct 7 15:18:06 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1113-done) by emacsbugs.donarmstrong.com; 7 Oct 2008 22:18:06 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97MI3Br004127 for <1113-done@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 15:18:04 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 0223B57E211; Tue, 7 Oct 2008 18:19:40 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: 1113-done@debbugs.gnu.org Subject: Re: slash screen covers the *Messages* buffer when errors are present in .emacs References: <87abdg9oap.fsf@cyd.mit.edu> <200810072014.m97KEwvK008912@mothra.ics.uci.edu> <878wt0ktia.fsf@cyd.mit.edu> <200810072116.m97LGYLs009029@mothra.ics.uci.edu> Date: Tue, 07 Oct 2008 18:19:40 -0400 In-Reply-To: <200810072116.m97LGYLs009029@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 7 Oct 2008 14:16:34 -0700 (PDT)") Message-ID: <87ljx0m4jn.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dan Nicolaescu writes: > Chong Yidong writes: > > > Dan Nicolaescu writes: > > > > > Unfortunately this does not work for "emacs --daemon" the > > > warnings do not appear at all in the *Messages* buffer in that > > > case, they used to before your patch. > > > > The same could be said of the warnings about invalid user names, > > missing home directories, and pure space overflow... > > Please don't make things worse then, people actually want to see these > warnings... Maybe the solution is to make `display-warning' do something different if it is called in daemon mode initialization. Does this patch DTRT? *** trunk/lisp/emacs-lisp/warnings.el.~1.16.~ 2008-05-05 23:21:21.000000000 -0400 --- trunk/lisp/emacs-lisp/warnings.el 2008-10-07 18:18:59.000000000 -0400 *************** *** 268,274 **** (goto-char warning-series))) (if (nth 2 level-info) (funcall (nth 2 level-info))) ! (if noninteractive ;; Noninteractively, take the text we inserted ;; in the warnings buffer and print it. ;; Do this unconditionally, since there is no way --- 268,274 ---- (goto-char warning-series))) (if (nth 2 level-info) (funcall (nth 2 level-info))) ! (cond (noninteractive ;; Noninteractively, take the text we inserted ;; in the warnings buffer and print it. ;; Do this unconditionally, since there is no way *************** *** 280,286 **** (goto-char end) (if (bolp) (forward-char -1)) ! (message "%s" (buffer-substring start (point))))) ;; Interactively, decide whether the warning merits ;; immediate display. (or (< (warning-numeric-level level) --- 280,298 ---- (goto-char end) (if (bolp) (forward-char -1)) ! (message "%s" (buffer-substring start (point)))))) ! ((and (daemonp) (null after-init-time)) ! ;; Warnings assigned during daemon initialization go into ! ;; the messages buffer. ! (message ! "%s" ! (with-current-buffer buffer ! (save-excursion ! (goto-char end) ! (if (bolp) ! (forward-char -1)) ! (buffer-substring start (point)))))) ! (t ;; Interactively, decide whether the warning merits ;; immediate display. (or (< (warning-numeric-level level) *************** *** 290,296 **** (when (and (markerp warning-series) (eq (marker-buffer warning-series) buffer)) (set-window-start window warning-series)) ! (sit-for 0))))))) ;;;###autoload (defun lwarn (type level message &rest args) --- 302,308 ---- (when (and (markerp warning-series) (eq (marker-buffer warning-series) buffer)) (set-window-start window warning-series)) ! (sit-for 0)))))))) ;;;###autoload (defun lwarn (type level message &rest args) From unknown Mon Aug 18 07:46:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Nov 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator