From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2' Date: Sat, 21 Jul 2012 11:47:55 +0300 Message-ID: <83sjcl7b5w.fsf@gnu.org> References: <30361DAB51FE4AC487EBA7C11AACB36C@us.oracle.com> <831uk688pk.fsf@gnu.org> <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1342860531 28919 80.91.229.3 (21 Jul 2012 08:48:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2012 08:48:51 +0000 (UTC) Cc: 11999@debbugs.gnu.org To: Drew Adams , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 21 10:48:50 2012 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 1SsVMj-0000vI-TG for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 10:48:46 +0200 Original-Received: from localhost ([::1]:35942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsVMj-00044A-3A for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 04:48:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsVMf-000444-Ut for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 04:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsVMe-0001Qw-S7 for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 04:48:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsVMe-0001Qq-Ou for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 04:48:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SsVSn-0006ux-RW for bug-gnu-emacs@gnu.org; Sat, 21 Jul 2012 04:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Jul 2012 08:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11999-submit@debbugs.gnu.org id=B11999.134286086126540 (code B ref 11999); Sat, 21 Jul 2012 08:55:01 +0000 Original-Received: (at 11999) by debbugs.gnu.org; 21 Jul 2012 08:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:53794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsVS8-0006u1-Qf for submit@debbugs.gnu.org; Sat, 21 Jul 2012 04:54:21 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40585) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsVS5-0006ts-OT for 11999@debbugs.gnu.org; Sat, 21 Jul 2012 04:54:19 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7I003005KVSN00@a-mtaout20.012.net.il> for 11999@debbugs.gnu.org; Sat, 21 Jul 2012 11:47:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7I003TV5RTMJ40@a-mtaout20.012.net.il>; Sat, 21 Jul 2012 11:47:54 +0300 (IDT) In-reply-to: <35D365A3D0D0487CB7928FB2A672541D@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62219 Archived-At: > From: "Drew Adams" > Cc: , <11999@debbugs.gnu.org> > Date: Fri, 20 Jul 2012 14:08:07 -0700 > > > You will need to explain more, because info-insert-file-contents first > > tests for the argument FILENAME, and if that does not exist, it tries > > FILENAME with every extension in Info-suffix-list, which includes > > ".info". > > > > In particular, this works for me on MS-Windows: > > M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET > > and loads emacs.info. Why doesn't it work for you? > > My bad. The difference turned out to be the use now of `user-error' instead of > `error'. Where I previously just saw a message saying there was no such node, > now Emacs puts me in the debugger, because I have non-nil `debug-on-error'. So how is one supposed to avoid entering the debugger on user-error, when debug-on-error is non-nil? > Going only by the doc string of `user-error', it seems that at least some of the > many changes from `error' to `user-error' in info.el (and beyond?) are > inappropriate. The doc string IMO does not tell enough, and there's no other documentation about user-error, neither in the ELisp manual nor in NEWS (which only mentions its existence). Stefan, could you perhaps provide some insight? What is a "pilot error" in this context, and how should Lisp programs use this new facility to (supposedly) provide better diagnostics and/or better error handling? > An index lookup of a term that is not in the index is in general NOT a "pilot > error". It is normal behavior on the part of users to look up terms in the > index, whether they happen to be there or not. I agree. But then it's unclear to me whether using 'error' in this case would be better. If you think it is, please tell why. > An index lookup that finds no hit is NOT "expected to be the result of an > incorrect manipulation on the part of the user, rather than the result of an > actual problem." Agree again, but again unsure how 'error' would be better. Maybe we need yet a 3rd kind of errors?