From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#56201: Backtrace fails to appear in an error situation. Date: Fri, 24 Jun 2022 17:42:37 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8043"; mail-complaints-to="usenet@ciao.gmane.io" To: 56201@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 24 19:53:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4nUx-0001wa-WC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 19:53:39 +0200 Original-Received: from localhost ([::1]:56054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4nUw-00038v-Tb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 13:53:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4nKh-0003Ls-IP for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4nKg-0003Xx-DJ for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4nKg-0004yf-C7 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2022 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56201 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165609256719104 (code B ref -1); Fri, 24 Jun 2022 17:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 17:42:47 +0000 Original-Received: from localhost ([127.0.0.1]:43438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4nKR-0004y4-38 for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:42:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4nKP-0004xw-2J for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:42:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4nKO-0002r4-Mr for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:42:44 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:24649 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1o4nKM-0003WD-Ay for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:42:44 -0400 Original-Received: (qmail 14212 invoked by uid 3782); 24 Jun 2022 17:42:38 -0000 Original-Received: from acm.muc.de (p4fe1599c.dip0.t-ipconnect.de [79.225.89.156]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 24 Jun 2022 19:42:37 +0200 Original-Received: (qmail 7378 invoked by uid 1000); 24 Jun 2022 17:42:37 -0000 Content-Disposition: inline X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235211 Archived-At: 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 . (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).