[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info goto node with dot
From: |
Norbert Preining |
Subject: |
Re: info goto node with dot |
Date: |
Sat, 28 Jan 2006 22:18:47 +0100 |
User-agent: |
Mutt/1.3.28i |
On Fre, 27 Jan 2006, Karl Berry wrote:
> I briefly grepped through the source, and I think (no promises) the
> relevant code might be the horribly ugly test in skip_node_characters in
> search.c, if you feel like messing with it for a few minutes ...
Hmm it seems that you are right:
At the end of this function we have (essentially)
if (test1 || test2 || test3 || ....
||
(c == '.' && ((whitespace_or_newline (string[i + 1]))))
break;
So if "c == '.'" and "string[i+1]=' '" then we return the index of the
string.
So now there is the question:
What was the reason that node names cannot contain the sequence
". " or ".\t" etc
??
Is there another reason why this is there? I.e., are there other ways to
specify a node where it could be a problem if we say that ". " can be
contained in the Node name?
I don't know the internals of texinfo/info that strong, so please
enlighten me. Maybe allowing this would break recognizing nodes in other
places?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
OZARK (n.)
One who offers to help just after all the work has been done.
--- Douglas Adams, The Meaning of Liff
- info goto node with dot, Karl Berry, 2006/01/26
- Re: info goto node with dot, Eli Zaretskii, 2006/01/28
- Re: info goto node with dot, Norbert Preining, 2006/01/28
- Re: info goto node with dot, Karl Berry, 2006/01/28
- Re: info goto node with dot, Norbert Preining, 2006/01/28