From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" 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:20:21 +0100 Organization: Sebastien Vauban Message-ID: <8638jvpc56.fsf@somewhere.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> <83vbwrxtvj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391761390 7712 80.91.229.3 (7 Feb 2014 08:23:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 08:23:10 +0000 (UTC) Cc: 16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Feb 07 09:23:17 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 1WBgiS-0002XN-Cd for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 09:23:16 +0100 Original-Received: from localhost ([::1]:40195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgiR-0000nr-Eb for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 03:23:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgiK-0000nb-CR for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 07 Feb 2014 03:23:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBgiE-00088k-NK for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 07 Feb 2014 03:23:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBgiE-00088g-Jj for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 07 Feb 2014 03:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBgiE-0008EC-4B for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 07 Feb 2014 03:23:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Fri, 07 Feb 2014 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 16644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16644-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B16644.139176135331586 (code B ref 16644); Fri, 07 Feb 2014 08:23:02 +0000 Original-Received: (at 16644) by debbugs.gnu.org; 7 Feb 2014 08:22:33 +0000 Original-Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBghk-0008DM-4C for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 07 Feb 2014 03:22:32 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:12191 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBghd-0008D3-AT for 16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 07 Feb 2014 03:22:29 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 9E8DF500B99; Fri, 7 Feb 2014 09:22:23 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: <83vbwrxtvj.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Fri, 07 Feb 2014 09:30:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:84806 Archived-At: Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Cc: rgm-mXXj517/zsQ@public.gmane.org, 16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org >> Date: Thu, 06 Feb 2014 23:10:14 +0100 >>=20 >> 1. Setting `Info-additional-directory-list', such in this MWE (just that >> to launch Emacs with, nothing else [1]): >>=20 >> --8<---------------cut here---------------start------------->8--- >> ;; Org-mode >> (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") >> ; modify the paths to suit yo= ur environment! >>=20 >> (setq Info-additional-directory-list >> `(,(expand-file-name >> (concat (file-name-directory (locate-library "org")) "../do= c/")) >> "c:/cygwin/usr/share/info/")) > > Any reasons why you use backticks here? In fact, no. That comes from a copy/paste of what I did with `Info-default-directory-list'. Useless indeed, but shouldn't matter. >> --8<---------------cut here---------------end--------------->8--- >>=20 >> 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'. OK, that's clear to me (now) for that one. >> 2. Setting `Info-default-directory-list', such in this MWE: >>=20 >> --8<---------------cut here---------------start------------->8--- >> ;; Org-mode >> (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") >> ; modify the paths to suit yo= ur environment! >>=20 >> (setq Info-default-directory-list >> `(,(expand-file-name >> (concat (file-name-directory (locate-library "org")) "../do= c/")) >> "c:/cygwin/usr/share/info/" >> ,@Info-default-directory-list)) >> --8<---------------cut here---------------end--------------->8--- >>=20 >> DOES CHANGE the variable `Info-directory-list', but my path is put >> AFTERWARD: >>=20 >> =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >> =E2=94=82 Its value is >> =E2=94=82 ("c:/Program Files (x86)/emacs-trunk/share/info/" >> =E2=94=82 "d:/Users/fni/Public/Repositories/org-mode/doc/" >> =E2=94=82 "c:/cygwin/usr/share/info/") >> =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >>=20 >> 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. >>=20 >> 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. I think I did, no!? The docstring says: - set `Info-default-directory-list', or - set INFOPATH environment variable. As I want to be able to easily use my Emacs in different machines, or even different OSes, I chose to set the `Info-default-directory-list' variable (one of the two choices adviced by the docstring), so that everything is in my `.emacs' configuration file. However, while I set the order of directories to be: 1. first the Info files from Org mode Git, then 2. from Cygwin tools, then 3. the ones built within Emacs, I expect to just get that in `Info-directory-list'. It isn't the case. So, is there a way to put my Info files before the ones from Emacs? Best regards, Seb --=20 Sebastien Vauban