unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: 56201@debbugs.gnu.org
Subject: bug#56201: Backtrace fails to appear in an error situation.
Date: Fri, 24 Jun 2022 17:42:37 +0000	[thread overview]
Message-ID: <YrX3jVip5wh///JH@ACM> (raw)

Hello, Emacs.

(i) With the master branch, start Emacs (-Q not needed). 
(ii) Visit a non-empty file in a buffer.
(iii) M-s o <regexp that will generate matches>.
(iv) C-x o to move to the *Occur* buffer.
(v) Move point to somewhere in the displayed matches.
(vi) C-x C-q to swith off read-onliness.
(vii) C-j, an attempt to insert a newline.

This produces the error message "Text is read-only".  This is probably a
bug, but is minor compared to what follows:

(viii) M-: (setq debug-on-error t) RET.
(ix) C-j.

This ought to produce a backtrace, but doesn't.  It merely repeats the
error message "Text is read-only".  This is a major bug; how can one
solve minor bugs if attempts to get diagnostic information are blocked?

It would appear a frivolous condition-case is discarding the backtrace
here.  This appears to happen with lots of error messages.  This is not
a Good Thing.

-- 
Alan Mackenzie (Nuremberg, Germany).





             reply	other threads:[~2022-06-24 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 17:42 Alan Mackenzie [this message]
2022-06-24 18:22 ` bug#56201: Backtrace fails to appear in an error situation Andreas Schwab
2022-06-24 18:23 ` 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=YrX3jVip5wh///JH@ACM \
    --to=acm@muc.de \
    --cc=56201@debbugs.gnu.org \
    /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).