bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15670: 24.3; dummy user-errors on info nodes without prev/next nodes


From: Michael Heerdegen
Subject: bug#15670: 24.3; dummy user-errors on info nodes without prev/next nodes
Date: Tue, 22 Oct 2013 03:17:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> >   signal(user-error ("Node has no Next"))
> >   user-error("Node has no %s" "Next")
> >   ad-Orig-Info-extract-pointer("next" nil)
> >   Info-extract-pointer("next")
> >   Info-check-pointer("next")
> >   redisplay_internal\ \(C\ function\)()
>
> > It's enough to start the info with C-h C-h r or C-h i to
> > make it happen.
>
> > Expected behaviour: no user-errors should be generated, when user makes
> > no errors.
>
> Hmm... indeed, but Info-check-pointer catches all errors:
>
>    (defun Info-check-pointer (item)
>      "Non-nil if ITEM is present in this node."
>      (condition-case nil
>          (Info-extract-pointer item)
>        (error nil)))
>
> so that should silence this user-error.
> What am I missing?

Has anybody tried to reproduce this error?  Note that the OP didn't hit
n for that to happen - it happend just while redisplaying.  I don't see
this for emacs -Q.  Could this be related to Emacsspeak?


Regards,

Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]