From: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Info bug with @xref{Sample .emacs File, , , ccmode, the CC Mode Manual}.
Date: Sun, 11 Dec 2005 21:28:43 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.3.96.1051211202743.238C-100000@acm.acm> (raw)
In-Reply-To: <uu0df9zil.fsf@gnu.org>
On Sun, 11 Dec 2005, Eli Zaretskii wrote:
>> Date: Sun, 11 Dec 2005 18:37:49 +0000 (GMT)
>> From: Alan Mackenzie <acm@muc.de>
>> Whilst amending programs.texi (to incorporate changes from CC Mode
>> 5.31), I hit a problem with Info. I've inserted the cross reference:
>>
>> @xref{Sample .emacs File,,, ccmode, the CC Mode Manual}.
>> , and makeinfo'd it. When I load the info file, this xref fails with
>> the error message "No such node or anchor: Sample". [BTW: on the same
>> file.info, Emacs 21.3 says much the same: "No such anchor in tag table
>> or node in tag table or file: Sample".]
>The problem here is with your usage of Texinfo: node names cannot
>contain periods. The Texinfo manual says:
>
> * Unfortunately, you cannot use periods, commas, colons or
> parentheses within a node name; these confuse the Texinfo
> processors. Perhaps this limitation will be removed some day, too.
>
>So there you are: don't do that ;-)
Hey, that's not fair! We've had a node called "Sample .emacs File" in
the CC Mode manual since 22nd February 1995, and that was before I could
even spell "Emacs". ;-(
And, so far as I know, we've _NEVER_ had any problems with it. It has
simply worked. More to the point, makeinfo has never given a warning
about it.
Damn! :-)
By the way, WHY can't we have periods in node names? OK, we need commas
to separate the arguments of the @xref and info node, we need colons to
delimit the node name, we need parens to give an info filename. But why
periods? Over ten years of "@node Sample .emacs File" suggests that the
restriction isn't really necessary. What would break if the prohibition
on periods were tracked down and removed?
--
Alan.
next prev parent reply other threads:[~2005-12-11 21:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-11 18:37 Info bug with @xref{Sample .emacs File, , , ccmode, the CC Mode Manual} Alan Mackenzie
2005-12-11 19:58 ` Eli Zaretskii
2005-12-11 21:28 ` Alan Mackenzie [this message]
2005-12-12 0:58 ` Robert J. Chassell
2005-12-12 9:32 ` Alan Mackenzie
2005-12-12 20:59 ` Eli Zaretskii
2005-12-12 5:23 ` Richard M. Stallman
2005-12-12 5:39 ` Eli Zaretskii
2005-12-12 23:44 ` Karl Berry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.96.1051211202743.238C-100000@acm.acm \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).