GNU bug report logs - #11999
24.1.50; New Info file suffix ".info" breaks `Info-find-node-2'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 20 Jul 2012 16:21:01 UTC

Severity: normal

Found in version 24.1.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 11999 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 11999 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#11999: 24.1.50;
	New Info file suffix ".info" breaks `Info-find-node-2'
Date: Sun, 22 Jul 2012 05:50:29 -0400
> 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).

Can you be specific about what additional info you need?

> Stefan, could you perhaps provide some insight?  What is a "pilot
> error" in this context,

A error of the user rather than of the author of the code.

> and how should Lisp programs use this new facility to (supposedly)
> provide better diagnostics and/or better error handling?

user-error is just a standard "debug-ignored-error".  So instead of
using error plus adding the text of the error to debug-ignored-errors,
you can just user user-error.

If Drew gets a user-error that drops him in the debugger, it's because
he removed` user-error' from debug-ignored-errors.

>> 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." 

By "actual problem", I meant "a bug in the code", i.e. a problem that
can be fixed by correcting the code.


        Stefan




This bug report was last modified 12 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.