[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18308: 24.4.50; Info viewer cannot follow menu entry for '(texinfo)
bug#18308: 24.4.50; Info viewer cannot follow menu entry for '(texinfo) @- @hyphenation'
Thu, 21 Aug 2014 17:12:13 +0300
> From: Vincent Belaïche <address@hidden>
> Date: Thu, 21 Aug 2014 10:45:11 +0200
> Cc: Vincent Belaïche <address@hidden>
> In texinfo manual, info node `(texinfo) Breaks', if I set pointer on
> third menu entry and type RET, the I get message:
> user-error: No such node or anchor: @- @hyphenation
This is not an Emacs bug, it's a bug in the Texinfo manual. For some
reason, it sometimes refers to this node as "@- @hyphenation" (with 2
spaces), and sometimes as "@- @hyphenation" (with only 1 space). The
menu uses the former, while the node name uses the latter. So Emacs
cannot find the node.
> However, if I type '3', then I go to the wanted node.
That's because the command bound to '3' normalizes the whitespace in
the node name. I don't know why it does that, but that code exists
since about forever.
Maybe we could consider normalizing the whitespace in the 1st case as
well, but that's just a work around for a buggy manual.