From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16644: 24.3.50; Can't get Git Org mode info files before info files bundled with Emacs Date: Fri, 07 Feb 2014 09:30:08 +0200 Message-ID: <83vbwrxtvj.fsf@gnu.org> References: <8661ourier.fsf@somewhere.org> <864n4egef9.fsf@somewhere.org> <4mppn2c600.fsf@fencepost.gnu.org> <861tzhbmy5.fsf@somewhere.org> <83k3d91s1g.fsf@gnu.org> <86k3d9a696.fsf_-_@somewhere.org> <83fvnx1pck.fsf@gnu.org> <867g97q4e1.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1391758268 6367 80.91.229.3 (7 Feb 2014 07:31:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 07:31:08 +0000 (UTC) Cc: 16644@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 08:31:15 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WBfu6-00050O-Qv for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 08:31:15 +0100 Original-Received: from localhost ([::1]:40024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBfu6-0002Gl-AH for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 02:31:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBfu0-0002Gc-Co for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:31:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBftu-000231-RA for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:31:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBftu-00022x-NS for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBftt-0005cL-VM for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 02:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 07:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16644-submit@debbugs.gnu.org id=B16644.139175821718464 (code B ref 16644); Fri, 07 Feb 2014 07:31:01 +0000 Original-Received: (at 16644) by debbugs.gnu.org; 7 Feb 2014 07:30:17 +0000 Original-Received: from localhost ([127.0.0.1]:54170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBftA-0004mg-B0 for submit@debbugs.gnu.org; Fri, 07 Feb 2014 02:30:16 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:42693) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBft4-0004e2-71 for 16644@debbugs.gnu.org; Fri, 07 Feb 2014 02:30:14 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N0M00B006YN8O00@mtaout29.012.net.il> for 16644@debbugs.gnu.org; Fri, 07 Feb 2014 09:32:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0M008EF7LHY640@mtaout29.012.net.il>; Fri, 07 Feb 2014 09:32:05 +0200 (IST) In-reply-to: <867g97q4e1.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84798 Archived-At: > From: "Sebastien Vauban" > Cc: rgm@gnu.org, 16644@debbugs.gnu.org > Date: Thu, 06 Feb 2014 23:10:14 +0100 > > 1. Setting `Info-additional-directory-list', such in this MWE (just that > to launch Emacs with, nothing else [1]): > > --8<---------------cut here---------------start------------->8--- > ;; Org-mode > (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") > ; modify the paths to suit your environment! > > (setq Info-additional-directory-list > `(,(expand-file-name > (concat (file-name-directory (locate-library "org")) "../doc/")) > "c:/cygwin/usr/share/info/")) Any reasons why you use backticks here? > --8<---------------cut here---------------end--------------->8--- > > has NO IMPACT on Info-directory-list (C-h v following an initial C-h i). It shouldn't: Emacs does not modify Info-directory-list using Info-additional-directory-list, it uses them both when appropriate, and searches Info-directory-list first, followed by Info-additional-directory-list. Like the doc string of Info-additional-directory-list says: List of additional directories to search for Info documentation files. These directories are searched after those in `Info-directory-list'. > 2. Setting `Info-default-directory-list', such in this MWE: > > --8<---------------cut here---------------start------------->8--- > ;; Org-mode > (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") > ; modify the paths to suit your environment! > > (setq Info-default-directory-list > `(,(expand-file-name > (concat (file-name-directory (locate-library "org")) "../doc/")) > "c:/cygwin/usr/share/info/" > ,@Info-default-directory-list)) > --8<---------------cut here---------------end--------------->8--- > > DOES CHANGE the variable `Info-directory-list', but my path is put > AFTERWARD: > > ╭──── > │ Its value is > │ ("c:/Program Files (x86)/emacs-trunk/share/info/" > │ "d:/Users/fni/Public/Repositories/org-mode/doc/" > │ "c:/cygwin/usr/share/info/") > ╰──── > > In both cases, I get the doc of Org mode 8.2.5c, the one built with the > Emacs from a couple of days ago. > > Don't you get the same results as me if you try the above recipe? These results are expected, I think. The doc string of Info-directory-list says, among other things: If you want to override the order of directories in `Info-default-directory-list', set INFOPATH in the environment. So I suggest to do just that.