From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Starback Newsgroups: gmane.emacs.bugs Subject: ESC ESC ESC doesn't quit debugger Date: Thu, 20 Mar 2003 15:02:39 +0100 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200303201402.h2KE2dF09863@tempus.ling.uu.se> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048169064 3349 80.91.224.249 (20 Mar 2003 14:04:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 14:04:24 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 15:04:21 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18w0ea-0000rS-00 for ; Thu, 20 Mar 2003 15:04:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18w0ee-0003gD-03 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 20 Mar 2003 09:04:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18w0eE-0003EZ-00 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2003 09:03:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18w0e5-0002l0-00 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2003 09:03:51 -0500 Original-Received: from numerus.ling.uu.se ([130.238.78.148]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18w0e4-0001Tz-00 for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2003 09:03:49 -0500 Original-Received: from tempus.ling.uu.se[130.238.78.146]) by numerus.ling.uu.se (8.11.6/8.11.6) with ESMTP id h2KE2dl08902; Thu, 20 Mar 2003 15:02:39 +0100 Original-Received: (from starback@localhost) by tempus.ling.uu.se (8.11.6/8.11.6) id h2KE2dF09863; Thu, 20 Mar 2003 15:02:39 +0100 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4639 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4639 In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-18 on tempus configured using `configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: sv_SE.ISO8859-1 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.iso885915 locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t 1. emacs -q 2. f o o C-j I am put in *Backtrace* with "Debugger entered--Lisp error: (void-variable foo)" 3. ESC ESC ESC Result: I'm still in *Backtrace*, now with Debugger entered--Lisp error: (error "Cannot return from the debugger in an error") Expected result: I expected keyboard-escape-quit to get me out of the recursive edit. Additional comment: If you are a beginner who has entered the debugger by mistake, for example by typing "C-x C-e" by mistake, then the *Backtrace* buffer will only make you confused. There is no immediate information in it how to exit from it. Hopefully beginners have learned about ESC ESC ESC to get rid of "strange" stuff, which is why I think it's a problem that doesn't work here. Maybe eval-last-sexp should be disabled? Versions: This is in 21.2.95 as well. [this bug report is based on a real story]