all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Lars Magne Ingebrigtsen' <larsi@gnus.org>,
	4142@debbugs.gnu.org, 'Jari Aalto' <jari.aalto@cante.net>
Subject: bug#4142: [PATCH] 23.1 info.el::Info-goto-node - Wrong type argument:stringp, nil
Date: Sat, 17 Sep 2011 21:17:55 +0300	[thread overview]
Message-ID: <87vcsrc9t8.fsf@mail.jurta.org> (raw)
In-Reply-To: <B31E45CB02F34F21ACAA93F3F4014E81@us.oracle.com> (Drew Adams's message of "Sat, 17 Sep 2011 07:19:38 -0700")

>> So I don't think this is an Emacs bug, but should be fixed in the
>> emacs-w3m manual instead.
>
> It would seem that the bug, or enhancement request, is that Emacs not have such
> a fragile way of recognizing an index node.

emacs-w3m.info dates 7 Jul 2006, so it's very unlikely that its authors
will fix the emacs-w3m Info manual in the near future.  So yes, we could
try making Info less fragile.

> Depending on the node name is a bit sophomorish, no?  We have lots of meta info
> that is not displayed to the user but is used for Info to do its job.  This
> sounds like another place where we should make use of that possibility.

The current situation in emacs-w3m is worse.  The Info reader recognizes
non-index nodes as index nodes, and vice-versa - index nodes as non-index nodes.

Currently a node is recognized as index based on its name solely.
If its name contains the word "Index", it's an index node, the same
is checked for its adjacent nodes.

Instead of checking the node name we could visit all nodes in the manual
with the name containing the word "Index" and check if the first menu item
has the format of index or not.

I believe this would be more reliable with no performance impact.





  reply	other threads:[~2011-09-17 18:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-14 17:35 bug#4142: [PATCH] 23.1 info.el::Info-goto-node - Wrong type argument: stringp, nil Jari Aalto
2009-08-14 22:29 ` Juri Linkov
2011-09-17  7:12   ` Lars Magne Ingebrigtsen
2011-09-17 14:19     ` bug#4142: [PATCH] 23.1 info.el::Info-goto-node - Wrong type argument:stringp, nil Drew Adams
2011-09-17 18:17       ` Juri Linkov [this message]
2011-09-18  7:32         ` Lars Magne Ingebrigtsen
2011-09-18  7:54           ` Drew Adams
2011-09-18 19:51             ` Juri Linkov
2011-09-18 21:07               ` Andreas Schwab
2011-09-18  8:05         ` Andreas Schwab
2011-09-18  8:06     ` bug#4142: [PATCH] 23.1 info.el::Info-goto-node - Wrong type argument: stringp, nil Andreas Schwab
2011-09-18 19:52       ` Juri Linkov

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=87vcsrc9t8.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4142@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=jari.aalto@cante.net \
    --cc=larsi@gnus.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.