all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Shigeru Fukaya <shigeru.fukaya@gmail.com>
Cc: 17476@debbugs.gnu.org
Subject: bug#17476: 24.3.91; [PATCH] unimplemented info entry
Date: Mon, 12 May 2014 19:54:05 +0300	[thread overview]
Message-ID: <83y4y7os42.fsf@gnu.org> (raw)
In-Reply-To: <26CF6DFA759674shigeru.fukaya@gmail.com>

> From: Shigeru Fukaya <shigeru.fukaya@gmail.com>
> Date: Tue, 13 May 2014 00:54:29 +0900
> 
> Emacs info doesn't recognize info file entries without parentheses in
> dir node.  In Cygwin, libc and libm entries in dir are just like:;
> 
> * libc::            The ANSI C library.
> * libm::            An ANSI-C conforming mathematical library.

This is invalid Info.  Please ask Cygwin maintainers to fix that.

> Cygwin info command treat them as info files.

No, it doesn't.  A reference such as 'foo::' is parsed as a _node_
named "foo" in the 'dir' file.  Info then searches for such a node in
the file 'dir', and doesn't find it.  It then falls back on a kludgy
feature, whereby typing "info foo" from the shell prompt looks for a
_file_ 'foo' or 'foo.info', on the assumption that the
bozo^H^H^H^Huser forgot to type -f, as in "info -f foo".

IOW, the above dir file abuses a kludge in the Info reader introduced
to shut up all those who complain because they cannot be bothered to
invoke the reader as prescribed in the documentation.

In any case, this kludge is for invoking the Info reader from the
shell prompt, not for navigating inside Info files.  IOW, this is
actually a buglet in Info, which therefore can disappear without
notice.

> With the attached patch, Emacs regards the above format in a dir node
> as info file names.

This patch is incorrect.  It treats the dir file specially, whereas it
is simply an Info file with a menu, and nothing prevents the Cygwin
maintainers from putting such menu items in any other Info files.
More importantly, it tramps on a useful feature, whereby a reference
such as "foo::" is actually a shortcut for "(dir)foo::".

So I hope we will not accept this change.

But thanks for reporting the problem and for working on it.





  reply	other threads:[~2014-05-12 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 15:54 bug#17476: 24.3.91; [PATCH] unimplemented info entry Shigeru Fukaya
2014-05-12 16:54 ` Eli Zaretskii [this message]
2014-05-12 17:34   ` Eli Zaretskii
2014-05-12 17:53   ` Shigeru Fukaya
2014-05-12 18:20     ` Shigeru Fukaya
2014-05-12 18:30     ` Eli Zaretskii
2014-05-12 19:01     ` Andreas Schwab

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=83y4y7os42.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17476@debbugs.gnu.org \
    --cc=shigeru.fukaya@gmail.com \
    /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.