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: Stefan Monnier
Subject: bug#15670: 24.3; dummy user-errors on info nodes without prev/next nodes
Date: Mon, 21 Oct 2013 13:16:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>   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?


        Stefan





reply via email to

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