unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 64163@debbugs.gnu.org, iota@whxvd.name
Subject: bug#64163: 29.0.92; Syntactic errors in early init when --debug-init is on
Date: Wed, 21 Jun 2023 16:29:45 +0300	[thread overview]
Message-ID: <83v8fh3pva.fsf@gnu.org> (raw)
In-Reply-To: <jwv352myt84.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Tue, 20 Jun 2023 13:07:46 -0400)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: iota@whxvd.name,  64163@debbugs.gnu.org
> Date: Tue, 20 Jun 2023 13:07:46 -0400
> 
> >> IOW `--debug-init` should be the one that sets `debug-ignored-errors` to
> >> nil
> >
> > So you are saying it should be condition on init-file-debug being
> > non-nil?
> 
> Yup.

Thanks, now done on the master branch.

> > Incidentally, do you happen to know the difference between that
> > variable having the value t and 'startup'?
> 
> I'm not familiar with this code, no.
> 
> AFAICT, `startup` is a special value for `debug-on-error-initial` rather
> than for `init-file-debug`.
> 
> I expect this is intended to be a value to which noone would set
> `debug-on-error`, tho it would make sense to use a more verbose/unlikely
> value, both to better detect user settings of `debug-on-error` and to
> help document the code.
> 
> Maybe something like the patch below (I also renamed the local
> variables so they don't look like global variables).

You know me: I'm not a big fan of renaming, unless really necessary...





      reply	other threads:[~2023-06-21 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19 10:27 bug#64163: 29.0.92; Syntactic errors in early init when --debug-init is on Sebastian Miele
2023-06-20 13:27 ` Eli Zaretskii
2023-06-20 14:24   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-20 16:05     ` Eli Zaretskii
2023-06-20 17:07       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-21 13:29         ` Eli Zaretskii [this message]

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=83v8fh3pva.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64163@debbugs.gnu.org \
    --cc=iota@whxvd.name \
    --cc=monnier@iro.umontreal.ca \
    /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).