From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#24616: 26.0.50; No backtrace when emacsclient --eval fails Date: Tue, 4 Oct 2016 20:02:54 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mKiPdoc2QpOPIDW4xtKWDjTgmLGHuNOBQ" X-Trace: blaine.gmane.org 1475625881 11351 195.159.176.226 (5 Oct 2016 00:04:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 00:04:41 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Cc: 24616@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 02:04:37 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 1brZh5-000078-U9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 02:04:20 +0200 Original-Received: from localhost ([::1]:45814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brZh4-0006xO-FG for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2016 20:04:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brZgt-0006us-GU for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 20:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brZgp-0006zd-7T for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 20:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brZgo-0006zH-Vt for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 20:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1brZgo-0005uW-PT for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2016 20:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2016 00:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24616 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24616-submit@debbugs.gnu.org id=B24616.147562580122638 (code B ref 24616); Wed, 05 Oct 2016 00:04:02 +0000 Original-Received: (at 24616) by debbugs.gnu.org; 5 Oct 2016 00:03:21 +0000 Original-Received: from localhost ([127.0.0.1]:45012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brZg9-0005t4-9o for submit@debbugs.gnu.org; Tue, 04 Oct 2016 20:03:21 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:54841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brZg8-0005sq-En for 24616@debbugs.gnu.org; Tue, 04 Oct 2016 20:03:20 -0400 Original-Received: from [18.189.86.169] ([18.189.86.169]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0Lw1TZ-1ap5PX1wTN-017l6g; Wed, 05 Oct 2016 02:03:02 +0200 In-Reply-To: X-Provags-ID: V03:K0:jgWBjYyFK6t3gzr+cv1JVtQjc4pkoZH9AsEDOdZ5yb6HlbG7Req +Kd63IDIpbOIBpVxdckLRb5A04+KjbHK3Do89LusUPNWHg9q6SAr4nzrrEa+nDUYf+RrSTS cnBpPxHSbJLcKCPUiMJEG+5dmeSuqKvy88fvYmea0a2f8fYmqJ9iY///FY9fBJALWdm/W4G i85FqM9gB4R37w1IdPWFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:tsT1mZMgXjM=:t3eaf9Jg+lhy7J16Bi4vVZ Im8CMfTvm656t007wZcDwfnRw7NWaaNF9XDgqHur4r9Bj+UfZ/NjrjCKQgmzJ+ss5HoNp/Pym RSC72MgfA0qpoTTPhPI02ghlIv3ZFQZdWQ6BYtiK5l92zkOj6Hwp/XBKsOW4HOiA6NGEGKCss 76a0Sqofy975v4o9kF/fiRf7Liyuv5fWtRW6PrHH16KVRp6BX5a3WfQ2cCElS2c6jKUOWif5O XzSTJR+++CmyEEQp9x2oxkP1OqEuNKU/s3fi+mIfTiwNTmQen7PfvurZcqFgMdcdB5xuszDeP UYkLR+J+VG930j6UyBtIGfxXuqnrT+Pi0VCkLEef2AZ1W44PLUjDPvDt9d1XCBj+W1BL4uCEI FXMpBw3jJ/vato27Y/s6o3JOyxtsMK6lr3lq4S31HZgFAknQw09S+OdmmfAWi30ktHIVXea7L KihO3wG/fNxTHVXSGQ9wH17wAJdoaaiQABI/zUbl5OVZV1j6xf/AUBazDbWewguCT0Lb25ELR w5PENuSW47nnJ3/oYJ3wTDh8FsRQK2T3DRz5hIHaQs2WDf2NJafgNGtbaL1t/i1ElUcoPtlIG Vn88yf1NpRzv9W+8JDF12WWuDIpDy+HTQvQPiumLQYflEvF4MckCzvPaDrBUNRzwBncyAwZLs lo7+PHcBMiP0QpSIzKfB3dnPMBcPwKnC7SroW30QX8Jroyo4TAMktdr90ud3QgG2vP3o= 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:124077 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mKiPdoc2QpOPIDW4xtKWDjTgmLGHuNOBQ Content-Type: multipart/mixed; boundary="CxLTs1IxV32JXFnho2RokmjfRqIR9OGRL"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Noam Postavsky Cc: 24616@debbugs.gnu.org Message-ID: Subject: Re: bug#24616: 26.0.50; No backtrace when emacsclient --eval fails References: In-Reply-To: --CxLTs1IxV32JXFnho2RokmjfRqIR9OGRL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-10-04 19:50, Noam Postavsky wrote: > On Tue, Oct 4, 2016 at 6:28 PM, Cl=C3=A9ment Pit--Claudel > wrote: >> On 2016-10-04 16:52, Noam Postavsky wrote: >>> On Tue, Oct 4, 2016 at 12:30 PM, Philipp Stephani wrote: >>>> >>>> Start the server. >>>> Then run e.g. >>>> >>>> $ emacsclient --eval '(progn (defun f () (error "foo")) (setq debug-= on-error t) (f))' >>>> *ERROR*: foo >>>> >>>> Note that there's no backtrace. This makes it almost impossible to d= ebug >>>> problems when using emacsclient. >>>> >>> >>> Just a note: you can get a backtrace by setting debug-on-signal >>> instead of debug-on-error. >> >> Really? >> >> $ emacsclient --eval '(progn (defun f () (error "foo")) (setq debug-on= -signal t debug-on-error t) (f))' >> *ERROR*: foo >> >> Am I missing something obvious? >=20 > The backtrace shows up in Emacs, where the server is running. Thanks for clarifying! --CxLTs1IxV32JXFnho2RokmjfRqIR9OGRL-- --mKiPdoc2QpOPIDW4xtKWDjTgmLGHuNOBQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX9EMvAAoJEPqg+cTm90wjJtUQAIMoXguo/iIWHw/U1EPtIh4K PJPezAIg/6WXQSHxyj3ni/3e+mnRLrOJU9evgZ+pW9HOA6skjTgk+jFptk8J/fHA b4D1+Sa69xr83tYNGyHE0Pd1/3tZIuB/dl4vPz3TIivgs6RX9Z6jkU32shfLWT2o yGB0ta9PpEmIekia2xv+AmwEThT7BGiPwzCwHiEKKDgTxSIEEXdsAm5H0BOUCZnc Gmsvf6PWX99W7nfdUlcD985kayVa8KqKe2uCI+oeEA+PQYKVPUr6s9DPHwcFCl9Q 5lGT6S4mdKukwJbuTgVJ0E9BsOXbSmtAviDH019caIYr9qtJpvBbmRREp0gBnprd 1mjx0mQhewF1Kjoiocpvc29olWaigi/AilFzL1REoCbvTT4xDPFNkggxiUVlsfQE 17Uite+lv5LCsBRei6lp17eSNR9CbGkbADEVrnmFfH/dW4xOXbXJJu8yP4dtIHPU x0sMrrOnneUkZNyj37C8hbJ8xk8AEJ3+miWj4AZIlF9CdTSp7hnWpsMchmjt5y3s JxkfEhlJBCPHApFtATaasZMkc8urJx5sy4RohEo+xoGVEXsq0LexcyL9kdcuGpbU NtdDIHzQB1tn4KdSV66o+Int7dIOojH8i+NjYLazYHEZrne3gYtwl8erPvVIrkT/ Pdk5GjsU0tPFvZO2G2de =cBWe -----END PGP SIGNATURE----- --mKiPdoc2QpOPIDW4xtKWDjTgmLGHuNOBQ--