all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: 16644@debbugs.gnu.org
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	[thread overview]
Message-ID: <83vbwrxtvj.fsf@gnu.org> (raw)
In-Reply-To: <867g97q4e1.fsf@somewhere.org>

> From: "Sebastien Vauban" <sva-news@mygooglest.com>
> 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.





  reply	other threads:[~2014-02-07  7:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 15:45 bug#16644: 24.3.50; Can't get Git Org mode info files before info files bundled with Emacs Sebastien Vauban
2014-02-05  5:50 ` Glenn Morris
2014-02-15  3:59   ` Glenn Morris
     [not found] ` <mailman.13758.1391579464.10748.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.13758.1391579464.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-05  8:19     ` Sebastien Vauban
2014-02-05  8:34       ` Glenn Morris
     [not found]         ` <4mppn2c600.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2014-02-05  8:55           ` Sebastien Vauban
     [not found]         ` <mailman.13779.1391590693.10748.bug-gnu-emacs@gnu.org>
     [not found]           ` <mailman.13779.1391590693.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-05 15:26             ` Sebastien Vauban
2014-02-05 15:46               ` Eli Zaretskii
     [not found]                 ` <83k3d91s1g.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-05 16:12                   ` Sebastien Vauban
2014-02-05 16:44                     ` Eli Zaretskii
     [not found]                       ` <83fvnx1pck.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-06 22:10                         ` Sebastien Vauban
2014-02-07  7:30                           ` Eli Zaretskii [this message]
     [not found]                             ` <83vbwrxtvj.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-07  8:20                               ` Sebastien Vauban
2014-02-07  8:41                                 ` Eli Zaretskii
     [not found]                                   ` <83ob2jxqk1.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-07 16:08                                     ` Sebastien Vauban

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=83vbwrxtvj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16644@debbugs.gnu.org \
    --cc=sva-news@mygooglest.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.