unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "N. Jackson" <nljlistbox2@gmail.com>
Cc: 33654@debbugs.gnu.org
Subject: bug#33654: 27.0.50; No record of init file errors printed in *Messages*
Date: Fri, 07 Dec 2018 09:13:40 +0200	[thread overview]
Message-ID: <83zhth6c7v.fsf@gnu.org> (raw)
In-Reply-To: <87y392gobm.fsf@moondust.localdomain> (nljlistbox2@gmail.com)

> From: "N. Jackson" <nljlistbox2@gmail.com>
> 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?





  reply	other threads:[~2018-12-07  7:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-07  0:42 bug#33654: 27.0.50; No record of init file errors printed in *Messages* N. Jackson
2018-12-07  7:13 ` Eli Zaretskii [this message]
2018-12-07 17:08   ` N. Jackson
2018-12-08 10:46     ` Eli Zaretskii
2018-12-08 18:51       ` martin rudalics
2018-12-08 19:24         ` Eli Zaretskii
2018-12-09  8:26           ` martin rudalics
2020-10-11  1:54             ` Lars Ingebrigtsen
2021-05-11 13:49               ` Lars Ingebrigtsen

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=83zhth6c7v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33654@debbugs.gnu.org \
    --cc=nljlistbox2@gmail.com \
    /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).