From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#26650: 26.0.50; Protect *Backtrace* from accidental killing Date: Tue, 25 Apr 2017 22:02:20 +0900 (JST) Message-ID: References: <871ssgvgof.fsf@calancha-pc> <87wpa8ofcc.fsf@users.sourceforge.net> <87shkwodmv.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1493125431 27050 195.159.176.226 (25 Apr 2017 13:03:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2017 13:03:51 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 26650@debbugs.gnu.org, Tino Calancha To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 25 15:03:47 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d308B-0006v3-3O for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 15:03:47 +0200 Original-Received: from localhost ([::1]:49289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d308G-0008Uq-VL for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 09:03:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d307X-0008DC-SH for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 09:03:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d307S-0008IY-Ce for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 09:03:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d307S-0008IU-95 for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 09:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d307R-0005pd-VU for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 09:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2017 13:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 26650-submit@debbugs.gnu.org id=B26650.149312535022381 (code B ref 26650); Tue, 25 Apr 2017 13:03:01 +0000 Original-Received: (at 26650) by debbugs.gnu.org; 25 Apr 2017 13:02:30 +0000 Original-Received: from localhost ([127.0.0.1]:38976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d306w-0005ov-DE for submit@debbugs.gnu.org; Tue, 25 Apr 2017 09:02:30 -0400 Original-Received: from mail-pf0-f195.google.com ([209.85.192.195]:33928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d306v-0005oi-1e for 26650@debbugs.gnu.org; Tue, 25 Apr 2017 09:02:29 -0400 Original-Received: by mail-pf0-f195.google.com with SMTP id g23so10300890pfj.1 for <26650@debbugs.gnu.org>; Tue, 25 Apr 2017 06:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=f1AThLDVN9JaYqWyeahpR/fmiI6Yxvws8S29ca72tK8=; b=IkBisr35D2hfhB5l69P4rKzKfeFqGHl0aNul1BarQ0J/H5kwon0tBKud8EuqKvCkuS kM9a4nqUgskex0tsXbfXtvrME0PTnTl+v4HK3f2LH9KbZiR64dqMGgviMAf7wo2tq0iX Z+HffbTXJBL+AiqExDm3qQnTGj9Ye7OvDXaW0aG0HdgteQJzXMTsXXqv1drYKXuniKW2 35oQZHJOVxuX06I2FUzw2MbRHM7D+jFflySbW4utMKROOsus1+KIrNEwGwZil5b3XWML abDbS74psysmHwQjRhByCT6e8ulprSrKtlyz/Ujp8fJg1+reuLYnyGwpnNua8/LGaFhI PLuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=f1AThLDVN9JaYqWyeahpR/fmiI6Yxvws8S29ca72tK8=; b=bnrGnvCa4qxQ1pPkGI56bm3ka3ANgZyWOmiYRN8wY0sPG5axoDIpRuf3iiAF+ETls0 qJWkVWynSp6yftE44zClKVfHMts6u618BzAyjc5EVuTlr6wGQLpFNDjm5XVYtKLmPprW VSVfGh7/+z9+KkMk3mV9rb1lYsHZxZ3q5PzI0cgwSQYNq531ysc6tmwlWGeuiFjzc0dK EntinjczwmR4b8O84YdAkCOBZJYFotQ8at3EQV2N3AHzewekmU9WZ2eHgRHSEiF2ToEg VqddHSjyzx9ZsxC8I88/2nU88gbwRrVjL5oTyv7XOnyaWclNu+rxABMPJoHrMsgHU6qb wXUQ== X-Gm-Message-State: AN3rC/6WBwZxIv4KRdWDrWQVc2seqKxzGcQLIjSK9F0KgeZjTWSJ3fTB 82MopDAjTqzzEQ== X-Received: by 10.84.191.228 with SMTP id a91mr38606398pld.62.1493125343230; Tue, 25 Apr 2017 06:02:23 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id s68sm36665606pfj.77.2017.04.25.06.02.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 06:02:22 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87shkwodmv.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131959 Archived-At: On Tue, 25 Apr 2017, npostavs@users.sourceforge.net wrote: > tags 26650 patch > quit > > Tino Calancha writes: > >>> >>> That's because you're still in the recursive edit, it's like evaluating >>> '(error "hi")' before hitting 'q' in the *Backtrace* buffer. You can >>> use C-M-c (exit-recursive-edit) to get back to normal. I think it would >>> make sense to do that automatically if you kill the *Backtrace* buffer. >> Yes, it would be useful. I don't know how, though. >> Sometimes i kill *Bactrace* from *Ibuffer*/*Buffer List* with the >> recursive edit still ongoing. It's a classical mistake. > > Actually, the obvious way of adding `top-level' (that's what 'q' does) > to `kill-buffer-hook' does protect *Backtrace* from killing. Good! It solves the issue.