From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24617: 26.0.50; Handlers in `condition-case' should have programmatic access to the backtrace Date: Tue, 04 Oct 2016 18:38:34 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475599165 31707 195.159.176.226 (4 Oct 2016 16:39:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2016 16:39:25 +0000 (UTC) To: 24617@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 18:39:21 2016 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 1brSkK-0006kW-JL for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2016 18:39:12 +0200 Original-Received: from localhost ([::1]:44218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSkJ-0000UK-6f for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2016 12:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSkC-0000Tr-9y for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brSkA-0007xl-UQ for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:39:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSkA-0007xd-RD for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1brSkA-0003FM-JL for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2016 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24617 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.147559913412460 (code B ref -1); Tue, 04 Oct 2016 16:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Oct 2016 16:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:44769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brSk2-0003Eu-6T for submit@debbugs.gnu.org; Tue, 04 Oct 2016 12:38:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brSk0-0003Ed-89 for submit@debbugs.gnu.org; Tue, 04 Oct 2016 12:38:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brSjt-0007rL-HR for submit@debbugs.gnu.org; Tue, 04 Oct 2016 12:38:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSjt-0007qC-Dx for submit@debbugs.gnu.org; Tue, 04 Oct 2016 12:38:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSjr-0000RA-10 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:38:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brSjp-0007pZ-Bt for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:38:42 -0400 Original-Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:35657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brSjo-0007oe-Jk for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 12:38:41 -0400 Original-Received: by mail-wm0-x22e.google.com with SMTP id f193so178000020wmg.0 for ; Tue, 04 Oct 2016 09:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3VjaI2neU65eTSUpRFFMMTUrGOKQvN5UlOz+c9FzyfY=; b=No+2dp/y9y+zNra7annM/b8OnPLQRkXwg8sqUMuEhdPp7p2vWf8bL3G2sXyvBbkM4T Jx/iLPV8dMZxaTR5iz+qNyTiA76YSdQoeIUoZUkeeG4TljLKEInWb7+d4wPTolmzvl9Q cPwKnvU5WdkV/fTDn3v0V9TGchyXDsO1S4R02talUJiBbYVbcl34Vi533bKX+8bfUk/S F9v6d+b7RsyWwztLwmdeoRk8ZnvIiZ/TnmmWwIgY1fGMda/xe5bqP6rI62xiQTumX3sX J5M7ABmF4AOifMzNVgmmA9P7rC+DARyQxMKGIqCV9ZFOUUg3QnJaOp5RXCeDeQLvayEK TviA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3VjaI2neU65eTSUpRFFMMTUrGOKQvN5UlOz+c9FzyfY=; b=hyYirc6w+bS4FwZgvzF9PxrWyqyLTrJQnVGmdQ4bdCyJkG/+YUDPB/K/LiEpO6e1lO GI2xwx0/Ryka5CjEtdM3or7DZNdhIxUUfKAQBRCGHSUjlZGA/xQOrxqKedPU5YjEF7UH bMH4x8SDlY6KixRCw6FY6MMw4rRZJVQhgohN6pKZ13bCHnHeMGdV79Tt5ALoxJ//aKA4 6MNvC2wCYZQNUswvMPk25XZm88BZhOxzv6kk0Qt+ni8bnBLgbnd3JH8/aHJqIf86s6D1 Ua3K1Ic0V310M6nBJ9lyDxjiIG7xTmpJ2yNg2Yx9O5IDlMgyFSVyAXBCRrsOFnLnI4w7 drOg== X-Gm-Message-State: AA6/9RlIQtMsFMY10LiFXeoMancgYb7QErRt2G19m1I8RMght9mIQdysGVuzzKhy83m7FA== X-Received: by 10.28.19.134 with SMTP id 128mr4985618wmt.40.1475599118744; Tue, 04 Oct 2016 09:38:38 -0700 (PDT) Original-Received: from a.muc.corp.google.com ([2a00:79e0:15:4:bd49:ce6e:c6fc:9780]) by smtp.gmail.com with ESMTPSA id q142sm25117871wmd.4.2016.10.04.09.38.38 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 04 Oct 2016 09:38:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:124054 Archived-At: Currently a handler in a `condition-case' form doesn't have access to the backtrace that was active when the signal was raised. This makes many useful things impossible, such as re-raising signals or returning the backtrace to emacsclient. I suggest either adding true exception objects (storing the error symbol, data, and backtrace), or at least providing a dynamic variable with the current backtrace. In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2016-10-04 built on localhost Repository revision: e2913dc880b9843bf69cf885270551bafeb46120 Windowing system distributor 'The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-modules --enable-checking --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 97780 8564) (symbols 48 20400 0) (miscs 40 325 144) (strings 32 17956 4891) (string-bytes 1 589476) (vectors 16 13791) (vector-slots 8 454059 6998) (floats 8 183 34) (intervals 56 214 0) (buffers 976 12) (heap 1024 50411 1118)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und l=C3= =B6schen Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do = not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.