From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24616: 26.0.50; No backtrace when emacsclient --eval fails Date: Sat, 22 Oct 2016 18:52:54 +0300 Message-ID: <83shropei1.fsf@gnu.org> References: <831szvmh6j.fsf@gnu.org> <877f90tmzu.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477151668 27777 195.159.176.226 (22 Oct 2016 15:54:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2016 15:54:28 +0000 (UTC) Cc: 24616@debbugs.gnu.org, clement.pit@gmail.com To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 17:54:23 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 1bxycd-00052h-Ab for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 17:54:11 +0200 Original-Received: from localhost ([::1]:37795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxycf-0007m2-J6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 11:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxycZ-0007lw-3c for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 11:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxycU-00076A-8I for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 11:54:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxycU-000766-56 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 11:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxycT-00016W-V2 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 11:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Oct 2016 15:54:01 +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: notabug Original-Received: via spool by 24616-submit@debbugs.gnu.org id=B24616.14771515964186 (code B ref 24616); Sat, 22 Oct 2016 15:54:01 +0000 Original-Received: (at 24616) by debbugs.gnu.org; 22 Oct 2016 15:53:16 +0000 Original-Received: from localhost ([127.0.0.1]:46505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxybk-00015S-1b for submit@debbugs.gnu.org; Sat, 22 Oct 2016 11:53:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxybi-00015E-7d for 24616@debbugs.gnu.org; Sat, 22 Oct 2016 11:53:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxybb-0006tO-TX for 24616@debbugs.gnu.org; Sat, 22 Oct 2016 11:53:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxybW-0006sO-Bh; Sat, 22 Oct 2016 11:53:02 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1828 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bxybV-0007nd-Ap; Sat, 22 Oct 2016 11:53:01 -0400 In-reply-to: <877f90tmzu.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:124839 Archived-At: > From: npostavs@users.sourceforge.net > Cc: 24616@debbugs.gnu.org, clement.pit@gmail.com > Date: Sat, 22 Oct 2016 11:35:49 -0400 > > Something like this? > > diff --git i/doc/lispref/debugging.texi w/doc/lispref/debugging.texi > index c88a2fa..bb3ced4 100644 > --- i/doc/lispref/debugging.texi > +++ w/doc/lispref/debugging.texi > @@ -152,6 +152,11 @@ Error Debugging > must still fulfill the criteria specified by @code{debug-on-error} and > @code{debug-ignored-errors}.) > > +For example, setting this variable is useful to get a backtrace from > +code evaluated by emacsclient. If elisp code evaluated by emacsclient > +signals an error while this variable is non-@code{nil}, the backtrace > +will popup in the running Emacs. > + Yes, but please mention "--eval", and add an index entry so that this text would be easier to locate. Something like this: @cindex emacsclient, getting a backtrace @cindex backtrace from emacsclient's @option{--eval} Also, a nit: I don't think we use "elisp" in the manual, we say "Lisp" instead. Thanks.