From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gavin Smith Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.bugs Subject: Re: Bug#793067: Bug#792328: info: can no longer find the Emacs manual Date: Fri, 7 Aug 2015 13:27:36 +0100 Message-ID: References: <87io8x6z7i.fsf@trouble.defaultvalue.org> <201508032155.t73LtVPb018995@freefriends.org> <20150803231023.GH17940@auth.logic.tuwien.ac.at> <834mkbscxa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1438950473 4572 80.91.229.3 (7 Aug 2015 12:27:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2015 12:27:53 +0000 (UTC) Cc: Texinfo To: bug-gnu-emacs@gnu.org Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Fri Aug 07 14:27:46 2015 Return-path: Envelope-to: gnu-bug-texinfo2@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNgkT-00024t-32 for gnu-bug-texinfo2@m.gmane.org; Fri, 07 Aug 2015 14:27:45 +0200 Original-Received: from localhost ([::1]:48980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNgkS-00084j-0V for gnu-bug-texinfo2@m.gmane.org; Fri, 07 Aug 2015 08:27:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNgkO-00084S-Sp for bug-texinfo@gnu.org; Fri, 07 Aug 2015 08:27:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNgkN-0007A8-Nv for bug-texinfo@gnu.org; Fri, 07 Aug 2015 08:27:40 -0400 Original-Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:37277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNgkK-00078k-LK; Fri, 07 Aug 2015 08:27:36 -0400 Original-Received: by igbpg9 with SMTP id pg9so30441126igb.0; Fri, 07 Aug 2015 05:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7oba9bv3y8+ICRT9+wUgqIyQoxhCOBzwt0nR07EpNyM=; b=IUZcz7s/9dZ7ZdVPbu+uPfHwaCDzXTpCM0jEPTlLbv0dXXUVA+YINSiFWqg7HvsbD0 SE6LO7tsR2ASJagiBzl1vae5h8adh10htHsu1XDCmH9ryVjgeQw6Gjxc6sa060GtxA+m wwCCqxH5+sNqEeIWo4mFAIxk1zUuuxOvbSj7B9Lqh93JYfESX/WC+fQ3+YFXM4+Zqj6e RerKK/+zExHwdnXREfasA6sVNlgCQ82j7G0T2zwjpK3E+UBTPgDt/r5ZvVE/3HSPRSgH eDbe9AtkZ2cW0YS3PiQ+9waI9iwtiU8DCyJyz0WAN2hSzuCrQ/zCrSJrTzColD02AR/P pfhw== X-Received: by 10.50.124.4 with SMTP id me4mr2564846igb.34.1438950456172; Fri, 07 Aug 2015 05:27:36 -0700 (PDT) Original-Received: by 10.36.87.204 with HTTP; Fri, 7 Aug 2015 05:27:36 -0700 (PDT) In-Reply-To: <834mkbscxa.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::229 X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Texinfo documentation system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Original-Sender: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Xref: news.gmane.org gmane.comp.tex.texinfo.bugs:7542 gmane.emacs.bugs:105345 Archived-At: 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.