From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7825: Cannot return from the debugger Date: Tue, 11 Jan 2011 16:32:00 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294783632 28249 80.91.229.12 (11 Jan 2011 22:07:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 22:07:12 +0000 (UTC) To: 7825@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 11 23:07:06 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcmMq-0004om-O0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 23:07:04 +0100 Original-Received: from localhost ([127.0.0.1]:50868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcmAa-0007Rg-9t for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 16:54:24 -0500 Original-Received: from [140.186.70.92] (port=41903 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcmAR-0007Pq-16 for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:54:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcmAO-00089Y-Mi for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:54:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcmAO-00089I-J2 for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:54:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PcliA-0007bW-N8; Tue, 11 Jan 2011 16:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jan 2011 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129478108429200 (code B ref -1); Tue, 11 Jan 2011 21:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jan 2011 21:24:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pclhr-0007au-Vh for submit@debbugs.gnu.org; Tue, 11 Jan 2011 16:24:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pclhp-0007ag-Fu for submit@debbugs.gnu.org; Tue, 11 Jan 2011 16:24:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pclp2-00038a-ED for submit@debbugs.gnu.org; Tue, 11 Jan 2011 16:32:10 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:60588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pclp2-00038W-9p for submit@debbugs.gnu.org; Tue, 11 Jan 2011 16:32:08 -0500 Original-Received: from [140.186.70.92] (port=49685 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pclp0-0007xR-Dq for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:32:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pcloy-00038A-QV for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:32:06 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:53275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pcloy-00037Y-Jv for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 16:32:04 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p0BLWGbh032526 for ; Tue, 11 Jan 2011 16:32:16 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 2B50EB4AAD; Tue, 11 Jan 2011 16:32:00 -0500 (EST) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 Jan 2011 16:25:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43268 Archived-At: Package: Emacs Version: 24.0.50 The limitation that we "Cannot return from the debugger in an error", is a bug: we should be able to continue (i.e. run the code of the corresponding error handler), just as if the debugger had not been invoked. Stefan In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-11-09 on faina Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t outline-minor-mode: t flyspell-mode: t eldoc-mode: t checkdoc-minor-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: f C-a C-k C-y M-< C-e C-a C-e C-c @ C-a M-d m e s s a g e m e s s C-/ C-/ C-/ C-/ C-a C-M-u C-M-u C-M-u C-M-u C-M-u C-M-u C-M-u C-h f c M-x r e p o r t - e m Recent messages: Mark set [2 times] Error during redisplay: (args-out-of-range 12341677 12387528) Contacting host: bazaar.launchpad.net:80 [3 times] Note: file is write protected Entering debugger... Mark set Undo! [4 times] Auto-saving... Continuing. Entering debugger... Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (mail-extr emacsbug message sendmail rfc822 mml mml-sec mailabbrev mailheader mm-decode mm-bodies mm-encode url-cache url-dav xml mail-utils url-http tls url url-proxy url-privacy url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-gw url-expand url-methods url-util etags reftex-parse autorevert doc-view jka-compr image-mode dired format-spec bibtex-style bibtex reftex-vcr reftex-dcr reftex reftex-vars tex-mode shell latexenc cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-french diary-lib diary-loaddefs mule-util cal-move cal-menu calendar cal-loaddefs log-edit pcvs-util whitespace sort mpc skeleton smie dabbrev modula2 parse-time autoconf autoconf-mode nroff-mode make-mode conf-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sh-script completion hideif cpp cmacexp texinfo add-log smerge-mode diff-mode cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs pcase macroexp compile bzrmerge cl-specs debug vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher multi-isearch executable copyright xscheme warnings trace testcover scheme byte-opt unsafep re-builder shadow inf-lisp ielm pp comint ring gmm-utils find-func elp edebug cust-print bytecomp byte-compile cus-edit cus-start cus-load wid-edit vc-bzr sha1 hex-util filecache server noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode electric url-handlers url-parse auth-source netrc gnus-util url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)