From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33654: 27.0.50; No record of init file errors printed in *Messages* Date: Fri, 07 Dec 2018 09:13:40 +0200 Message-ID: <83zhth6c7v.fsf@gnu.org> References: <87y392gobm.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1544166734 10276 195.159.176.226 (7 Dec 2018 07:12:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2018 07:12:14 +0000 (UTC) Cc: 33654@debbugs.gnu.org To: "N. Jackson" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 08:12:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVAJ0-0002YM-2G for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 08:12:10 +0100 Original-Received: from localhost ([::1]:44548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVAL6-0007K0-Mz for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 02:14:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVAKw-0007It-F8 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:14:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVAKq-00016m-KS for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:14:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVAKo-00013D-Ku for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVAKo-0008DW-Et for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Dec 2018 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33654 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33654-submit@debbugs.gnu.org id=B33654.154416683331553 (code B ref 33654); Fri, 07 Dec 2018 07:14:02 +0000 Original-Received: (at 33654) by debbugs.gnu.org; 7 Dec 2018 07:13:53 +0000 Original-Received: from localhost ([127.0.0.1]:36237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVAKe-0008Cr-PN for submit@debbugs.gnu.org; Fri, 07 Dec 2018 02:13:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVAKc-0008Cf-NS for 33654@debbugs.gnu.org; Fri, 07 Dec 2018 02:13:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVAKS-0000bE-Ee for 33654@debbugs.gnu.org; Fri, 07 Dec 2018 02:13:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVAKS-0000bA-Ai; Fri, 07 Dec 2018 02:13:40 -0500 Original-Received: from [176.228.60.248] (port=1682 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gVAKR-0007oc-NQ; Fri, 07 Dec 2018 02:13:40 -0500 In-reply-to: <87y392gobm.fsf@moondust.localdomain> (nljlistbox2@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153164 Archived-At: > From: "N. Jackson" > Date: Thu, 06 Dec 2018 19:42:05 -0500 > > When there is an error in the init file, so that Emacs fails to > start normally, the user is not notified of the problem in the > *Messages* buffer. Generally, that happens when we cannot safely display anything, nor even insert text into *Messages*, if problems occur early enough into the startup process, because the necessary infrastructure is not yet available. But we do try our best, see below. So your report, which sounds as if there's a general non-display of any error or warning messages in this case, is inaccurate. Please be more specific regarding the particular problems you saw that didn't get logged. > Consequently, a user diligently checking *Messages* after Emacs > startup to ensure that there were no problems, will fail to be > informed of an init file error. Such errors are generally displayed right away, after interrupting the initialization process. So I wonder what specific example do you have in mind. > Although a warning message is printed in a window, if Desktop > restores many frames, the warning message will probably be buried > and may never be seen. [Perhaps the window with the warning message > should be displayed in the frame that has focus after Desktop > restore is finished?] Are you talking about errors or warnings? And did you include the *Warnings* buffer in your review? That's where we put delayed warnings from the initialization process. More generally, did you read up on the "delayed warnings" machinery?