From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#37352: 27.0.50; recursive-edit aborts on elisp error after evaluation Date: Sun, 22 Sep 2019 12:39:31 -0400 Message-ID: <871rw89tfg.fsf@gmail.com> References: <86woeh6ho0.fsf@protected.rcdrun.com> <87muey95xs.fsf@gnus.org> <20190920190903.GA12634@protected.rcdrun.com> <87tv9665t8.fsf@gnus.org> <20190922125743.GJ5996@protected.rcdrun.com> <877e60wknp.fsf@gnus.org> <20190922130424.GK5996@protected.rcdrun.com> <87woe0v3tl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="14086"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Lars Ingebrigtsen , Jean Louis , 37352@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 22 18:40:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iC4uL-0003Uo-QM for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2019 18:40:21 +0200 Original-Received: from localhost ([::1]:47822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iC4uK-0006RK-0r for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2019 12:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iC4u4-0006R0-Sz for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 12:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iC4u3-0001Ri-5y for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 12:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iC4u3-0001Re-0n for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 12:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iC4u2-0005Mi-RW for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Sep 2019 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37352 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 37352-submit@debbugs.gnu.org id=B37352.156917038120587 (code B ref 37352); Sun, 22 Sep 2019 16:40:02 +0000 Original-Received: (at 37352) by debbugs.gnu.org; 22 Sep 2019 16:39:41 +0000 Original-Received: from localhost ([127.0.0.1]:34417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iC4th-0005Ly-8w for submit@debbugs.gnu.org; Sun, 22 Sep 2019 12:39:41 -0400 Original-Received: from mail-io1-f48.google.com ([209.85.166.48]:40373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iC4tf-0005Li-Is for 37352@debbugs.gnu.org; Sun, 22 Sep 2019 12:39:40 -0400 Original-Received: by mail-io1-f48.google.com with SMTP id h144so27572409iof.7 for <37352@debbugs.gnu.org>; Sun, 22 Sep 2019 09:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=BoST5Q+qTXCJ1/GnuPiqD6J8CBCxqEIdNtPU4P/fkYc=; b=bxzHsD9ge8BGgnSMe8+Ub6rKiasD4WDf2k2VhXE38yZu4n8pCrp/RhDxMOx3EOwYHy fJBiDQEdKa2xcGqIUymoZIcwaCMsONUwYl2eBn/bTmog0YC1RzGvM6eFFpnwW0yiMoC7 DdbeCWqZjBgrCzI0NWRire2ofkRqIQa4GeSlGAJruoM0IKE7o0u1gvxAjg1zsqRUMSvc RfTP7RqFr6UKKexWGtemFfVrGjKk4dkIc78gwgL5n0cRkyuLsej/nfeXHNFZuu4ofENp FLBjyOqp1yn5t68x0bDxMekCvF09J8lA8EyRk+Ch12rkoOgjOUTX5Yau7LZsO+BxXizd VYwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=BoST5Q+qTXCJ1/GnuPiqD6J8CBCxqEIdNtPU4P/fkYc=; b=Btd7VqP7xVolkUSOd+kPPXnc8AHerXUXoR6yz1rKINGB91JFNxdNCAAztz93jIG4gj qaVbWuFmRNtJxIwV2ii2fpaEzd29cWZ8dQo27VJZU3+DxG2c0WeiExZsL35hf1uR9m1J Yq0jiRg0n6NzWv9d6vtrr5W7JefWT43qZ7XEq1JvgcIO30seMKerjlZYrjKL/ufaCmqR XkAA4lu+RDFIoOgjG7Ta0yJZcjB31N4mSquXCyv8v5GBaatT9OxNddVXLsj25tFMtWhP +PGCWjFtgoxwH8MAI0g6noucZBLHe/L1G6D21BFbiFJc2/vohnOv24xSsupEnUjY9H9q YKgw== X-Gm-Message-State: APjAAAUxOi5j83bs+XGk1+/53tjyVQzkMbTN3V0Mj48cPEPrYpUI7pY6 3T4rF+D2VWxNTKIVmIXFwNoXwdCi X-Google-Smtp-Source: APXvYqydQPykEVB87br/3R0ANNOWoZB+7w2C4IxqkKXbgU12949ajocUqjNfOuO3OCCSGtLa/l+6Zw== X-Received: by 2002:a02:2941:: with SMTP id p62mr33398339jap.142.1569170373554; Sun, 22 Sep 2019 09:39:33 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id p26sm5850846iob.50.2019.09.22.09.39.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Sep 2019 09:39:32 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Sun, 22 Sep 2019 09:14:21 -0700 (PDT)") 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: 209.51.188.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:166920 Archived-At: On Sun, 22 Sep 2019 at 12:15, Drew Adams wrote: > > > I don't know why the `q' command in the debugging mode > > is defined that way. > > Uh, because it makes sense? =C2=A0The recursive edit > was entered only for use of the debugger. There are two recursive edits, one that the OP entered from their code (I assume for the edit-file-and-return-as-string stuff [1]), and a second nested one that happend after an error was signaled and the debugger was invoked. Then quitting the debugger exits both recursive edits, because q is bound to top-level in debugger-mode, and top-level aborts all recursive edits, not just the latest one. A possible solution might be to bind q to a command which quits recursive edits only up to the one that the debugger invoked. [1]: https://lists.gnu.org/archive/html/help-gnu-emacs/2019-08/msg00051.html