unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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 17:08:45 +0100	[thread overview]
Message-ID: <86a9e2oqgi.fsf@somewhere.org> (raw)
In-Reply-To: <83ob2jxqk1.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Fri, 07 Feb 2014 10:41:50 +0200")

Eli Zaretskii wrote:
>> From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
>> Cc: rgm-mXXj517/zsQ@public.gmane.org,  16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
>> Date: Fri, 07 Feb 2014 09:20:21 +0100
>> 
>> 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?
>
> It was possible before this commit:
>
>   http://lists.gnu.org/archive/html/emacs-diffs/2014-01/msg00130.html
>
> Now it isn't: the Emacs's own Info directory is always at the front,
> like Glenn told you in his response to your original bug report.
>
> However, you could perhaps rearrange Info-directory-list in an Info
> mode hook, or directly.  Or just overwrite the manuals that came with
> Emacs with your local ones.

Let's try to summarize:

- If I'm OK with having my Info files after the Emacs ones, I can use
  `Info-additional-directory-list' which serves that purpose.

- If I'm not OK with that, I must fiddle the value of
  `Info-directory-list', in the following way (which works in my case):

--8<---------------cut here---------------start------------->8---
  (with-eval-after-load "info"
    (setq Info-directory-list
          `(,(expand-file-name
              (concat (file-name-directory (locate-library "org"))
                      "../doc/"))
            "c:/cygwin/usr/share/info/"
            ,@Info-directory-list)))
--8<---------------cut here---------------end--------------->8---

So, what's the point of still having `Info-default-directory-list'???

In all cases, I'm not sure its docstring is right anymore:

  ╭────
  │ Default list of directories to search for Info documentation files.
  │ They are searched in the order they are given in the list.
  │ Therefore, the directory of Info files that come with Emacs
  │ normally should come last (so that local files override standard ones),
  │ unless Emacs is installed into a non-standard directory.  In the latter
  │ case, the directory of Info files that come with Emacs should be
  │ first in this list.
  ╰────

Or am I in the case where "Emacs is installed into a non-standard
directory"?  I have the impression that yes, it's so, if I look at the
mentioned consequences. But I don't have the impression it's installed
in a non-standard directory if I look at the Windows conventions (it's,
here, in C:\Program Files (x86)).

Best regards,
  Seb

-- 
Sebastien Vauban





      parent reply	other threads:[~2014-02-07 16:08 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
     [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 [this message]

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=86a9e2oqgi.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=16644-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.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).