all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: eliz@gnu.org, gmorris+emacs@ast.cam.ac.uk, karl@freefriends.org
Subject: Re: Info-index fails on node-name "~/.cvsrc"
Date: Thu, 22 Apr 2004 04:07:38 +0300	[thread overview]
Message-ID: <877jw84y79.fsf@mail.jurta.org> (raw)
In-Reply-To: <yjy8orfs4p.fsf@xpc14.ast.cam.ac.uk> (Glenn Morris's message of "Tue, 20 Apr 2004 00:46:30 +0100")

Glenn Morris <gmorris+emacs@ast.cam.ac.uk> writes on emacs-pretest-bug:
> emacs -q --no-site-file
> C-h i
> m cvs
> i .cvsrc RET
>
> Result: "No such node or anchor: ~/"
>
> The relevant index entry reads:
>
> * .cvsrc file:                           ~/.cvsrc.
>
> The standalone info reader [info (GNU texinfo) 4.1] has no problems
> with this.

The standalone info reader has no problems with this because its
skip_node_characters function contains "quite a bit of hair" to
ignore periods without whitespace after them.  But it still fails
on node names containing periods with following whitespace.

One possible solution is to extract node names up to the final period
ignoring all intermediate periods, e.g.

* J. Random Hacker:        J. Random Hacker.      (line  2)
                           ----------------

with the assumption that no index entries have more text after the node
name (except the line number in the new Info format).

I wouldn't want to make incompatible changes, so please tell, are there
such cases where it will not work for index entries?

-- 
Juri Linkov
http://www.jurta.org/emacs/

       reply	other threads:[~2004-04-22  1:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <yjy8orfs4p.fsf@xpc14.ast.cam.ac.uk>
2004-04-22  1:07 ` Juri Linkov [this message]
2004-04-22 16:59   ` Info-index fails on node-name "~/.cvsrc" Karl Berry
2004-04-25  4:35     ` Juri Linkov
2004-04-25 13:37       ` Karl Berry
2004-05-17 15:29       ` Glenn Morris
2004-05-18  6:18         ` Juri Linkov
2004-05-18  7:38           ` Eli Zaretskii
2004-05-18 11:28             ` Juri Linkov
2004-05-18 15:17               ` Eli Zaretskii
2004-05-18 15:38                 ` Karl Berry
2004-05-18 12:03           ` Glenn Morris
2004-05-19  6:17             ` Eli Zaretskii
2004-05-19 12:13               ` Glenn Morris
2004-05-19 20:11                 ` Eli Zaretskii
2004-05-19 13:27               ` Robert J. Chassell
2004-05-19 15:01               ` Stefan Monnier
2004-05-19 15:50                 ` Karl Berry
2004-05-19 16:04                   ` Stefan Monnier
2004-05-20  5:48                     ` Juri Linkov
2004-05-20 16:30                       ` Karl Berry
2004-05-21  8:08                         ` Juri Linkov
2004-05-21 13:31                           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877jw84y79.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=eliz@gnu.org \
    --cc=gmorris+emacs@ast.cam.ac.uk \
    --cc=karl@freefriends.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.