From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 00:42:41 2022 Received: (at submit) by debbugs.gnu.org; 9 Jun 2022 04:42:41 +0000 Received: from localhost ([127.0.0.1]:44669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzA0C-0006nQ-CV for submit@debbugs.gnu.org; Thu, 09 Jun 2022 00:42:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:37280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz3EC-0001v6-8P for submit@debbugs.gnu.org; Wed, 08 Jun 2022 17:28:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz3EC-0006pe-0v for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 17:28:36 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:34323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz3E8-0007k1-W7 for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 17:28:35 -0400 Received: by mail-qk1-x730.google.com with SMTP id n197so9417499qke.1 for ; Wed, 08 Jun 2022 14:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=x0zORu7UGmbnmqVLzK7N94fjxYvzhZIU2s10Q93u2Kg=; b=YLFt/SdWHf778QxitixEaVmz6/8bDZluh85GBNprCZ6I3fNxy9SJ2KFDQZ8v+wgSTo NC0ZQldi0iFF8j5AgGrjruHkTzbEMSC3SI+mDE8ielA4IMKtooq2zs/ZJXtIx/XbnOa2 kHNjbgCD38lluqh8/nH3sf+ETuP2MHS30a5bA8Szov3hTr3eTj3X6nylYLXIqMbJLUCu Iz9cVAC0Wcyy5vB4saee6rzbbcm/fVLbyPzlIbufaDCmuTZJELhqQ1srXZHdKNwa1BDw gQj4tU/MhGK/octXuenkwO+YY3Jnat86PUTmBtbqiiXTksfQrVahiRbuS88t0TBiMkoY KN4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=x0zORu7UGmbnmqVLzK7N94fjxYvzhZIU2s10Q93u2Kg=; b=l2qSbWtNXhBKpSnOu+bSZEWpopLGz5SPxX7afw5RaYVnxiBr8Q/2aw9IbRxY7oa2HG MBLjgv3SKLVC2H9fcKrlSrZjOCA3B9Ix2O9jwhqc8+FUKefp+xvBz2hmFlffx37JQi/B IGu25mS5vYKSoktQZvBTA35UTofe2oA47X0FSC34EODy81mMlg881kIpuz3gY07ZAVWZ B6JXaBVQ24/DNRflSoXUIvMR9iX4AnTHus0QdT07uQVTcqXU3VHtde08nltvfvVa4t7P X9J8rg9QySYb2qZFAAQkMS7X+RFP9Bxy5w9SLtiYK8eePpghzaVzK7Q35RructdVSopq V6TA== X-Gm-Message-State: AOAM5307rnxWKUIbn42STzElqBZpA9mFW8VrWh/T85FdHoRyLC5ZDOtD ozRcwt4MLacvCFhnemM+G9NsGIo+rXU= X-Google-Smtp-Source: ABdhPJz5bRrvjCz1D7NlePph5Y+KffqPH22YWkv8AzsF6THvkZpZjLvVz6Aw2Wlj/ysYIgGlXDBd4w== X-Received: by 2002:a05:620a:15b2:b0:6a6:b411:e290 with SMTP id f18-20020a05620a15b200b006a6b411e290mr13647503qkk.364.1654723711027; Wed, 08 Jun 2022 14:28:31 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id bp38-20020a05622a1ba600b00304e4bbc369sm10583348qtb.10.2022.06.08.14.28.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 14:28:30 -0700 (PDT) From: dick.r.chiang@gmail.com To: bug-gnu-emacs Subject: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Date: Wed, 08 Jun 2022 17:28:29 -0400 Message-ID: <877d5qetfm.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=dick.r.chiang@gmail.com; helo=mail-qk1-x730.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 09 Jun 2022 00:42:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Avoid-the-hanging-chad-of-Backtrace.patch >From 45147670525b4556e69dcba7b9d3497738d7e023 Mon Sep 17 00:00:00 2001 From: dickmao Date: Wed, 8 Jun 2022 17:24:41 -0400 Subject: [PATCH] Avoid the hanging chad of "*Backtrace*" make TEST_INTERACTIVE=yes test/lisp/abbrev-tests * lisp/emacs-lisp/debug.el (debugger-buffer-name): DRY. (debug): Don't just erase the *Backtrace*; kill it. * test/lisp/abbrev-tests.el (copy-abbrev-table-test): We have `ignore-errors` for this purpose. (abbrev-tests-backtrace-bury): Test it. --- lisp/emacs-lisp/debug.el | 113 ++++++++++++++++++-------------------- test/lisp/abbrev-tests.el | 20 +++++-- 2 files changed, 68 insertions(+), 65 deletions(-) diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 6c172d6c31d..c1c977ce66e 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -95,6 +95,8 @@ debug-allow-recursive-debug :type 'boolean :version "29.1") +(defconst debugger-buffer-name "*Backtrace*") + (defvar debugger-step-after-exit nil "Non-nil means \"single-step\" after the debugger exits.") @@ -162,18 +164,13 @@ debugger--restore-buffer-state ;;;###autoload (defun debug (&rest args) "Enter debugger. \\`\\[debugger-continue]' returns from the debugger. -Arguments are mainly for use when this is called from the internals -of the evaluator. -You may call with no args, or you may pass nil as the first arg and -any other args you like. In that case, the list of args after the -first will be printed into the backtrace buffer. +ARGS are for internal use of the evaluator, which inserts the +symbol \\='debug to avoid printing extraneous debugger stack frames. -If `inhibit-redisplay' is non-nil when this function is called, -the debugger will not be entered." +A non-nil `inhibit-redisplay' precludes any action." (interactive) (if inhibit-redisplay - ;; Don't really try to enter debugger within an eval from redisplay. debugger-value (let ((non-interactive-frame (or noninteractive ;FIXME: Presumably redundant. @@ -187,50 +184,49 @@ debug (equal "initial_terminal" (terminal-name))))) ;; Don't let `inhibit-message' get in our way (especially important if ;; `non-interactive-frame' evaluated to a non-nil value. - (inhibit-message nil) + inhibit-message ;; We may be entering the debugger from a context that has ;; let-bound `inhibit-read-only', which means that all ;; buffers would be read/write while the debugger is running. - (inhibit-read-only nil)) + inhibit-read-only) (unless non-interactive-frame (message "Entering debugger...")) - (let (debugger-value - (debugger-previous-state - (if (get-buffer "*Backtrace*") - (with-current-buffer (get-buffer "*Backtrace*") - (debugger--save-buffer-state)))) - (debugger-args args) - (debugger-buffer (get-buffer-create "*Backtrace*")) - (debugger-old-buffer (current-buffer)) - (debugger-window nil) - (debugger-step-after-exit nil) - (debugger-will-be-back nil) - ;; Don't keep reading from an executing kbd macro! - (executing-kbd-macro nil) - ;; Save the outer values of these vars for the `e' command - ;; before we replace the values. - (debugger-outer-match-data (match-data)) - (debugger-with-timeout-suspend (with-timeout-suspend))) + (let* ((debugger-old-buffer (current-buffer)) + (debugger-previous-state + (when-let ((buf (get-buffer debugger-buffer-name))) + (with-current-buffer buf + (debugger--save-buffer-state)))) + (debugger-buffer (get-buffer-create debugger-buffer-name)) + (debugger-args args) + ;; Save the outer values of these vars for the `e' command + ;; before we replace the values. + (debugger-outer-match-data (match-data)) + (debugger-with-timeout-suspend (with-timeout-suspend)) + debugger-value debugger-window + debugger-step-after-exit debugger-will-be-back + debugger-step-after-exit + ;; Don't keep reading from an executing kbd macro! + executing-kbd-macro) ;; Set this instead of binding it, so that `q' ;; will not restore it. (setq overriding-terminal-local-map nil) ;; Don't let these magic variables affect the debugger itself. - (let ((last-command nil) this-command track-mouse - (inhibit-trace t) - unread-command-events - unread-post-input-method-events - last-input-event last-command-event last-nonmenu-event - last-event-frame - overriding-local-map + (let ((inhibit-trace t) (load-read-function #'read) ;; If we are inside a minibuffer, allow nesting ;; so that we don't get an error from the `e' command. (enable-recursive-minibuffers (or enable-recursive-minibuffers (> (minibuffer-depth) 0))) - (standard-input t) (standard-output t) - inhibit-redisplay - (cursor-in-echo-area nil) - (window-configuration (current-window-configuration))) + (standard-input t) + (standard-output t) + (window-configuration (current-window-configuration)) + last-command this-command track-mouse + unread-command-events + unread-post-input-method-events + inhibit-redisplay cursor-in-echo-area + last-input-event last-command-event last-nonmenu-event + last-event-frame + overriding-local-map) (unwind-protect (save-excursion (when (eq (car debugger-args) 'debug) @@ -272,22 +268,19 @@ debug `((previous-window . ,debugger-previous-window)))))) (setq debugger-window (selected-window)) (when debugger-jumping-flag - ;; Try to restore previous height of debugger - ;; window. - (condition-case nil - (window-resize - debugger-window - (- debugger-previous-window-height - (window-total-height debugger-window))) - (error nil)) + ;; Restore previous height of debugger window. + (ignore-errors + (window-resize + debugger-window + (- debugger-previous-window-height + (window-total-height debugger-window)))) (setq debugger-previous-window debugger-window)) (message "") - (let ((standard-output nil) + (let (standard-output (buffer-read-only t)) (message "") ;; Make sure we unbind buffer-read-only in the right buffer. - (save-excursion - (recursive-edit)))) + (save-excursion (recursive-edit)))) (when (and (window-live-p debugger-window) (eq (window-buffer debugger-window) debugger-buffer)) ;; Record height of debugger window. @@ -298,23 +291,21 @@ debug (set-window-configuration window-configuration) (when (and (window-live-p debugger-window) (eq (window-buffer debugger-window) debugger-buffer)) - (progn - ;; Unshow debugger-buffer. - (quit-restore-window debugger-window debugger-bury-or-kill) - ;; Restore current buffer (Bug#12502). - (set-buffer debugger-old-buffer))) + ;; Unshow debugger-buffer. + (quit-restore-window debugger-window debugger-bury-or-kill) + ;; Restore current buffer (Bug#12502). + (set-buffer debugger-old-buffer)) ;; Forget debugger window, it won't be back (Bug#17882). (setq debugger-previous-window nil)) ;; Restore previous state of debugger-buffer in case we were ;; in a recursive invocation of the debugger, otherwise just - ;; erase the buffer. + ;; kill the buffer. (when (buffer-live-p debugger-buffer) - (with-current-buffer debugger-buffer - (if debugger-previous-state - (debugger--restore-buffer-state debugger-previous-state) - (setq backtrace-insert-header-function nil) - (setq backtrace-frames nil) - (backtrace-print)))) + (if debugger-previous-state + (with-current-buffer debugger-buffer + (debugger--restore-buffer-state debugger-previous-state)) + (let (kill-buffer-query-functions) + (kill-buffer debugger-buffer)))) (with-timeout-unsuspend debugger-with-timeout-suspend) (set-match-data debugger-outer-match-data))) (setq debug-on-next-call debugger-step-after-exit) diff --git a/test/lisp/abbrev-tests.el b/test/lisp/abbrev-tests.el index 947178473e4..eb9d48871d4 100644 --- a/test/lisp/abbrev-tests.el +++ b/test/lisp/abbrev-tests.el @@ -89,11 +89,23 @@ copy-abbrev-table-test (should (abbrev-table-p foo-abbrev-table)) ;; Bug 21828 (let ((new-foo-abbrev-table - (condition-case nil - (copy-abbrev-table foo-abbrev-table) - (error nil)))) + (ignore-errors (copy-abbrev-table foo-abbrev-table)))) (should (abbrev-table-p new-foo-abbrev-table))) - (should-not (string-equal (buffer-name) "*Backtrace*"))) + (should-not (string-equal (buffer-name) debugger-buffer-name))) + +(ert-deftest abbrev-tests-backtrace-bury () + "No hanging *Backtrace* chads." + (skip-unless (not noninteractive)) + (let ((pop-after (lambda (&rest _args) (throw 'here t)))) + (should + (unwind-protect + (catch 'here + (add-function :after (symbol-function 'pop-to-buffer) pop-after) + (should (advice-member-p pop-after 'pop-to-buffer)) + (debug)) + (remove-function (symbol-function 'pop-to-buffer) pop-after))) + (should-not (advice-member-p pop-after 'pop-to-buffer)) + (should-not (get-buffer debugger-buffer-name)))) (ert-deftest abbrev-table-empty-p-test () (should-error (abbrev-table-empty-p 42)) -- 2.35.1 --=-=-= Content-Type: text/plain In Commercial Emacs 0.3.1snapshot 89d2679 in dev (upstream 29.0.50, x86_64-pc-linux-gnu) built on dick Repository revision: 89d2679ecae1f6a4e298a00c031db80a600237b6 Repository branch: dev Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.3 LTS Configured using: 'configure --prefix=/home/dick/.local --with-tree-sitter CC=gcc-10 PKG_CONFIG_PATH=/home/dick/.local/lib/pkgconfig CXX=gcc-10' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON TREE_SITTER LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: global-git-commit-mode: t shell-dirtrack-mode: t projectile-mode: t flx-ido-mode: t override-global-mode: t global-hl-line-mode: t hl-line-mode: t winner-mode: t tooltip-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/dick/gomacro-mode/gomacro-mode hides /home/dick/.emacs.d/elpa/gomacro-mode-20200326.1103/gomacro-mode /home/dick/org-gcal.el/org-gcal hides /home/dick/.emacs.d/elpa/org-gcal-0.3/org-gcal /home/dick/.emacs.d/elpa/chess-2.0.5/_pkg hides /home/dick/.local/share/emacs/site-lisp/_pkg /home/dick/.emacs.d/elpa/chess-2.0.5/chess-pos hides /home/dick/.local/share/emacs/site-lisp/chess-pos /home/dick/.emacs.d/elpa/chess-2.0.5/chess-module hides /home/dick/.local/share/emacs/site-lisp/chess-module /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ucb hides /home/dick/.local/share/emacs/site-lisp/chess-ucb /home/dick/.emacs.d/elpa/chess-2.0.5/chess-scid hides /home/dick/.local/share/emacs/site-lisp/chess-scid /home/dick/.emacs.d/elpa/chess-2.0.5/chess-puzzle hides /home/dick/.local/share/emacs/site-lisp/chess-puzzle /home/dick/.emacs.d/elpa/chess-2.0.5/chess-irc hides /home/dick/.local/share/emacs/site-lisp/chess-irc /home/dick/.emacs.d/elpa/chess-2.0.5/chess-network hides /home/dick/.local/share/emacs/site-lisp/chess-network /home/dick/.emacs.d/elpa/chess-2.0.5/chess-autosave hides /home/dick/.local/share/emacs/site-lisp/chess-autosave /home/dick/.emacs.d/elpa/chess-2.0.5/chess-engine hides /home/dick/.local/share/emacs/site-lisp/chess-engine /home/dick/.emacs.d/elpa/chess-2.0.5/chess-tutorial hides /home/dick/.local/share/emacs/site-lisp/chess-tutorial /home/dick/.emacs.d/elpa/chess-2.0.5/chess-german hides /home/dick/.local/share/emacs/site-lisp/chess-german /home/dick/.emacs.d/elpa/chess-2.0.5/chess-file hides /home/dick/.local/share/emacs/site-lisp/chess-file /home/dick/.emacs.d/elpa/chess-2.0.5/chess-random hides /home/dick/.local/share/emacs/site-lisp/chess-random /home/dick/.emacs.d/elpa/chess-2.0.5/chess-stockfish hides /home/dick/.local/share/emacs/site-lisp/chess-stockfish /home/dick/.emacs.d/elpa/chess-2.0.5/chess-pgn hides /home/dick/.local/share/emacs/site-lisp/chess-pgn /home/dick/.emacs.d/elpa/chess-2.0.5/chess-kibitz hides /home/dick/.local/share/emacs/site-lisp/chess-kibitz /home/dick/.emacs.d/elpa/chess-2.0.5/chess-eco hides /home/dick/.local/share/emacs/site-lisp/chess-eco /home/dick/.emacs.d/elpa/chess-2.0.5/chess-display hides /home/dick/.local/share/emacs/site-lisp/chess-display /home/dick/.emacs.d/elpa/chess-2.0.5/chess-var hides /home/dick/.local/share/emacs/site-lisp/chess-var /home/dick/.emacs.d/elpa/chess-2.0.5/chess-test hides /home/dick/.local/share/emacs/site-lisp/chess-test /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ply hides /home/dick/.local/share/emacs/site-lisp/chess-ply /home/dick/.emacs.d/elpa/chess-2.0.5/chess-message hides /home/dick/.local/share/emacs/site-lisp/chess-message /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics1 hides /home/dick/.local/share/emacs/site-lisp/chess-ics1 /home/dick/.emacs.d/elpa/chess-2.0.5/chess-phalanx hides /home/dick/.local/share/emacs/site-lisp/chess-phalanx /home/dick/.emacs.d/elpa/chess-2.0.5/chess-game hides /home/dick/.local/share/emacs/site-lisp/chess-game /home/dick/.emacs.d/elpa/chess-2.0.5/chess-log hides /home/dick/.local/share/emacs/site-lisp/chess-log /home/dick/.emacs.d/elpa/chess-2.0.5/chess-plain hides /home/dick/.local/share/emacs/site-lisp/chess-plain /home/dick/.emacs.d/elpa/chess-2.0.5/chess-perft hides /home/dick/.local/share/emacs/site-lisp/chess-perft /home/dick/.emacs.d/elpa/chess-2.0.5/chess-glaurung hides /home/dick/.local/share/emacs/site-lisp/chess-glaurung /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ai hides /home/dick/.local/share/emacs/site-lisp/chess-ai /home/dick/.emacs.d/elpa/chess-2.0.5/chess-fruit hides /home/dick/.local/share/emacs/site-lisp/chess-fruit /home/dick/.emacs.d/elpa/chess-2.0.5/chess-uci hides /home/dick/.local/share/emacs/site-lisp/chess-uci /home/dick/.emacs.d/elpa/chess-2.0.5/chess-epd hides /home/dick/.local/share/emacs/site-lisp/chess-epd /home/dick/.emacs.d/elpa/chess-2.0.5/chess-database hides /home/dick/.local/share/emacs/site-lisp/chess-database /home/dick/.emacs.d/elpa/chess-2.0.5/chess-link hides /home/dick/.local/share/emacs/site-lisp/chess-link /home/dick/.emacs.d/elpa/chess-2.0.5/chess-transport hides /home/dick/.local/share/emacs/site-lisp/chess-transport /home/dick/.emacs.d/elpa/chess-2.0.5/chess-none hides /home/dick/.local/share/emacs/site-lisp/chess-none /home/dick/.emacs.d/elpa/chess-2.0.5/chess-polyglot hides /home/dick/.local/share/emacs/site-lisp/chess-polyglot /home/dick/.emacs.d/elpa/chess-2.0.5/chess-crafty hides /home/dick/.local/share/emacs/site-lisp/chess-crafty /home/dick/.emacs.d/elpa/chess-2.0.5/chess-chat hides /home/dick/.local/share/emacs/site-lisp/chess-chat /home/dick/.emacs.d/elpa/chess-2.0.5/chess hides /home/dick/.local/share/emacs/site-lisp/chess /home/dick/.emacs.d/elpa/chess-2.0.5/chess-images hides /home/dick/.local/share/emacs/site-lisp/chess-images /home/dick/.emacs.d/elpa/chess-2.0.5/chess-gnuchess hides /home/dick/.local/share/emacs/site-lisp/chess-gnuchess /home/dick/.emacs.d/elpa/chess-2.0.5/chess-fen hides /home/dick/.local/share/emacs/site-lisp/chess-fen /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics hides /home/dick/.local/share/emacs/site-lisp/chess-ics /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics2 hides /home/dick/.local/share/emacs/site-lisp/chess-ics2 /home/dick/.emacs.d/elpa/chess-2.0.5/chess-common hides /home/dick/.local/share/emacs/site-lisp/chess-common /home/dick/.emacs.d/elpa/chess-2.0.5/chess-input hides /home/dick/.local/share/emacs/site-lisp/chess-input /home/dick/.emacs.d/elpa/chess-2.0.5/chess-announce hides /home/dick/.local/share/emacs/site-lisp/chess-announce /home/dick/.emacs.d/elpa/chess-2.0.5/chess-clock hides /home/dick/.local/share/emacs/site-lisp/chess-clock /home/dick/.emacs.d/elpa/chess-2.0.5/chess-sound hides /home/dick/.local/share/emacs/site-lisp/chess-sound /home/dick/.emacs.d/elpa/chess-2.0.5/chess-sjeng hides /home/dick/.local/share/emacs/site-lisp/chess-sjeng /home/dick/.emacs.d/elpa/chess-2.0.5/chess-algebraic hides /home/dick/.local/share/emacs/site-lisp/chess-algebraic /home/dick/.emacs.d/elpa/transient-0.3.7snapshot/transient hides /home/dick/.local/share/emacs/0.3.1/lisp/transient Features: (perl-mode ag vc-svn find-dired eudc-capf eudc eudc-vars shadow bbdb-message footnote emacsbug whitespace pulse shortdoc magit-extras goto-addr mule-util cl-print debug backtrace face-remap magit-patch-changelog magit-patch magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-margin magit-transient magit-process with-editor server magit-mode transient misearch multi-isearch org-element avl-tree ol-eww eww xdg ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-tempo tempo org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-R ob-emacs-lisp ob-ein ein-cell ein-shared-output ein-output-area ein-kernel ein-ipdb ein-query ein-events ein-websocket websocket bindat ein-node ewoc ein-log ein-classes ein-core ein ein-utils deferred ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs qp gnus-html url-queue help-fns radix-tree sort smiley shr-color mm-archive gnus-async gnus-ml vc-git diff-mode vc vc-dispatcher bug-reference cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs tramp-archive tramp-gvfs tramp-cache zeroconf gravatar dns mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-notifications gnus-fun notifications gnus-kill gnus-dup disp-table utf-7 blamer a tramp tramp-loaddefs trampver tramp-integration cus-start files-x tramp-compat shell pcomplete ls-lisp url-cache benchmark nnrss nnfolder nndiscourse rbenv nnhackernews nntwitter nntwitter-api bbdb-gnus gnus-demon nntp nnmairix nnml nnreddit gnus-topic url-http url-auth url-gw network-stream nsm request virtualenvwrapper gud s json-rpc python gnus-score score-mode gnus-bcklg gnus-srvr gnus-cite anaphora bbdb-mua bbdb-com bbdb bbdb-site timezone gnus-delay gnus-draft gnus-cache gnus-agent gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom nndraft nnmh gnus-group mm-url gnus-undo use-package use-package-delight use-package-diminish gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail yank-media rmc puny dired-x dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win paredit-ext paredit subed subed-vtt subed-srt subed-common subed-mpv subed-debug subed-config inf-ruby ruby-mode smie company pcase haskell-interactive-mode haskell-presentation-mode haskell-process haskell-session haskell-compile haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-complete-module haskell-ghc-support noutline outline flymake-proc flymake warnings etags fileloop generator dabbrev haskell-customize hydra lv use-package-ensure solarized-theme solarized-definitions projectile lisp-mnt ibuf-ext ibuffer ibuffer-loaddefs thingatpt magit-autorevert autorevert filenotify magit-git magit-base magit-section format-spec crm dash rx compat-27 compat-26 compat grep compile comint ansi-color gnus nnheader range mail-utils mm-util mail-prsvr gnus-util text-property-search time-date flx-ido flx google-translate-default-ui google-translate-core-ui facemenu color ido google-translate-core google-translate-tk google-translate-backend use-package-bind-key bind-key auto-complete easy-mmode advice edmacro kmacro popup cus-edit pp cus-load wid-edit emms-player-mplayer emms-player-simple emms emms-compat cl-extra help-mode xref project use-package-core derived hl-line winner ring finder-inf json-reformat-autoloads json-snatcher-autoloads projectile-autoloads sml-mode-autoloads tornado-template-mode-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cldefs cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tree-sitter tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 1227829 176046) (symbols 48 53502 23) (strings 32 237869 24639) (string-bytes 1 7132157) (vectors 16 141025) (vector-slots 8 2909657 195769) (floats 8 1371 3219) (intervals 56 60221 5281) (buffers 1000 51)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 01:45:56 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 05:45:56 +0000 Received: from localhost ([127.0.0.1]:44714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzAzU-0000Id-F0 for submit@debbugs.gnu.org; Thu, 09 Jun 2022 01:45:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzAzS-0000IN-KC for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 01:45:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzAz9-0008Q6-GF; Thu, 09 Jun 2022 01:45:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gQJ3NL7uGIwUj4D+/Pqe7B8NYc2s4O4ddyv208PhGoU=; b=PwE/W60CJoyr zyKB19VsN/MnSaMtJ9/JI05pa66eKF+i6Hm3k+FHdtabztgyYi11NPbMXU4yvIIYGntpZIP+sNkBO G2tNzVidse0x2k6qkcZgPtGg0Ss4UxCUm1aQP74oTTeJ8yK2h0haT5qrE5+roIaNMsMmu9HC42mdm cgFDjpAl4/jkE7oAJUVbcOjMqIKAMyhrinJ9OMwN9bt32UlnriCgEmHpSBePuhrQfrCkioA7bJda7 +NqF/LWdbg43fyV22z95Aoq+QdSxsP943zu2SQesGsh6TVv0++WtLisowg1a10Xufrsz7459owrYa pH7y4koEEEJ/Kqf5Wtr5tA==; Received: from [87.69.77.57] (port=2310 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzAye-0005Kv-3x; Thu, 09 Jun 2022 01:45:32 -0400 Date: Thu, 09 Jun 2022 08:45:00 +0300 Message-Id: <83fske4cgz.fsf@gnu.org> From: Eli Zaretskii To: dick.r.chiang@gmail.com In-Reply-To: <877d5qetfm.fsf@dick> (dick.r.chiang@gmail.com) Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick.r.chiang@gmail.com > Date: Wed, 08 Jun 2022 17:28:29 -0400 > > Subject: [PATCH] Avoid the hanging chad of "*Backtrace*" ^^^^^^^^^^^^^^^^^^^^^^ What does this mean? > * lisp/emacs-lisp/debug.el (debugger-buffer-name): DRY. Say what? > (debug): Don't just erase the *Backtrace*; kill it. Why? > lisp/emacs-lisp/debug.el | 113 ++++++++++++++++++-------------------- Where's the meat? Will you ever learn to separate small changes from large refactoring, so that your patches could be reviewed in reasonable time and with reasonable effort? Will you ever learn to respect comments left behind by others and not blindly delete them for no good reason? Until you do learn all that, expect most if not all of your submissions to be turned down. If you want to contribute to a project, you will need to learn to play by its rules. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 02:47:39 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 06:47:39 +0000 Received: from localhost ([127.0.0.1]:44806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzBxD-0001wj-Bo for submit@debbugs.gnu.org; Thu, 09 Jun 2022 02:47:39 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:41329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzBxA-0001w1-Cg for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 02:47:38 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id ADD8B1C0002; Thu, 9 Jun 2022 06:47:28 +0000 (UTC) From: Juri Linkov To: dick.r.chiang@gmail.com Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Organization: LINKOV.NET References: <877d5qetfm.fsf@dick> Date: Thu, 09 Jun 2022 09:46:25 +0300 In-Reply-To: <877d5qetfm.fsf@dick> (dick r. chiang's message of "Wed, 08 Jun 2022 17:28:29 -0400") Message-ID: <86y1y6fi66.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > ;; Don't let `inhibit-message' get in our way (especially important if > ;; `non-interactive-frame' evaluated to a non-nil value. > - (inhibit-message nil) > + inhibit-message > ;; We may be entering the debugger from a context that has > ;; let-bound `inhibit-read-only', which means that all > ;; buffers would be read/write while the debugger is running. > - (inhibit-read-only nil)) > + inhibit-read-only) Often an explicit nil value is used as an indication that it overrides the default value. This helps to read source code. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 06:11:20 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 10:11:21 +0000 Received: from localhost ([127.0.0.1]:45049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzF8K-0001A1-N4 for submit@debbugs.gnu.org; Thu, 09 Jun 2022 06:11:20 -0400 Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:46860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzF8I-00019l-Qr for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 06:11:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654769472; bh=sFV7T1pbc1AaJ0Joqac/QP7Ay4jCibNY3NQUsPueUuU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QXEkG9Rvn91+u5ZdZnYNAesMNV3S/ZzfSvm1FzRcuYvHbNHeX8rwYz7IsKF1Hq+SLmJSRQ+OdPFRogZBYBedtM9N/IEZ11zoQzteF9cmOm1cZCGMVQwNMuagubhsi/6/jmy5y7kS+72GiQmd0UBfQiNbwR49dtzbq7X/eyQre3Hik+8hxyDopZB2UtdQRUn3H7joh/kmLvRfVfNcxO5kKRaKWyA/cTekIHxFsHxBaGgXXEiYva2qImdmri+v5IHv2NIsyrS4AwX8Ui6M30W+IFbU9HzBqL0EzDYTgntJaGfLNJJwMKbeEIXuM/d8klDVZGrsDeSof+nZpRX7BEbzJA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654769472; bh=w3fDFBTrajcQhuB2VZpHwWN584yMN9wWp8eFnBobvuH=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EpJD0bVGNjkqSdPlfOOLofEIZZ63dzeGqwAw2c2lZFSw6KEhnuCgr+cP0cSAX5sDYEIWTXXDgUWjxTwC1XE5nMONB7e+cDiPQbbEc34yJaTRvAi9d/HYxQaB0w9VqFKwvNr25mJqRSia6D3MDCOyvpcEvnW+p3sjex9d5VesdDiq4sgn+uFDHFDgIU22hJgctVxK57YRB88wFHovZEbvSXODaUXjRr7xjTkW8x8q+GQ0wm/DQwx6xhdXnVXZvLubPjDkPuZmXFA1MKHVumf66M3h/TKrHzb0uWxi32VDI5xJpIHk7vFUuTW7WKQsZ1vJVbpcB12D0zDAb5vHA6tWHw== X-YMail-OSG: SQgkkeAVM1nkMVv0bG1urQsuFD_QruGDOidyHDzZ8SrMvHe6pD5ZRu6I90KlVGi jTQhSLp_xJGcQm1Bz_nqOccQo0i7dqkaQ9zIW.nF_tE4Zsxbiu3VTUhrk6RBTAa0pDJMx7GrNy_A v2PV7bZMtNDFd2K7ccRCMEtZVMyHH6N_jVObO_2tHIb7fSQccWuPmmgsH3ZM5wJRX3FXuINswk.2 PLoaAq6fQ46ChfejfurQlZU1VgZ9gQaj_xktKWWmu9oa5mw8JsG5VbLcDcokFSUg.x.ZrvqCoUbJ Ykyi2BRf48HdS.M01nczCvNU8JP.ohIwUubFzPMYGNoyeGekhRFkD8H5hySy8spO497eSwZ2cO60 fwTc0n71r7bqOwJsfQUj94Krkx74HCHUQaEOzoiDvGcPZPEV_7pvJPOWl_vVEhzkxSM0n3NGzS3f 8wWbH_QLE8j_QJiQE0LTjrK07_CUjJrI.8IVmvW7UV880fMp2A2pXAob1mbrTtz1N5_Fd2FmtrBj 3tb91akx4.HUUeLl73UiD.eDGORO6sCp5I5quzXXoCOHSBpItyzBfZu3BE_32l7YjQ0V5utAlyBn dWQJF6sdPOzLSI_l1NqjcQK1yYieq6LenP6PLMIMIIR5mDq3DUoN.07CtBeMF.azd3XgfP05B3Ly eiiSmlxX6pWPyv0ExC7i0kzv_OrQfIzAWtsX5AtmuBPp_oPsjKapaw4INlhuBk2_9GmSlRMzzPIs WXy_1_Bu9anmze59oDOct7IWH9aeHCbjgLTmIZ0RA4c.Ts28NH0BU4Na6mwT1oAmBACpDn2ax0BQ TaKzJwifkDckYiAtdCfU_WDbbO_N_.ZhlmW.gqNCbjU1NXdzYn98zWUG7Do106EewzzaaaFwiuj6 ZRECDXHTWTe52mujdDYU5T4xZ9BInGt5G6qi56t_jDcdYe2jmpB_vspO6vqfnpL6aVKquaOSNIn_ dlPvpHAjmOtgRcGejtqOrBv5I_mtwv.zjNAy5TgUy_U6LA9u0QVVw_HazKU5IHOO4Cbc3Lo_yrcS oDhYIouBoejTM73LAiBPk2JmmcVE.0GA6W8yK8nIkZpPP3v1FxOtTy1EPAaqakjJ_SV.TdJk4LpF EQVpqI5zJyVKZGrwADzmt51ztn6RS9mSWQF6BVdFRvs7CTOiCJ_r.xQIk06pItXww7Dqo.EAwpWP gIFSdbEQivqyDIK_5IMPuZb4.SOw3eg0impZyabQYNSya3jpx5ktaeOPA7NALYmtkU11XTZELmFi mPa_QSdSzUz6LjhgfVZo93j0Ewclws3QmLO_smghI4PUzt4TUdDorQH3fGE4DSL58GVKba1IF83u dfq4EvZERHMRMnWSDESXPk16wgZxqAGbrupuA4wgH1NvE2XX2l1tkfWJIwrCSqmKcnJE_2GLIwpG zfU0KkIVkpZwesGKHmyrAUSxHE8hEIwxBS8vZ2PrpnYj7Pe65Z9pGNbOEYRSHrL5HbSZhWhk3cSw S7A0ckAswNEXXlfDdv31nqxGyXLrY1Px0D80yUDxaE0Od4fR.Ah2GWdpZx9ZaL40LagCf6c4TYIY 2HP_pfUBlDcfItsogJduibW930dQnn09nbPydv6m7yWqF_DSX9.tNVtx_hMxEBLAIImB3auLKY7A kinMCUIR850aBnvxBXMANBD84DmZRcb73o2.7lhLBM8S6Sj_Pt0SS.6EWhzSrKPxuc8uYAqAdFsV krnJancKEWF8lCXINuPXCam4xgM2i.GGQpJgJHHfeJOaeCQjbQtq3ia2NyT0sH6dPbXWijyFXL46 FKNIOH_Al7MNydCoEWyVvspd.D3_TFX4_4fnR0VHsJsIc3Vth_iXWR5fQjwzCCxhLnUcji6gaMCB Z06mgwwVZw0gBVG4Qgk_VripKCU5yZw1EkZbRsejzVtPxfoKxTTa1wW_f3V9lTeRysEQNd9RnY1z F5b6J9bw36Uge4aKYItn5hk8L3vHigqtXWq03K7osR9HcH8.q16Nx5N6w4jV891eq5_6x6tM9nd4 OBCRPEZzrYmTmx9Ft8Fpw0c7lopRqaTqflShooP1Vh0CsVe5Ap5Xsg_TAGjAKzwiHo.1GnfI6Mlt xi0qAmQlc6PpOA_VCRxUgKqLsLpIFfkEyAhr7cAI4_HAnIpbCqVFLSfCwOtzm_1ujUqHkyGfvIS. mw9FAhPMhaStyYyawwYqSCuU8ljg8Qs_PNcaXC0ccYqaJbPrhMmJgB9aO5FhdBpyEI.NsvBfkXVe jS.ML6bqGzdNcS6tn_HQZ.q7eqRef.jf41f2fRZWZQp_tyF0PGe4qkw8i0Ul4WQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 9 Jun 2022 10:11:12 +0000 Received: by hermes--canary-production-sg3-5f7658c994-r75sz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3bafd058ff5b7b9145d756d49216711e; Thu, 09 Jun 2022 10:11:08 +0000 (UTC) From: Po Lu To: dick.r.chiang@gmail.com Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> Date: Thu, 09 Jun 2022 18:11:04 +0800 In-Reply-To: <877d5qetfm.fsf@dick> (dick r. chiang's message of "Wed, 08 Jun 2022 17:28:29 -0400") Message-ID: <87sfoeno3r.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1132 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) dick.r.chiang@gmail.com writes: > Subject: [PATCH] Avoid the hanging chad of "*Backtrace*" Most people do not use paper punches anymore, and are likely to think of the urban slang meaning of "chad" instead. Mysterious commit messages do not belong in our source code. > * lisp/emacs-lisp/debug.el (debugger-buffer-name): DRY. > (debug): Don't just erase the *Backtrace*; kill it. > * test/lisp/abbrev-tests.el (copy-abbrev-table-test): > We have `ignore-errors` for this purpose. > (abbrev-tests-backtrace-bury): Test it. > --- > lisp/emacs-lisp/debug.el | 113 ++++++++++++++++++-------------------- > test/lisp/abbrev-tests.el | 20 +++++-- So exactly what is the problem, and where is the fix? And why is `abbrev-tests.el' related? > 2 files changed, 68 insertions(+), 65 deletions(-) > > diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el > index 6c172d6c31d..c1c977ce66e 100644 > --- a/lisp/emacs-lisp/debug.el > +++ b/lisp/emacs-lisp/debug.el > @@ -95,6 +95,8 @@ debug-allow-recursive-debug > :type 'boolean > :version "29.1") > > +(defconst debugger-buffer-name "*Backtrace*") No doc string. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 08:59:35 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 12:59:35 +0000 Received: from localhost ([127.0.0.1]:45361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHl9-00024H-1X for submit@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHl7-000240-9l for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Tpv+IrQaNxuyxogUcD02/ljptnlJ2q1SOvsF/Ffdn0w=; b=rCPJEznIWZTItoiyvDtEy1Gn76 63DW0H24i24REfl81Swfxb0WtgxKOfxR/OtqppLAdry+K6jd0oqKpz4ZByrxvcvHfh/M5AGLE+TpY B3k0T0A8vulbRmnrlJ1adjYtNI2fO8qk/PgGd4IHWx4nR7xJDMxy0UTIOYHNieqVwFB4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzHky-00087F-UU; Thu, 09 Jun 2022 14:59:27 +0200 From: Lars Ingebrigtsen To: dick.r.chiang@gmail.com Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> X-Now-Playing: Prince's _Sign 'O' the Times (7): Live in Utrecht I_: "Slow Love (Live In Utrecht)" Date: Thu, 09 Jun 2022 14:59:24 +0200 In-Reply-To: <877d5qetfm.fsf@dick> (dick r. chiang's message of "Wed, 08 Jun 2022 17:28:29 -0400") Message-ID: <874k0u6lhv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dick.r.chiang@gmail.com writes: > Subject: [PATCH] Avoid the hanging chad of "*Backtrace*" > > make TEST_INTERACTIVE=yes test/lisp/abbrev-tests If I run that line on the current trunk, I don't get any *Backtrace* buffer (if that's indeed what you meant to imply). Do you have a better recipe for reproduction of whatever the problem is? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) dick.r.chiang@gmail.com writes: > Subject: [PATCH] Avoid the hanging chad of "*Backtrace*" > > make TEST_INTERACTIVE=yes test/lisp/abbrev-tests If I run that line on the current trunk, I don't get any *Backtrace* buffer (if that's indeed what you meant to imply). Do you have a better recipe for reproduction of whatever the problem is? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 08:59:39 2022 Received: (at control) by debbugs.gnu.org; 9 Jun 2022 12:59:39 +0000 Received: from localhost ([127.0.0.1]:45364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHlD-00024c-8v for submit@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHlC-00024A-GQ for control@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Q/2tz9IzGgmJ1gwKKpoEJvmZqiVIw4k93wTmRrcK1O4=; b=ZfIbXm2Y1C0p3xYCcRasRZMhip V8vlAjIRzxPvWO4wmiIHzD95FsEAgbg8OGPhdPIqG1gSxJ9YkmTuqJ2f5sIfjlS/dFu8clVvLJIyh kXEiwaiZSXSHUO9gyhAIo8Tsc5b85FmENwrMinQL5at3yKXV7s3Ncaf0yEOzeOgJdcds=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzHl4-00087P-L2 for control@debbugs.gnu.org; Thu, 09 Jun 2022 14:59:32 +0200 Date: Thu, 09 Jun 2022 14:59:30 +0200 Message-Id: <8735ge6lhp.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55863 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 55863 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 55863 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 08:59:52 2022 Received: (at control) by debbugs.gnu.org; 9 Jun 2022 12:59:53 +0000 Received: from localhost ([127.0.0.1]:45367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHlQ-000256-LA for submit@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzHlP-00024p-2j for control@debbugs.gnu.org; Thu, 09 Jun 2022 08:59:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SqiTEX0uduouuWXiDm98bseGOsamjeB7i2/PSDmjl7g=; b=kYU8xKl7DJvfN3MizUquaDfqEZ 7kT4vwuE/UypK5lkT40jKODW3/rTca09P2dZdbUOHN+0sQhYaKkos+uOV/ULVWMOAczZXmxqL/zT9 PNGFhW4iKDOPZlYYufF14m1aJsUaCCQWJ94LbG6PSqCwmE15QOC6oAFnWPq73JiX1RKE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzHlH-00087k-B2 for control@debbugs.gnu.org; Thu, 09 Jun 2022 14:59:45 +0200 Date: Thu, 09 Jun 2022 14:59:41 +0200 Message-Id: <871qvy6lhe.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55863 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 55863 - patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 55863 - patch quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 10:32:10 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 14:32:10 +0000 Received: from localhost ([127.0.0.1]:47249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJCg-0001I4-8O for submit@debbugs.gnu.org; Thu, 09 Jun 2022 10:32:09 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:46984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzIZ6-0003n3-OC for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 09:51:14 -0400 Received: by mail-qk1-f178.google.com with SMTP id o68so17728400qkf.13 for <55863@debbugs.gnu.org>; Thu, 09 Jun 2022 06:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=spbjc9L337eggD+9m+7CU0ZM2ZrmIKB+2dQXYRlDA44=; b=X8XCHC67K5sJ4gx7JWozK6fVUufTp0rHFz/TQCcWUcAEsOBXTEZeW4ScpI5Iz4zB3h pTGvi/ugJJWb02CJEF2l3KpHiuP13c0xaq3BFJDkGBJ35YllQjGadxDl4WZcNaFfl4qE mZGoqvtY/nm2CeqxJVAd9U2uw4ojbdSTLmpolybfGb0ACpKFfrIZpUgdPpoG4wBSH54+ qz+wgnAD6/P1naPf2a5+RkSv8H39rQW8dYR8Mf8zJQglayEypY0J+mJ7d+Sh0xkinPKQ xCx7swDeMn0wy0Ss5Ib6uSzNsbDfkQFGDBq8FhvyhTfw9FP41D8eOGd1wiIiK1od2m2I RMEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=spbjc9L337eggD+9m+7CU0ZM2ZrmIKB+2dQXYRlDA44=; b=cSceFqMOdl8Ie67TMJaPzvhuEf1d79f2kb9HO7dk+TO68CUzR52cfPxo4U+exMIFSn unqSSi/P2eFR5Fh0l2GAHI+yFi8gVSSi+XHlrJnXjfeE6pGSjZsXZYFbQEa2RM6jotv8 65F90vORGsROhzCisSHyAvYXGwfdxw7YeDs/56zkefI8QjWbP+3pTDP8eLzw9AOcBCcd x5Uwep8pl8FBSPvUDy47Ers7eprrLcW8qI/Pa1w8nR4Fzr2BGMBNouxCxykl6UPaiFF1 re5u27yk9M9uZMRXmJwPV+yTSRnMYb3hbezOoQrIrrJa3LS7IZW9dcRkzM9p9kUMLKj0 qaZg== X-Gm-Message-State: AOAM532Kuvqe2c3BiTz6ZCMI8JUaNw/szzH/JRAK44Aa3JAjW4rpDnuL /Ug4rwE8+NMUvTEMJKvJ5/4= X-Google-Smtp-Source: ABdhPJzB9BE8MW9j34HchAG+dFtsJVqDkO5nK8wv4Rb5UF9oc5ad1sogEwZEaFEBdE6qVyoK0/7Kqg== X-Received: by 2002:a05:620a:25d1:b0:47e:b90:bf6c with SMTP id y17-20020a05620a25d100b0047e0b90bf6cmr26196190qko.538.1654782667098; Thu, 09 Jun 2022 06:51:07 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id u12-20020a05620a430c00b006a37c908d33sm20409710qko.28.2022.06.09.06.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 06:51:06 -0700 (PDT) From: dick To: Lars Ingebrigtsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> Date: Thu, 09 Jun 2022 09:51:05 -0400 In-Reply-To: <874k0u6lhv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 09 Jun 2022 14:59:24 +0200") Message-ID: <87czfi3pyu.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 X-Mailman-Approved-At: Thu, 09 Jun 2022 10:32:01 -0400 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) (let ((pop-after (lambda (&rest _args) (throw 'here t)))) (unwind-protect (catch 'here (add-function :after (symbol-function 'pop-to-buffer) pop-after) (debug)) (remove-function (symbol-function 'pop-to-buffer) pop-after)) (cl-assert (not (get-buffer "*Backtrace*")))) OR (let ((debug-on-error t)) (error "No chads please.")) Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. Apparently I'm the only one irked by this recurring bugaboo. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 12:02:06 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 16:02:06 +0000 Received: from localhost ([127.0.0.1]:47476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzKbm-0001yn-2K for submit@debbugs.gnu.org; Thu, 09 Jun 2022 12:02:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzKbk-0001yG-1L for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 12:02:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eCHaSOwDLas74qoyfqD4lvRkOkmZkvFsGVG/6X1gQSI=; b=UIhMWBYQOXDk7XbYgjDXMqCNA+ J4RWElcmhnPd/e9l/MyJYMBEvlHmwOeaXskck+Mo7HcZAScboDTI7n3lyiGoaxBP28uk2wSVjGoqL NCY9hHkM92I6O4cX9r9FuXrB96L4uOpInshhy4cQCjdHsby8yggNchIJeUl+Qoe3ZyD0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzKbb-0002So-3j; Thu, 09 Jun 2022 18:01:57 +0200 From: Lars Ingebrigtsen To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUPDxInHCONbKxO KEOiOy3///9uRwijAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGCQ87KhLUicYAAAGlSURBVDjLpZNh mqMwCIbh6R4AxAOsZA4gkAO0mvufaUk6M9raf8uPqLx8BAkB+G9DZiY6vpl/QaIDYLEkmA40PoOb aiG4/e1axFMqdFUCfN9wWmCO+A07FF6wHXJkW79fdaGGcNryJ0QXvCP4+gmswG7v4KaZCFivCg+T 2q4AoC5Sd71uPredUK4AYvrKDpVrpy0bslzjYX508OFoNkbxxwfQcvnzAcwje7sWuw3XdH/zCzde 8zznB9tJ5CAzZb8ni7oTUJ8RxhXZgTM55TnDfO/eCBZfOY+TmxsHO0sfD9UOTRaE1vwrYtOwaoxf zVjUpoVBS4R6aEQsnL0Jm8oAHl5105yrnsSTh1rk+Eno0zL+Vlt0VckoiAGiuJqI1j3qpsWLQd84 N8j+lmAte6L82hp0l46lKGW0L2WEgfZUuw8Vieoj/zHzOvQ6m0VUcqMMshyw4iFQIr3ELBRMWRAT S+nXKPhpQsYkcUwj/9j7UOPTO4alL3CSjEf22T4oXi7kGfQrzG/kW5ANfSXS0mysO13AHn2NFwkP V9Sk9lIA15OCjuL+AZFuUILiwA2mAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTA5VDE1OjU5 OjQyKzAwOjAwfNxggQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wOVQxNTo1OTo0MiswMDow MA2B2D0AAAAASUVORK5CYII= X-Now-Playing: Julie Tippetts & Martin Archer's _Illusion_: "Trapeze" Date: Thu, 09 Jun 2022 18:01:54 +0200 In-Reply-To: <87czfi3pyu.fsf@dick> (dick's message of "Thu, 09 Jun 2022 09:51:05 -0400") Message-ID: <87wndpzuz1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dick writes: > (let ((debug-on-error t)) > (error "No chads please.")) > > Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. Ah, yes, that's annoying. I agree that we should kill the *Backtrace* buffer -- the current code just empties the buffer, but leaves it behind, which doesn't seem useful. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) dick writes: > (let ((debug-on-error t)) > (error "No chads please.")) > > Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. Ah, yes, that's annoying. I agree that we should kill the *Backtrace* buffer -- the current code just empties the buffer, but leaves it behind, which doesn't seem useful. (`q' aka `bury-buffer' commonly in many modes, well, buries the buffer, but in this case we empty it first, so it's not useful to avoid killing it in this case.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 13:25:38 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 17:25:38 +0000 Received: from localhost ([127.0.0.1]:47636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzLuc-0006SW-Cn for submit@debbugs.gnu.org; Thu, 09 Jun 2022 13:25:38 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:59753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzLua-0006S3-NH for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 13:25:37 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7AACEC0005; Thu, 9 Jun 2022 17:25:29 +0000 (UTC) From: Juri Linkov To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Organization: LINKOV.NET References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> Date: Thu, 09 Jun 2022 19:58:33 +0300 In-Reply-To: <87czfi3pyu.fsf@dick> (dick's message of "Thu, 09 Jun 2022 09:51:05 -0400") Message-ID: <864k0teq3y.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > (let ((debug-on-error t)) > (error "No chads please.")) > > Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. > > Apparently I'm the only one irked by this recurring bugaboo. A better question is why *Backtrace* is erased? Often I accidentally quit the backtrace, then try to switch to the *Backtrace* buffer to check the backtrace again, but to no avail. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 13:35:07 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 17:35:07 +0000 Received: from localhost ([127.0.0.1]:47658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzM3m-0006jX-Iq for submit@debbugs.gnu.org; Thu, 09 Jun 2022 13:35:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzM3Y-0006id-5K for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 13:35:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YuB76QXo2CgM/R8yJKtr9R77NpuNL/WVuhkYyXpfuIQ=; b=TF6MkBshm+9zgXrW6OEGvKlIai YyAVNrtvEMLqRpBSvYsYhSAZ3GqvxgYmD77Kvg6EkW7K10cBYHW+iwPo9Yz28KcAeLFHlHdYc74y/ 3gsgyM67pnrtxdqmRo5cw8TMMVjdDhmCyGOZuuUmXwkmbMi8LrG8rz+mPUVn9vN7+tWI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzM3O-0003YV-LJ; Thu, 09 Jun 2022 19:34:45 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUPDxInHCONbKxO KEOiOy3///9uRwijAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGCQ87KhLUicYAAAGlSURBVDjLpZNh mqMwCIbh6R4AxAOsZA4gkAO0mvufaUk6M9raf8uPqLx8BAkB+G9DZiY6vpl/QaIDYLEkmA40PoOb aiG4/e1axFMqdFUCfN9wWmCO+A07FF6wHXJkW79fdaGGcNryJ0QXvCP4+gmswG7v4KaZCFivCg+T 2q4AoC5Sd71uPredUK4AYvrKDpVrpy0bslzjYX508OFoNkbxxwfQcvnzAcwje7sWuw3XdH/zCzde 8zznB9tJ5CAzZb8ni7oTUJ8RxhXZgTM55TnDfO/eCBZfOY+TmxsHO0sfD9UOTRaE1vwrYtOwaoxf zVjUpoVBS4R6aEQsnL0Jm8oAHl5105yrnsSTh1rk+Eno0zL+Vlt0VckoiAGiuJqI1j3qpsWLQd84 N8j+lmAte6L82hp0l46lKGW0L2WEgfZUuw8Vieoj/zHzOvQ6m0VUcqMMshyw4iFQIr3ELBRMWRAT S+nXKPhpQsYkcUwj/9j7UOPTO4alL3CSjEf22T4oXi7kGfQrzG/kW5ANfSXS0mysO13AHn2NFwkP V9Sk9lIA15OCjuL+AZFuUILiwA2mAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTA5VDE1OjU5 OjQyKzAwOjAwfNxggQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wOVQxNTo1OTo0MiswMDow MA2B2D0AAAAASUVORK5CYII= X-Now-Playing: Julie Tippetts & Martin Archer's _Illusion_: "Never As They Seem (Illusion Suite #3)" Date: Thu, 09 Jun 2022 19:34:42 +0200 In-Reply-To: <864k0teq3y.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 09 Jun 2022 19:58:33 +0300") Message-ID: <878rq5zqod.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > A better question is why *Backtrace* is erased? > Often I accidentally quit the backtrace, then > try to switch to the *Backtrace* buffer to check > the backtrace again, but to no avail. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, dick X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > A better question is why *Backtrace* is erased? > Often I accidentally quit the backtrace, then > try to switch to the *Backtrace* buffer to check > the backtrace again, but to no avail. I don't think you can usefully interact with it after exiting the recursive edit? That is, I think all the stuff that's bound in the `debug' command (debugger-outer-match-data etc etc) has to continue to be bound... But perhaps that can be fixed? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:00:22 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 18:00:22 +0000 Received: from localhost ([127.0.0.1]:47704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzMSE-0007Sh-Fj for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:00:22 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzMS8-0007SA-Ko for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 14:00:19 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id B64AB20005; Thu, 9 Jun 2022 18:00:08 +0000 (UTC) From: Juri Linkov To: Lars Ingebrigtsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Organization: LINKOV.NET References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <878rq5zqod.fsf@gnus.org> Date: Thu, 09 Jun 2022 20:58:39 +0300 In-Reply-To: <878rq5zqod.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 09 Jun 2022 19:34:42 +0200") Message-ID: <86edzxbu6w.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, dick X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> A better question is why *Backtrace* is erased? >> Often I accidentally quit the backtrace, then >> try to switch to the *Backtrace* buffer to check >> the backtrace again, but to no avail. > > I don't think you can usefully interact with it after exiting the > recursive edit? That is, I think all the stuff that's bound in the > `debug' command (debugger-outer-match-data etc etc) has to continue to > be bound... > > But perhaps that can be fixed? I have no idea what will happen when it's not erased, need to try. Hmm, interesting, after this all backtrace links are still valid: diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 6c172d6c31..eb71b12341 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -308,13 +308,13 @@ debug ;; Restore previous state of debugger-buffer in case we were ;; in a recursive invocation of the debugger, otherwise just ;; erase the buffer. - (when (buffer-live-p debugger-buffer) - (with-current-buffer debugger-buffer - (if debugger-previous-state - (debugger--restore-buffer-state debugger-previous-state) - (setq backtrace-insert-header-function nil) - (setq backtrace-frames nil) - (backtrace-print)))) + ;; (when (buffer-live-p debugger-buffer) + ;; (with-current-buffer debugger-buffer + ;; (if debugger-previous-state + ;; (debugger--restore-buffer-state debugger-previous-state) + ;; (setq backtrace-insert-header-function nil) + ;; (setq backtrace-frames nil) + ;; (backtrace-print)))) (with-timeout-unsuspend debugger-with-timeout-suspend) (set-match-data debugger-outer-match-data))) (setq debug-on-next-call debugger-step-after-exit) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:44:31 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 18:44:31 +0000 Received: from localhost ([127.0.0.1]:47724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzN8w-00007S-Sq for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:44:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzN8u-00007C-G9 for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 14:44:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/SdpJRYbeGSC3ABJKBPOQptHW/KeLAUx6LszGLDmrOM=; b=KoxZnQYIM2VWgLt0OVuPj9oQ2n e6SL83JcQbkdIPhJxwO1z/PMYVemSkFa71NfDb6qjqu/GfcT0rOuG1F9k4q/RGq/G0LuheTHiendB FyF0FVQRXDXoaIcgMBVLbI76ydzB6STnr17ToDAFgEHAAoC+cwKKGKSDgDBpfSu10pVo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzN8l-0004Pf-PN; Thu, 09 Jun 2022 20:44:22 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <878rq5zqod.fsf@gnus.org> <86edzxbu6w.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVYWGHz8/IQEBSl qb1nb6T///90f4viAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGBgEFM2WHBycAAAGiSURBVDjLxZPb YYMwDEUVmwGiigFcJwMg5AEIeP+ZqgehKWm/a77wsR73yobLtfIk6CvVfRVBUJBBkB3ojy9ABL76 AQeEOEYEEyBBzZHJAO1AFEgX8gDMzzqFCNiyTA/bHxd54BoRWtxSBMCRgWcHWvzTgDA+17S+AKR8 AJmPVKpuvDTf1MDFqt/QAWtyP30VpFR2oHkYWwDacC4WkR2EMl88eU+JzRIHIpu35PtgpyNiHBaO fTDn2gG8JUQ9zlrCf9VxYSL1RUigL7mtO1DVQsQKuMkkkufqZQFZ1FwxdYOsfRvm+tjBxsTaL1Mv CXKf68UBpBvbAJVZr7kllae5YTCDIsTAXc31SXwrJwnVtT7oAN/jLqsOg0Lgc0gRMT2BzVwF6uc1 6lRvJpcPS2i/IEu1mfKLVzvooe8H8FRDWHUCanoOq04g/QqoplQB3sFYygJ6R97Axx1WuzvvYEje 8LkrmnM8tXOExF2rbwLHeX+Zn+dUq/X6A/hDI31LsNmVfgEivAlOQ+8d7tD9IIhI633rTdYCHaCk oW26CfWP9a/gC9Piem1iKRDKAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTA2VDAxOjA1OjUx KzAwOjAwOanalAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wNlQwMTowNTo1MSswMDowMEj0 YigAAAAASUVORK5CYII= X-Now-Playing: Ultra =?utf-8?Q?Nat=C3=A9's?= _How Long: Ultra Nate Best Remixes Volume 2_: "How Long (118th Street Instrumental)" Date: Thu, 09 Jun 2022 20:44:16 +0200 In-Reply-To: <86edzxbu6w.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 09 Jun 2022 20:58:39 +0300") Message-ID: <87zgily8vz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > I have no idea what will happen when it's not erased, need to try. > Hmm, interesting, after this all backtrace links are still valid: But doing commands like `e' doesn't work, because the context has been lost. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, dick X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > I have no idea what will happen when it's not erased, need to try. > Hmm, interesting, after this all backtrace links are still valid: But doing commands like `e' doesn't work, because the context has been lost. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:50:42 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 18:50:42 +0000 Received: from localhost ([127.0.0.1]:47738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNEw-0000Kd-GQ for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:50:42 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:5820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNEt-0000KT-Bn for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 14:50:41 -0400 Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 259IkECj002963; Thu, 9 Jun 2022 18:50:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=5hyyFtCZhD0GthFR1iELth4UdkO8VvtqfnTokZ5YJ8Q=; b=a9FOawQuJ/vXgwMj63oDEoY8PhLLeqHzuE+pF9jDNeaPi+W8yinbHB41d/ug9+Ebnuc5 1buo61XQxWBitAu2F+LLz9wbh4VSOzGhDBLeC0DwnLJW3yXADDkgQf8kDkU3az5TKrPi WC0aLBZlLbzIEzn52FVWfHaDJSTDk6h8r/Q6FbhjeQecULvXbdGaImugXzVeZ7BPwZ53 SQ7LnAt1KO8yVujuFbaRYrqvzTLQjphCfwmQKGUDo66VorlPeyhFflHtFkvb220cwxj/ aSSummzaD8D1pdZYBQ5Y9BZjcqE3C8gAgfbnxw70mL3qPHcOto7Ik3brk54pLyyPFSG2 sg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gfyxsm78x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 09 Jun 2022 18:50:37 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 259Ia5QC036728; Thu, 9 Jun 2022 18:50:36 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3gfwu51cyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 09 Jun 2022 18:50:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T4sf2HhNoerSA/QG93VLg/zAYHWs+8FbbV4DiV8whIjRcvTvHca00LM4/lxUUOaH4+Uelwy/pkqTiqwviKlYH2SzYuI4LI3TE5xSJl/j50zEsOU6o3JZ0EYOL1jF65tTOPNyqZEc7FbLPVqFEvgg5VNyJX1+X9HE9LbH3JA22Bp0SU3rjr/cBE92KadTUyhaN+QN20aHOAWj6WoZyFksVt5Z8bvlXskp4CjpEsiTZGYXCRaNtdKJfJlwdXh59zySZv0C2hF5DRuIJyfmcYI33iEYKjZWtNd3jMSjwBOvucqfegCZRAC2XApPLoX0gzDCLeR0k9RYBTx+X74sVgUV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5hyyFtCZhD0GthFR1iELth4UdkO8VvtqfnTokZ5YJ8Q=; b=mhB6FixVHTdKS1RcJh5kD+zySKyMLNk1V93kQaCAWUct4D9k9mWMH2OUlKLRfj0a93/3a36x7lCjCjlKLBJX2nOaXCgL4AcuKen3KrtShFotAHTLgkUJeXzsA6UGjpc95X/evxEGOjc82x+J35egCPVwNaCIl7aB3hhZDcfPV6gZDqz1rjb9pO+t9tf9R3/hwlP3T2sAo+FKEQPx3QxVbdklrbakcAM47RcTzOq72COSro4lsB930j5XAmQWgrbuzQk+EAT/HRjj9DbjXBjqOS7wXrNTMFS1QyuGFSAXsZNsc2MLfB9ufzEll/5qa+a6QRSeZTplbn77IsAjIhh+Tg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5hyyFtCZhD0GthFR1iELth4UdkO8VvtqfnTokZ5YJ8Q=; b=IcMXtbxC+2/Uqv4l3pk2UzZ42up7mkGIN7ruurzdVeDRZchnCRZbDBA5JXgW9h7KGguh6ZjBKPIDx1VV+yUyxMbwJSRSbt0UTnxXDyddox36fu8w7RxMYQOgfIGBG3AWKS9BUciFm9TmaXO4EYJd7lMaWZCwvQ19LNtsdsdC1w4= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BLAPR10MB5282.namprd10.prod.outlook.com (2603:10b6:208:30e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Thu, 9 Jun 2022 18:50:34 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224%4]) with mapi id 15.20.5332.013; Thu, 9 Jun 2022 18:50:34 +0000 From: Drew Adams To: Lars Ingebrigtsen , Juri Linkov Subject: RE: [External] : bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Thread-Topic: [External] : bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* Thread-Index: AQHYfDBL08w7w4eHrkyohYX513d8Vq1HaYMA Date: Thu, 9 Jun 2022 18:50:34 +0000 Message-ID: References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <878rq5zqod.fsf@gnus.org> In-Reply-To: <878rq5zqod.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0570f4a7-64dd-4267-eb39-08da4a48ef63 x-ms-traffictypediagnostic: BLAPR10MB5282:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 48b1APmX2ITc+DGdmliQ8hMibuBLim9VaUBevgAaMQ+ZU64dE/NbpL/1dD09ut6HboP+GD5gWGGQQMxAmYL9+1He6yjTdv+JItcphrf6GluIat+xZxEODKlEpBYD0ga4PIV6hJD8ORDJCA4no5GkHXYnn6OzRTx0cM/jMY/3e9FG/cZ6fN/jK/ZGV3B7jS5mBYY9W0+MLtqpvYpOujnt93B6JZw+RIXOoVyTDJDfzTxfzyDa7VgsjrdZxS5Lm1kHODqmUtm6L7XmDJMo58odcWXWGyqK2ueW2BiWK0HclAToxLlXAX8rsNCIFjzCfv1Kt1fw0sgNZJhw84RB4nUXbj4vt7H+TrKDxEGO0W2Tb8nPn6p8WPnOspsHZiyN/lcbDu6KdYMOW9SKGor6hbG5xZxv9QnG5LWjEE+iXCFnFpg6CLyd6dzYB83PESlBSyxgpd0526qBa0uvqZPkxRywsJDzQjehUpEaTKE8d5qaQQG785Fef8hoHuJRexgAuFu4fXtgubIHRfg1UsZYVJGhKsh/igfhDFbiStjjCJK5EWkioyEqetNXpSVIe5D/J2ADG9l/6jfuvI9moqmXD8kAl4/XK3W0fg7bU6hh4hbvDEnGfPF0iZ5xF3jsntZr1IXwhN6TOXN8ihsSXU4xraoQnwnbhVTAiWtV2HXGz6+bF9xAcJmgQw+Mv0UIPT0aD7pK7SRFwc1TYp7lBeR1cbyyMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(86362001)(38100700002)(38070700005)(4326008)(76116006)(2906002)(44832011)(66476007)(66556008)(66446008)(8676002)(64756008)(66946007)(110136005)(122000001)(54906003)(186003)(83380400001)(26005)(8936002)(316002)(52536014)(508600001)(55016003)(33656002)(71200400001)(7696005)(6506007)(5660300002)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CgvbzQFy8aRLTb+i4H2pfr/xBzYdXH85a+hlQV76OwY84z3eNqcut7dMpAjp?= =?us-ascii?Q?0pUuwOTmGqOOlq2ySHsJNCApJh74w6mux8IdjiaOIPJdscQiPW01ISfoEnZT?= =?us-ascii?Q?AYdWFxElULurKCRqdskrLVpKI4JeSDdx7w2YYFQM5rfBZZU3qV/m9kJaIQV8?= =?us-ascii?Q?IHIZD8uG+oQPix8bTgQPMTPhudj7zB3s0GbPa5wgFSnVtKug7EPCtK9HVUqY?= =?us-ascii?Q?zdsFR8UwuxoF9FicNe7dW0Gl4JSqEVdCbPklSYliSvzWZtmqAwY6IGJFihTT?= =?us-ascii?Q?JvQee95e97vczFuRo1zbIeRWYuDGN2dGw0dyDS2xaAfzoGvhWifKqfHSDr0I?= =?us-ascii?Q?YR9OWfLhrZRadPnhNSS0KFgtDAZgSHRP/ezHg9C1UPq3p209LRwa1gAgsOof?= =?us-ascii?Q?DeH5VKo5i6viGWrDm3DShhl+OB0GPsKMApUpTNzdhinBRRLJOm4r+/g/V0kp?= =?us-ascii?Q?uLMlIN1JU6/7l7bb1XcxsmtpkP1VX++Mo84zYuhMrIxu3UqinclISSs2tQbC?= =?us-ascii?Q?RGBsOgWBwo/xwSIrGZOxmGXFHzGAljGRV54hcp4IJCrrgzRYW0towM0N8q2a?= =?us-ascii?Q?jGTsRSkZcjwzqk4knMT8RzGHixHmQuL3K1lYZKa7cH1F4B3z9g3CySM3ZCOk?= =?us-ascii?Q?2b60pCjONZqDP2XB1U3w4n3B2HC1RBHC0ndEzEGd4irVV8sir68IWfd8LFAK?= =?us-ascii?Q?S9whzKVDNVPW595H6JfauFyvyNcZDw09ioQjaND+CnCRWC+KYtE22UN0m/8m?= =?us-ascii?Q?HofBJMpLtJslkz2V02EaFIyvVc/SYFuPzKea5vkIcRxnSemlQRmLxWZBEcle?= =?us-ascii?Q?mu9ZNkCeb3BafmvGccsO7WUxME0o1uhxZmoO2ut9RbSOkk+NjwifL7S0+xCG?= =?us-ascii?Q?P89ZDuCG+4/I+slo0AqVuVvl2Oh6WwT+2BS9z+ciDz8uN/D5gql/utFB/S6o?= =?us-ascii?Q?SlFrDZmx73kPB0bRDLNoJbT67JVg2z3kIoNbvxzSqUwkV1BYGM6bJqyFUK7e?= =?us-ascii?Q?H7VYOk5t6I8FcL0qsv8f31Qa72t4iv4WH0vGJ1xNjuY3wHlLvPIx6ZY39YI4?= =?us-ascii?Q?SZJ/K3avYEABfJKW2sWMBos0kMQeTwrTaE+20/SeL40wv+/KM5HVP6/xo0lA?= =?us-ascii?Q?NFbsXltoNBq1MAY2GwdSnw0rS7KrqUEWqP9so72Jydb6AprFfsdRL2KfZLMK?= =?us-ascii?Q?APm2eN4bNCwFJZ7QtMlk3eco0nIWkWV+cuPq4zbvhTuKZaSzRb+DqY2LWnxx?= =?us-ascii?Q?N0aEhRH/kBzkvaos/yavrFYQO3a8/z1Zbn1iyhwVe/8M2hdIOkJiRYR7Vls7?= =?us-ascii?Q?vs3gRkkHspHZuDS9OmTcyFH8ZatRFa7lEJvT8tuepoZGzUG/Jx62Z9s1HuXY?= =?us-ascii?Q?oDs1QfEMCR1eI/rIHNdnxBJuDHM/2/iEEdWH9WAoHH62oU1WPtNaoEspAHll?= =?us-ascii?Q?99WI9YMBszeHTMi6zlFB2LY1tiMXFFmN8VDLghaqKXlnci1s9UswolpAvKMx?= =?us-ascii?Q?IaU++DaAHQILknHzUxJMWSOlygv578K36k78MCTMNdU4s3DNhF7Twy1rESMX?= =?us-ascii?Q?8+3A2hU/ZaDAONPSBp2W9MzpkU8+Kqu53SvqOuJxe8KEGVaNZn7+98v52BDI?= =?us-ascii?Q?luC6kHEcKKyKa/zVX0nXqXK398iFyP7lazy431cpW4/ZH23NTBQeVuz157ge?= =?us-ascii?Q?rKZmEHIMn5rlUOeuJe+NLmSy84fHl4IkvjPezut8SN/TRodISgclZ9v1dxMV?= =?us-ascii?Q?+MR+AYUSdg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0570f4a7-64dd-4267-eb39-08da4a48ef63 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2022 18:50:34.0437 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dVDd2xUJTNJaH0JH86KRCvIKjOx9LRbHkbmBJn6Xrd+ASXvaNvuuROwnASfaoAzP/DANoxTOtjZp3p7Pnx/8vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5282 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.874 definitions=2022-06-09_14:2022-06-09, 2022-06-09 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 adultscore=0 spamscore=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=979 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206090068 X-Proofpoint-ORIG-GUID: xQzo33DU8QT_DlF6eeNn98aQJDfZ7hie X-Proofpoint-GUID: xQzo33DU8QT_DlF6eeNn98aQJDfZ7hie X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55863 Cc: "55863@debbugs.gnu.org" <55863@debbugs.gnu.org>, dick X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) (Apologies for not following this thread. Please ignore if not relevant.) I'm just wondering whether option `debugger-bury-or-kill' might be relevant here. The default value is `bury'. I'm guessing maybe setting the value to `kill' would help with what's being requested. ------------8<---------------- debugger-bury-or-kill is a variable defined in `debug.el'. Its value is 'bury' Documentation: What to do with the debugger buffer when exiting `debug'. The value affects the behavior of operations on any window previously showing the debugger buffer. nil means that if its window is not deleted when exiting the debugger, invoking `switch-to-prev-buffer' will usually show the debugger buffer again. `append' means that if the window is not deleted, the debugger buffer moves to the end of the window's previous buffers so it's less likely that a future invocation of `switch-to-prev-buffer' will switch to it. Also, it moves the buffer to the end of the frame's buffer list. `bury' means that if the window is not deleted, its buffer is removed from the window's list of previous buffers. Also, it moves the buffer to the end of the frame's buffer list. This value provides the most reliable remedy to not have `switch-to-prev-buffer' switch to the debugger buffer again without killing the buffer. `kill' means to kill the debugger buffer. The value used here is passed to `quit-restore-window'. You can customize this variable. This variable was introduced, or its default value was changed, in version 24.3 of Emacs. ------------8<---------------- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:56:24 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 18:56:24 +0000 Received: from localhost ([127.0.0.1]:47766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNKR-0000VM-VZ for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:56:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNKL-0000Uu-LI for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 14:56:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzNKF-0001Cv-IG; Thu, 09 Jun 2022 14:56:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZbsOzmjZ7B2HpPzT1gNz8M33N/3DzMFMJrBCpHNlaVw=; b=GwZQ++/7oMgJ 3Rp1+i34rg3daFvUwrGAHfbpLEsH+RHwZmv2Izz+24OMO+GzwJHKceaYoBQ5bFktfDV57+Iq2byNK uHOwcjdCIigouI/Ui9iljraWCWiVPiOKo7cud3Q055e1n3kGqx4dlXuveIwDrGesQMatI/4t4ujTo omA/u5Ttd3eGEZyri2QWHYbVCI/TlJq0sLGhbtmc2bVSciGzHGy2LreJcBr5CqvFH1DtIuiMcRX5C d86CnPyHsG571Xl2FLoumWdErm9amB6sPZb7DEBU5aN6nir1Grp2wYOYk9e5g8uvGE66ZgD5GBrTt kAyyQVgW5F/IOsASX2bRCQ==; Received: from [87.69.77.57] (port=3819 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzNKF-0004RG-0s; Thu, 09 Jun 2022 14:56:11 -0400 Date: Thu, 09 Jun 2022 21:56:08 +0300 Message-Id: <83mtel1x9z.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <864k0teq3y.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Jun 2022 19:58:33 +0300) Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, larsi@gnus.org, dick.r.chiang@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 55863@debbugs.gnu.org, Lars Ingebrigtsen > From: Juri Linkov > Date: Thu, 09 Jun 2022 19:58:33 +0300 > > > (let ((debug-on-error t)) > > (error "No chads please.")) > > > > Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. > > > > Apparently I'm the only one irked by this recurring bugaboo. > > A better question is why *Backtrace* is erased? > Often I accidentally quit the backtrace, then > try to switch to the *Backtrace* buffer to check > the backtrace again, but to no avail. Happened to me as well, indeed. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:58:00 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 18:58:00 +0000 Received: from localhost ([127.0.0.1]:47780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNM0-0000Yb-BP for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:58:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNLy-0000YM-78 for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 14:57:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzNLs-0001RT-TM; Thu, 09 Jun 2022 14:57:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ECESuP18BRf90yp5BR65quRBUBbtYIvxD9Vk+0S1P9U=; b=sS1digmCkFVt hZM612hbi65rkfisrBtkjR+crH4SQuZzRKIfkmeovNUmWTiEp7x+KKx6KDGznl3mwymg2F8Bz7m55 1weqPcr+6HziR6JG5ok8wJYgJG8RJv6KC5UgcfCYSpuYIPbaQ+T1XF/ka579T/OwNslAYfvrn2BbG OS8Pgczy0oJNGHIIMabZkUwhml76blrFGKGYPqk27exxgdPEJM2B62AXSvlb0XmcxhAHIPdfShaR3 Wyd+4xRQVPFlJOmVWrHQ8KfXnBtTp/6Uszu8q7Ssx9dV7NknbKi0r0/G+sjIel6Suwwt87lHi6TRr Q4V8kA0/RnbOMtkvAj9RcQ==; Received: from [87.69.77.57] (port=3923 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzNLs-00073x-Cb; Thu, 09 Jun 2022 14:57:52 -0400 Date: Thu, 09 Jun 2022 21:57:50 +0300 Message-Id: <83leu51x75.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <878rq5zqod.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 09 Jun 2022 19:34:42 +0200) Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <878rq5zqod.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, dick.r.chiang@gmail.com, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 55863@debbugs.gnu.org, dick > From: Lars Ingebrigtsen > Date: Thu, 09 Jun 2022 19:34:42 +0200 > > I don't think you can usefully interact with it after exiting the > recursive edit? That is, I think all the stuff that's bound in the > `debug' command (debugger-outer-match-data etc etc) has to continue to > be bound... Even if the links don't work, the backtrace itself provides valuable information (and fining the functions is trivial with M-. so we don't really need the links). From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 15:02:57 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 19:02:57 +0000 Received: from localhost ([127.0.0.1]:47789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNQn-0000iH-CT for submit@debbugs.gnu.org; Thu, 09 Jun 2022 15:02:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNQl-0000i1-2l for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 15:02:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6zqag3DKwzwRr+NRj4jl35WCGQkCQdvZs1LYE4B0iCc=; b=uzmr0SasqP/zEUQCSnbU5xE0G2 h7qe9pSuGo+dRPcgT5bkpWZ2fWnCN1xT9VS8Tmg1Klb38NV17bI4q26GeX9nvokMcOkxEiw8Emj/l O1Z2o0+wR4P4msCS1HD96kCACIASUz39cypkwmFNI/Qu6K8WuTPESd3BN8Pv9g3jR2Fk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzNQb-0004c4-Fb; Thu, 09 Jun 2022 21:02:47 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <878rq5zqod.fsf@gnus.org> <83leu51x75.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXj2sfs3y4nacG5 VDkuHyP///9JyvzbAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGCRMAN1hcUDMAAAGZSURBVDjLbdMB dsMgCABQUnOAOnuAhu4AOjxAFrj/mQaiieurb3vd4w8UtACwxE8L4Lakz4AKhfQ3pfFR9AOmUomF UzkzLqii63cA4qssrQJJW61QSYCwtRyiDi2lwRMgJqJSHWSUMgj6/6nHhd+ABrRdJqhCXoxpzrAY dSGVxQHEKlkaGxTK0EH7FTaxJC5pgDZih+IUe03oYI3LXmt5+Pbg0Ib1kF1Wrq0P6hAdRGHn1Vp3 ePnMW4P70eBugFsHLUNjWP+gJEq1z+pupSbQCeiY+5VfYP1FapPSlAF2U7pKh3ge1+7K1wx2zYm4 Q7t0wKd3bufNUEdCy1juy2hEqExgb6ukamWY9F6t7gCI8cu32M6n67B0qFtvYwDE42VwbEmDPisH OJC0FSw22fsEQfCb6g+2uwj5hBzkQP3BbHGa4GZRdKAJYIAnqJx74IHgoIfLdMExwE6dwwTo0If/ DhyCx09YK+INv9l2DgRXqZVUUF+nhsO8efXSHLLVClepvif712uaFZ/gjQ8IE+T22vUhzyD2twX+ AB0DhxBFwPgXAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTA5VDE5OjAwOjU1KzAwOjAwYilg 4gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0wOVQxOTowMDo1NSswMDowMBN02F4AAAAASUVO RK5CYII= X-Now-Playing: Ryuichi Sakamoto & The Kakutougi Session's _Summer Nerves_: "Summer Nerves" Date: Thu, 09 Jun 2022 21:02:44 +0200 In-Reply-To: <83leu51x75.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Jun 2022 21:57:50 +0300") Message-ID: <87mtely817.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> I don't think you can usefully interact with it after exiting the >> recursive edit? That is, I think all the stuff that's bound in the >> `debug' command (debugger-outer-match-data etc etc) has to [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, dick.r.chiang@gmail.com, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> I don't think you can usefully interact with it after exiting the >> recursive edit? That is, I think all the stuff that's bound in the >> `debug' command (debugger-outer-match-data etc etc) has to continue to >> be bound... > > Even if the links don't work, the backtrace itself provides valuable > information (and fining the functions is trivial with M-. so we don't > really need the links). I was mostly thinking about the eval-in-frame stuff, which is what I find most useful. If it's hard to keep that around after exiting from the recursive edit, we might just have an `inactive-backtrace' mode that disables the commands that don't work? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 15:17:48 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 19:17:48 +0000 Received: from localhost ([127.0.0.1]:47812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNfA-00015R-M9 for submit@debbugs.gnu.org; Thu, 09 Jun 2022 15:17:48 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:43154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNf9-00015E-0H for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 15:17:48 -0400 Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id EF10EFA55E; Thu, 9 Jun 2022 19:17:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1654802260; bh=U+tDgjM5UYIcMV8bRH3CRWpWNaTAJ6vNeAuf1l/zT7Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GuIbT6bQCpjVqyQEXGouj4bUzufA4oTtletEmmQi4u+blel7igsz5whxN8dk4weEL YBgR+lFoOP6nPmJOm/4RYBmxiQT7KI1SIQVXA3Ydjof/JCu1nEMLD55HWvHUTqOtpT A5Omp2Vwg9ixDHeBNRa2BVZjh+m39jcjYPVjHoh8= From: Eric Abrahamsen To: Juri Linkov Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> Date: Thu, 09 Jun 2022 12:17:38 -0700 In-Reply-To: <864k0teq3y.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 09 Jun 2022 19:58:33 +0300") Message-ID: <877d5pwsrx.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org, Lars Ingebrigtsen , dick X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: >> (let ((debug-on-error t)) >> (error "No chads please.")) >> >> Then type "q", "C-x C-b", and note the empty lurker *Backtrace*. >> >> Apparently I'm the only one irked by this recurring bugaboo. > > A better question is why *Backtrace* is erased? > Often I accidentally quit the backtrace, then > try to switch to the *Backtrace* buffer to check > the backtrace again, but to no avail. FWIW I agree with this: I'm often annoyed that the backtrace is removed. What's the harm in leaving it there? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 17:02:35 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 21:02:36 +0000 Received: from localhost ([127.0.0.1]:47979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzPIZ-00069l-PM for submit@debbugs.gnu.org; Thu, 09 Jun 2022 17:02:35 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:45820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzPIV-00065H-HB for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 17:02:33 -0400 Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C7E67FA55E; Thu, 9 Jun 2022 21:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1654808545; bh=VWohQBJ1DTWMV+oIQBDpQLLTlQ06zv5hy2G9BX0OZ/8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=M8McaueZlW1759qHjjPZSW5iw+tctNe82VYBFZO6PgKLJN9fOtr6j7QAyAEsle1zM qZdrUwQg3iohA/5VLMIQTVSZpH1ky0lQ7q9QqW6SN1Dnyervb6klJ1LF3l2O8QkFtz 5Srzb4kEUmNIDGkzaqPgWdk2oe63+NlFYWsgDj84= From: Eric Abrahamsen To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> Date: Thu, 09 Jun 2022 14:02:23 -0700 In-Reply-To: <878rq54omf.fsf@dick> (dick's message of "Thu, 09 Jun 2022 15:34:48 -0400") Message-ID: <87y1y5v9cw.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 06/09/22 15:34 PM, dick wrote: >> FWIW I agree with this: I'm often annoyed that the backtrace is >> removed. What's the harm in leaving it there? > > Because inhibit-debugger silently won't let you have more than one > active session. This was as confusing to me as a edebug beginner as > when gdb inexplicably flies past a breakpoint. Fair enough -- I'm not surprised it's more complicated than I'd considered. I do feel like I "lose" backtraces a lot, though. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 18:27:29 2022 Received: (at 55863) by debbugs.gnu.org; 9 Jun 2022 22:27:29 +0000 Received: from localhost ([127.0.0.1]:48169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzQcU-0008RS-GO for submit@debbugs.gnu.org; Thu, 09 Jun 2022 18:27:28 -0400 Received: from mail-qt1-f180.google.com ([209.85.160.180]:35667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNvj-0001Wp-1f for 55863@debbugs.gnu.org; Thu, 09 Jun 2022 15:34:55 -0400 Received: by mail-qt1-f180.google.com with SMTP id fu17so2037311qtb.2 for <55863@debbugs.gnu.org>; Thu, 09 Jun 2022 12:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=sKOEJ/3M8x8qBCfDnzCAy0AbidEtbyEAV9awzoHv64M=; b=V0NZs+YDO0aVNvgtZG/zPHQBxQymx+D9sIUq386EbbRNeGQikW72xV0tJTJ1RnFohd QKZIb83kACSDi9fAbWanCfNCN4F0h4+eZlhGJ7abCFd4v4iqN2F3IziII3ylEoe+9J89 QGJsaaUQA/vXnUwtFo8tB1u2VwOvfAkEBR0I6Dop3XW8ePjPTU4zrrpBqfsusmljSiOO WwLl4DquDk+kG/E55wOGt0LV7EvNvuMM9QjX7lZOF9QnXQAHxIUUwHBkb1WU9yhpQNoP gZXqMulmP8VnfqJk13X2nKnSNvtfw/2uTqvXKrXYDABf6EqCtRdgc4P7fhy47MwvRkX+ qodQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=sKOEJ/3M8x8qBCfDnzCAy0AbidEtbyEAV9awzoHv64M=; b=Tl3EZydEGvfubQDUZBPn7bE/6wwzQIS9yTS9IvKVGvxDGMMm1kA9FX5KdIP5DWGAlC OmqKrt1D/635dwZ9q+ZppV2TPIA6x8PJQrYUqtWJgAgA558CaM8uyomGb7AZGztFyVir XpHfrtjivfNU03mFHmDAneJSLYM1ggeuBG8y0IG9WMvD0m12WcgaW2OiLOf+IMCrlQsE up8emU9sVnWgKU0BU84SbzJcQA3JfyjiniQTvsVTdevGle+R7EBJoW76L/16rHw4LqM+ SU0qCTMEX3iOgnr4WQmWH8XqD57vlzMmp3uJVDB8LaKVsdpD9kEycfLUy/O7FSL7dRpF u2+Q== X-Gm-Message-State: AOAM5307NH734AE+mcQ5Ic9OUGykQrxdOpf3JS9rGXIWheZfjB+KhHG9 HWovLuIbIIBco/+ba8I7fLk= X-Google-Smtp-Source: ABdhPJyg4LuWk83O0nG6ol7FVsBKXoq3hhgVZmWH3HawMGBHDCiDY0XjC6y2gMbKvLTOu7jyPEIjeA== X-Received: by 2002:a05:622a:11d5:b0:304:d91c:cfac with SMTP id n21-20020a05622a11d500b00304d91ccfacmr30451164qtk.35.1654803289391; Thu, 09 Jun 2022 12:34:49 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id m13-20020a05622a054d00b003030d9f518dsm18072619qtx.60.2022.06.09.12.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 12:34:48 -0700 (PDT) From: dick To: Eric Abrahamsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> Date: Thu, 09 Jun 2022 15:34:48 -0400 In-Reply-To: <877d5pwsrx.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 09 Jun 2022 12:17:38 -0700") Message-ID: <878rq54omf.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 X-Mailman-Approved-At: Thu, 09 Jun 2022 18:27:12 -0400 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > FWIW I agree with this: I'm often annoyed that the backtrace is > removed. What's the harm in leaving it there? Because inhibit-debugger silently won't let you have more than one active session. This was as confusing to me as a edebug beginner as when gdb inexplicably flies past a breakpoint. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 05:27:27 2022 Received: (at 55863) by debbugs.gnu.org; 10 Jun 2022 09:27:27 +0000 Received: from localhost ([127.0.0.1]:48746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzavP-0006oq-Ab for submit@debbugs.gnu.org; Fri, 10 Jun 2022 05:27:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzavN-0006od-Nn for 55863@debbugs.gnu.org; Fri, 10 Jun 2022 05:27:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bPWpwx9zW5NIDpFBEKDmnU2ZIr9G6DnUZim6t5jmJKA=; b=cFlgOQsTp8asRCrs6RlD0wPdUJ szvPgOn4AMSplf/6mBsJPcmB5c78kLFHvhzP3QBAj3MOaQHP8TLCM/qLg5j+D25aaXuBdTjFJh4Ji 2/PiRMYql02EiowSs43Rw/R1vjzlL/CymFejk1c+i1eCsc7+7tyVUJmWKRV8MlPomiN0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzavE-0005lE-U5; Fri, 10 Jun 2022 11:27:19 +0200 From: Lars Ingebrigtsen To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> X-Now-Playing: Liturgy's _Origin of the Alimonies_: "Apparition of the Eternal Church" Date: Fri, 10 Jun 2022 11:27:15 +0200 In-Reply-To: <878rq54omf.fsf@dick> (dick's message of "Thu, 09 Jun 2022 15:34:48 -0400") Message-ID: <875yl8x40c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dick writes: >> FWIW I agree with this: I'm often annoyed that the backtrace is >> removed. What's the harm in leaving it there? > > Because inhibit-debugger silently won't let you have more than one > active sess [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: Eric Abrahamsen , 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) dick writes: >> FWIW I agree with this: I'm often annoyed that the backtrace is >> removed. What's the harm in leaving it there? > > Because inhibit-debugger silently won't let you have more than one > active session. This was as confusing to me as a edebug beginner as > when gdb inexplicably flies past a breakpoint. Removing the text from the *Backtrace* buffer (or not) doesn't affect whether `inhibit-debugger' is bound or not. The `q' from the buffer exits the recursive edit, which makes `inhibit-debugger' go back to its normal value. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 06:06:16 2022 Received: (at 55863) by debbugs.gnu.org; 10 Jun 2022 10:06:16 +0000 Received: from localhost ([127.0.0.1]:48877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzbWy-0005x9-OL for submit@debbugs.gnu.org; Fri, 10 Jun 2022 06:06:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:32768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzbWx-0005ww-56 for 55863@debbugs.gnu.org; Fri, 10 Jun 2022 06:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rML1y/J1Uai6pJwBqUpdfUvK96Qll/1BZeCKmpKySRI=; b=N9v9MTZMUPql1pqBHXYA+6MYKm NKYwbXQxjkzr/RsKMsic60gdDijA93gEO+xKthYhGOp07i9yZdGXOaTlssi3a7Sh/wyOa6KHtL6Sx mT3OL/DnLW97+R/t2LHwM1d28lh1m5HwhKvSM9+jhW92WC+Ln9r0OCDneLqCaqZvUb8E=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzbWo-0007J7-Df; Fri, 10 Jun 2022 12:06:08 +0200 From: Lars Ingebrigtsen To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> <875yl8x40c.fsf@gnus.org> <874k0s4yyx.fsf@dick> X-Now-Playing: Little Annie Anxiety & Hiro Kone's _Repossessed_: "As I Lie In Your Arms" Date: Fri, 10 Jun 2022 12:06:05 +0200 In-Reply-To: <874k0s4yyx.fsf@dick> (dick's message of "Fri, 10 Jun 2022 06:03:34 -0400") Message-ID: <87v8t8u92q.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dick writes: > No one wants to see "*Backtrace*<2>" and "*Backtrace*<3>". I don't think anybody has proposed that? Reusing the *Backtrace* buffer is fine whether we erase the text in it or not on `q'. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) dick writes: > No one wants to see "*Backtrace*<2>" and "*Backtrace*<3>". I don't think anybody has proposed that? Reusing the *Backtrace* buffer is fine whether we erase the text in it or not on `q'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 10:30:16 2022 Received: (at 55863) by debbugs.gnu.org; 10 Jun 2022 14:30:16 +0000 Received: from localhost ([127.0.0.1]:50935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzfeO-0000UV-4l for submit@debbugs.gnu.org; Fri, 10 Jun 2022 10:30:16 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:35401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzbUT-0005sW-J5 for 55863@debbugs.gnu.org; Fri, 10 Jun 2022 06:03:45 -0400 Received: by mail-qv1-f43.google.com with SMTP id u8so18308824qvj.2 for <55863@debbugs.gnu.org>; Fri, 10 Jun 2022 03:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=aActOrPtVDO3jAU7EKUzJrJZLSI4nSETy4Z672206yk=; b=YflJeMm2EKud4kY54a90h4wFq3NGvX+KkhMp9YuNF14FW3Ja/E9psngutjEJxf4rTp kub4aR7/It6tb/5mJO5B2feYiJogoyekPkq6hnC4Ut8vUxL4s28d2JqEs9khqEUDNi/C RYKEODgVB317uZLJ/LYbeSxLc3NHXg1Gz+Vhq5jQ5sfJ5+o9UlR+nErNJfTr5NH+bbpl 4igg684OItLhot2xJuCsWzJp+1MfG4LYAc6Y0IkniggU/DfdOc2hFxHpGZG5H8KnhanJ TDkMZT2E6U1/rgMgGo2ltP20RpYqOF5rIxZ1vWH3EYbnq6C3+UOxxqixRVk2FKaU3fJf TtJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aActOrPtVDO3jAU7EKUzJrJZLSI4nSETy4Z672206yk=; b=EELbCVaVYtkGa+Wa3JESA6hDtBxrQhHXxs01xrURiT7306ceW6GORGc0/43k0gNd2Q IwdQjuJmkQM5nBzZkZV6IXib06rA1F7GxetzxpfDZa0pd3a7DuDGCcZ0ZUtw2KiEWsaK q1uzQRu3Iu9xeosu+qsjQTg1Hek1aIda/8uaAPunwF+0570h4/ct2sMWKU5cZbK5VjI9 BgN1aWJomA8PJKgWEo7VHSJMCtHm900NcV1/mzYnTkL2y9jBSDBKsJ55xu8OtLFmazZU Me2cT3SuYl/J4KFwLvh/sVGtgRTZIQtMPMv8V8xqtSc7kG9Z0f3ZIm5Cbgxq4jCtQH39 2i3w== X-Gm-Message-State: AOAM530oMrXZULrauxfMW8CrEyl9Q+tCtS6R6e8JfPHPaHGO0oHpYRSO YlQNXT7W+1kt1adnnTzJEjSuf4+w1yc= X-Google-Smtp-Source: ABdhPJzTx3SRgeUc/kbqju4/UnFqWdFNtFmrpG1c6TUqIoaIXyb6W7zgvnKNns/uBk2R4d6rgKV0VQ== X-Received: by 2002:a05:6214:20a4:b0:46b:9caa:964d with SMTP id 4-20020a05621420a400b0046b9caa964dmr19483225qvd.88.1654855415840; Fri, 10 Jun 2022 03:03:35 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id s17-20020a05620a255100b006a6b6638a59sm13872127qko.53.2022.06.10.03.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 03:03:34 -0700 (PDT) From: dick To: Lars Ingebrigtsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> <875yl8x40c.fsf@gnus.org> Date: Fri, 10 Jun 2022 06:03:34 -0400 In-Reply-To: <875yl8x40c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 10 Jun 2022 11:27:15 +0200") Message-ID: <874k0s4yyx.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 X-Mailman-Approved-At: Fri, 10 Jun 2022 10:30:10 -0400 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) No one wants to see "*Backtrace*<2>" and "*Backtrace*<3>". From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 10:30:17 2022 Received: (at 55863) by debbugs.gnu.org; 10 Jun 2022 14:30:17 +0000 Received: from localhost ([127.0.0.1]:50937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzfeS-0000Ug-4D for submit@debbugs.gnu.org; Fri, 10 Jun 2022 10:30:17 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:33696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzbp4-00006l-Qq for 55863@debbugs.gnu.org; Fri, 10 Jun 2022 06:24:59 -0400 Received: by mail-qv1-f48.google.com with SMTP id 89so799839qvc.0 for <55863@debbugs.gnu.org>; Fri, 10 Jun 2022 03:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tnC/c+KiqnIGi02U0aOFls4QvZIZOefxfzJdar4fSDs=; b=DjAcSPyHjhqBCgxnAs0tHe4eCTcx9Lr9Ebh1cjb+cVEVBZItfs6QZXxrc/Ql2I9/eT E2pcP3we7Rn3xIIRh034JyF8t+myIshYan9yoljyHn0WA/DQN4zCrJZt4vcNZQt01d6y i8RUWPunfmdrKn2tyuFTv4ncb1ccPoIOqpg7EKKVqmTjmNmAW1VaLm6odVINS+izkaPz LfhT9ICT0gr/hPJ+WawrVr+xStiANAfG7a09pJOr3ZOCXdJETEe4ySWGRHz0sfY4sl/G j1ouiugwGvHyA7QSwlgIEvv3fzwjiFrf1MoVAVwL3+xLt3t0XTGsm06CCfPBFFz/MNnP 3b1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tnC/c+KiqnIGi02U0aOFls4QvZIZOefxfzJdar4fSDs=; b=64C7u2HUrWEsoYIeQwtvc2IE4T4mK6jBj5WLddiAuyq5KmoTFx78e0u6ZhXc9e5TWJ I2bm9M3y2DODemf96BUNofVTCWHkqmcUYRrc0zSVHH0rlBy2JBqWeT5xuOMT+xh5Nzlc qRFU2D19kLiQWvHefHx4h95RqB0BOcnsCdrK+1mOXrhWorojILdoDapvj3dG3G/57iWS k54yrxEIYkENs9GAsBOfCRb9HKFYr7yuFzvPhY/33MM/lvWVRg6gqxnJ+xOENPYcclIR 0D/oqI83Zmp3IvGOFg1+ynGFaBnauUzL2ZiSOVz+J3S7EP7oCZ+Io/+G+hXuRaGB8I+I 6B/g== X-Gm-Message-State: AOAM533Gc2qfgnemZBvbUv9p8s8NmXNLlE0cuJbygwg0Z1DEm8qPp/MC VZUmECLAMtpsjYqYZTH+fqE= X-Google-Smtp-Source: ABdhPJynVF1q8VcYRY087vhJ00q7XmJvCS/vkW2tngxwEYucEir7/uswwuDIpI5wtmeJ5BjTb+YH6Q== X-Received: by 2002:a05:6214:248a:b0:464:5f79:e9ea with SMTP id gi10-20020a056214248a00b004645f79e9eamr40707518qvb.47.1654856693246; Fri, 10 Jun 2022 03:24:53 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id d5-20020a05620a240500b006a6b1630e95sm7056712qkn.45.2022.06.10.03.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 03:24:52 -0700 (PDT) From: dick To: Lars Ingebrigtsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> <875yl8x40c.fsf@gnus.org> <874k0s4yyx.fsf@dick> <87v8t8u92q.fsf@gnus.org> Date: Fri, 10 Jun 2022 06:24:52 -0400 In-Reply-To: <87v8t8u92q.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 10 Jun 2022 12:06:05 +0200") Message-ID: <87zgik3jez.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 X-Mailman-Approved-At: Fri, 10 Jun 2022 10:30:11 -0400 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I'm down for burying on "q" so long as subsequent debug's don't generate-new-buffer to admit *Backtrace<2>* and *Backtrace<3>*. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 10:30:19 2022 Received: (at 55863) by debbugs.gnu.org; 10 Jun 2022 14:30:19 +0000 Received: from localhost ([127.0.0.1]:50939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzfeT-0000Uo-7t for submit@debbugs.gnu.org; Fri, 10 Jun 2022 10:30:19 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:34478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzczH-0004LU-Ly for 55863@debbugs.gnu.org; Fri, 10 Jun 2022 07:39:36 -0400 Received: by mail-qt1-f175.google.com with SMTP id c8so19125056qtj.1 for <55863@debbugs.gnu.org>; Fri, 10 Jun 2022 04:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8cy5GX/SR4f2ODIRq02xa/YS99kydhbZZOyt5eUMMCQ=; b=eTcuDD/Ezy8womvj35LhUJAQgI/3stGKbMy/57fCr4o2XS326GVWzi4v/youwLiFmO 2H6rOc3M6nLU82hGioSC/Sa3fIK+K+dUkwWZ3JnvlapOMb+1boZPsayOvPUi2C8qoEQE Ebwr/0NXvTh5/KAVpEaiU1stKzlpncBXWAVvTbAumFMHUMb3cXPufck9cRHiUm9WYeDl wJgSW2VHfSlhB88ecMBT15kvSa6lqMxtNw+QwJZiDavhSNuBPi39tS5M82dohXd65Odt m0+vUAnyCDd9HCl0narVF0BjJElFInEzt004rvWA7a4b3sWYJwMbgwmhcYIJD1WVmjRr DY5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8cy5GX/SR4f2ODIRq02xa/YS99kydhbZZOyt5eUMMCQ=; b=dIXuyoI+V4IHlBBgTMwkZ1JR/Fpe67fk5N8qM6Q00lPtx6ZOsQSZ+K+uPX8RZgBRBr MJWE/lRDeiA0IwSR3CJ7aSgU4HXfV0eEGIGZoK6xjF0gGz7S9dY+29aqrLqvprn3fCmS VLnzXiqFr69OPjXf/eemefRNSthozO8tLvHxwWGz36mNfwKI74r2w9Wbp0rcmuJaZQA8 eAcX0ILDo1LPin+99S/4UXkUQZyuoF4r4HCcib4qHiBIsd4Vk95hdLfEUABICnHbBK1a lMHEG4CKooLksH4YSA/yhbaz6VVCmdjC8IUgAa02Y0Z8vLwXu/ZGXclWkTfvFueq0Gza yANA== X-Gm-Message-State: AOAM532y4rfnchpsiC83a5a3C5ZAiAdjTGIrNGajK43m3WMhS0hTru6s ybeJZQGvGpWrl+uwVds1/V2jwWul2zU= X-Google-Smtp-Source: ABdhPJwqHjT7Sn4IXWG8KSOFAk57M0mTAiy7fEcez31+dH+AIVb39f13PAUSjoss57KLRwT9h3y7rw== X-Received: by 2002:ac8:5b51:0:b0:305:1aa7:1aab with SMTP id n17-20020ac85b51000000b003051aa71aabmr2527369qtw.616.1654861169879; Fri, 10 Jun 2022 04:39:29 -0700 (PDT) Received: from localhost (pool-96-232-253-158.nycmny.fios.verizon.net. [96.232.253.158]) by smtp.gmail.com with ESMTPSA id d16-20020ac86690000000b00304e90f66f7sm11900147qtp.70.2022.06.10.04.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 04:39:29 -0700 (PDT) From: dick To: Lars Ingebrigtsen Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> <875yl8x40c.fsf@gnus.org> <874k0s4yyx.fsf@dick> <87v8t8u92q.fsf@gnus.org> <87zgik3jez.fsf@dick> Date: Fri, 10 Jun 2022 07:39:28 -0400 In-Reply-To: <87zgik3jez.fsf@dick> (dick's message of "Fri, 10 Jun 2022 06:24:52 -0400") Message-ID: <87leu4bvdb.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55863 X-Mailman-Approved-At: Fri, 10 Jun 2022 10:30:11 -0400 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) So I set about replacing kill-buffer with bury-buffer, then demoting the *Backtrace* buffer from debugger-mode to backtrace-mode, and realized maybe kill-buffer is best. The confusion is we're accustomed to "q" as a passive bury, when in fact "q" in debugger-mode corresponds to the highly un-passive "debugger-quit". To emphasize that, perhaps "q" in debugger-mode should be gated by an "Are you sure?" yes-or-no-p. Toting around old *Backtrace* buffers is fraught. As GNU is really a preservationist society moonlighting as software developers, I expect I am, as usual, in the minority and will bow out of this particular discuz. >>>>> dick writes: > I'm down for burying on "q" so long as subsequent debug's don't > generate-new-buffer to admit *Backtrace<2>* and *Backtrace<3>*. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 08:39:21 2022 Received: (at 55863) by debbugs.gnu.org; 14 Jun 2022 12:39:21 +0000 Received: from localhost ([127.0.0.1]:33391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15pI-0003FN-Si for submit@debbugs.gnu.org; Tue, 14 Jun 2022 08:39:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15pG-0003F7-7W for 55863@debbugs.gnu.org; Tue, 14 Jun 2022 08:39:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hUbfltV43J6VKTaDaDhsiQtI08LnWqEk9wXtcdLehYg=; b=TwMEZEIJFIMVSv9FK9rwwgBj8X vR116UNV1vQPLW+zWoHP1SNokOAA3c9JsFdoGalIukUGj981ollHqcsJ9az0iMtuoYegY+iH3uhPT OwsqwtxePcuObOq5UOB/ty0J61N788mpTF5BgKtLuliYxwU5AGO0Qf8hfd6Fw1FDt3ZE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o15p7-0006Vy-3K; Tue, 14 Jun 2022 14:39:11 +0200 From: Lars Ingebrigtsen To: dick Subject: Re: bug#55863: 29.0.50; [PATCH] Avoid hanging chad of *Backtrace* References: <877d5qetfm.fsf@dick> <874k0u6lhv.fsf@gnus.org> <87czfi3pyu.fsf@dick> <864k0teq3y.fsf@mail.linkov.net> <877d5pwsrx.fsf@ericabrahamsen.net> <878rq54omf.fsf@dick> <875yl8x40c.fsf@gnus.org> <874k0s4yyx.fsf@dick> <87v8t8u92q.fsf@gnus.org> <87zgik3jez.fsf@dick> <87leu4bvdb.fsf@dick> X-Now-Playing: Coil's _Heartworms_: "Refusal Of Leave To Land (Early)" Date: Tue, 14 Jun 2022 14:39:07 +0200 In-Reply-To: <87leu4bvdb.fsf@dick> (dick's message of "Fri, 10 Jun 2022 07:39:28 -0400") Message-ID: <87pmjbmnbo.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dick writes: > So I set about replacing kill-buffer with bury-buffer, then demoting > the *Backtrace* buffer from debugger-mode to backtrace-mode, and > realized maybe kill-buffer is best. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55863 Cc: 55863@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) dick writes: > So I set about replacing kill-buffer with bury-buffer, then demoting > the *Backtrace* buffer from debugger-mode to backtrace-mode, and > realized maybe kill-buffer is best. Ah, we already have a nice mode for "dead" backtrace buffers like this (i.e., where `e' and friends don't work), so that makes it even easier. So I've now done this on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 08:39:25 2022 Received: (at control) by debbugs.gnu.org; 14 Jun 2022 12:39:25 +0000 Received: from localhost ([127.0.0.1]:33394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15pN-0003Fd-3y for submit@debbugs.gnu.org; Tue, 14 Jun 2022 08:39:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15pK-0003FE-Lx for control@debbugs.gnu.org; Tue, 14 Jun 2022 08:39:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=W7364U8rNZCJZSXutJpLBE6sOWl47ciG3f0pl4s0RR0=; b=cm0/N92xIpfrw6mSmyE/GDtiyI CKJ5v8xLRmsAVD77Odd41wKwvWHiGamHtcWd9xTWKM+3swGSWI+d51boD94Pl1mqEoTLGZ8LXTcoI el3KM9O9P6JOs2199qd/e9jmUcnWBFOprc4FXh36nfH0W8AqXM+n99YtB1lpJ6Yq4B4k=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o15pC-0006W8-UM for control@debbugs.gnu.org; Tue, 14 Jun 2022 14:39:17 +0200 Date: Tue, 14 Jun 2022 14:39:13 +0200 Message-Id: <87o7yvmnbi.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55863 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55863 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 55863 29.1 quit From unknown Sat Sep 20 14:55:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator