unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gavin Smith <gavinsmith0123@gmail.com>
To: bug-gnu-emacs@gnu.org
Cc: Texinfo <bug-texinfo@gnu.org>
Subject: Re: Bug#793067: Bug#792328: info: can no longer find the Emacs manual
Date: Fri, 7 Aug 2015 13:27:36 +0100	[thread overview]
Message-ID: <CAKPWYQ3XCzt39mNEOsFRTUGsdfGFAvtYM=ShnbDzDJo3Ff8vvQ@mail.gmail.com> (raw)
In-Reply-To: <834mkbscxa.fsf@gnu.org>

I implemented an option in the standalone Info browser to search the
subdirectory containing the current Info file when following a
cross-reference to another manual, before searching through the Info
file search path. Emacs Info could have a similar option.

The variable is called "follow-strategy": in Emacs the variable could
be "Info-follow-strategy". The two possible values at the moment are
"remain" and "path". "remain" is the default: it means to try to
remain in the current subdirectory. The other is "path" which means
search through the search path, which was the previous default
behaviour. If you can think of better names please email.

The intention behind this change is to improve support for
installation of multiple versions of manuals at once. For example,
with a dir entry of

* Emacs-23: (emacs-23/emacs)Top.

and with files emacs-23/emacs.info, emacs-23/calc.info
doing "info Emacs-23" gives the emacs-23/emacs.info file. Then
following a cross-reference "*Note (calc)Top::." will find
emacs-23/calc.info, instead of whatever calc.info file was earlier in
the search path. Likewise there can be other subdirectories under the
main Info subdirectory for other versions, like "emacs-24" or
"emacs-25", containing the corresponding Info files.

This should be useful for projects like Emacs with many manuals that
all reference each other, and when finding the manual for the same
version is desirable.

This appears to provide the functionality that some users wanted, for
example the Debian maintainers. However, let me point out what this
doesn't accomplish:

* References to the "emacs" manual from outwith the "emacs-23"
subdirectory will not be capable of finding "emacs-23/emacs.info",
unless "emacs-23" is in the search path.
* Such dir entries cannot at present be automatically generated by
appropriately invoking install-info (the program to update dir files),
or by Automake-generated build systems that install Info files. So
there still isn't a convenient way to install and access multiple
versions of Info manuals at once.
* References to subdirectories in node specifications aren't treated
the way they need to be for this to work by the Info browser from the
Texinfo 6.0 release; this has been changed since then in the
development sources.

Please email bug-texinfo@gnu.org with any suggestions that could be
useful for the Texinfo project.

Eli Zaretskii asked me to file this bug report. I emailed
bug-gnu-emacs because M-x report-emacs-bug isn't set up to send emails
for me.



           reply	other threads:[~2015-08-07 12:27 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <834mkbscxa.fsf@gnu.org>]

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='CAKPWYQ3XCzt39mNEOsFRTUGsdfGFAvtYM=ShnbDzDJo3Ff8vvQ@mail.gmail.com' \
    --to=gavinsmith0123@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=bug-texinfo@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).