From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#18005: 24.4.50; In Emacs manual, tell users how to enter debugger for `user-error' errors Date: Fri, 29 Apr 2016 23:51:23 +0200 Message-ID: <87twiknkx0.fsf@gnus.org> References: <6261d1cf-2fa0-48a4-a8f0-0727d270c0f2@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461966763 18954 80.91.229.3 (29 Apr 2016 21:52:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 21:52:43 +0000 (UTC) Cc: 18005@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 23:52:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awGKr-0003Es-UY for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 23:52:30 +0200 Original-Received: from localhost ([::1]:56509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awGKo-0003HQ-AG for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 17:52:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awGKf-000367-8w for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:52:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awGKT-00085C-Ek for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:52:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awGKT-00084B-B8 for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:52:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awGKP-0002DN-QH for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2016 21:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 18005-submit@debbugs.gnu.org id=B18005.14619666898456 (code B ref 18005); Fri, 29 Apr 2016 21:52:01 +0000 Original-Received: (at 18005) by debbugs.gnu.org; 29 Apr 2016 21:51:29 +0000 Original-Received: from localhost ([127.0.0.1]:55994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awGJs-0002CK-Ts for submit@debbugs.gnu.org; Fri, 29 Apr 2016 17:51:29 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awGJq-0002CB-RP for 18005@debbugs.gnu.org; Fri, 29 Apr 2016 17:51:27 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awGJn-0003Op-SW; Fri, 29 Apr 2016 23:51:25 +0200 In-Reply-To: <6261d1cf-2fa0-48a4-a8f0-0727d270c0f2@default> (Drew Adams's message of "Sat, 12 Jul 2014 10:59:57 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117269 Archived-At: Drew Adams writes: > The only hint about how to make Emacs enter the debugger for errors > deemed `user-error' is this mention, buried in the > `debug-ignored-errors' entry of the Elisp manual: > > The normal value of this variable includes `user-error', as well > as several errors that happen often during editing but rarely > result from bugs in Lisp programs. However, "rarely" is not > "never"; if your program fails with an error that matches this > list, you may try changing this list to debug the error. The > easiest way is usually to set `debug-ignored-errors' to `nil'. > > (FWIW, wrt this text: Is it really necessary to point out that > users can want to enter the debugger for other reasons that > tracking down a Lisp bug?) > > It should be made *obvious* to users, in the *Emacs* manual, how to make > the debugger open for so-called "user errors". I think this belongs in the elisp manual, and the explanation there is fine. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no