From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Baden Subject: Installation via el-get: info not added correctly Date: Fri, 27 Jul 2012 12:06:34 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0421824d798f6304c5c7d6e6 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Subp2-0008G7-7g for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 00:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Suboy-00016Z-3z for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 00:06:40 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:52706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Subox-00016S-SG for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 00:06:36 -0400 Received: by lahi5 with SMTP id i5so2012739lah.0 for ; Thu, 26 Jul 2012 21:06:34 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --f46d0421824d798f6304c5c7d6e6 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm relatively new to both (the awesome) org-mode, el-get and emacs, so I think I just describe what problem I encountered when installing org-mode via el-get. Hopefully someone can point me into the right direction where to look (el-get or org-mode) in order to fix that problem. I just installed org-mode via the recipe provided with the current development version of el-get [1]. Org-Mode is installed correctly into emacs.d/el-get/org-mode and the docs can be found in the doc subfolder. The recipe [2] adds the doc to the info via the :info "doc" property. However, when going to the info browser with C-h i the org-mode docs cannot be found. In the doc subfolder there is a file called "org" (no filename extension), which looks like the info file. After doing a "cp org org.info" the org-mode info shows up in the info browser. What do you think, is the recipe flawed, that is should it point to "doc/org", or did the build process not build the org.info file correctly? Best regards, Markus [1] https://github.com/dimitri/el-get/ [2] https://github.com/dimitri/el-get/blob/master/recipes/org-mode.rcp --f46d0421824d798f6304c5c7d6e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I'm relatively new to both (the awesome) org-mode, el-get an= d emacs, so I think I just describe what problem I encountered when install= ing org-mode via el-get. Hopefully someone can point me into the right dire= ction where to look (el-get or org-mode) in order to fix that problem.

I just installed org-mode via the recipe provided with the current deve= lopment version of el-get [1]. Org-Mode is installed correctly into emacs.d= /el-get/org-mode and the docs can be found in the doc subfolder. The recipe= [2] adds the doc to the info via the :info "doc" property. Howev= er, when going to the info browser with C-h i the org-mode docs cannot be f= ound. In the doc subfolder there is a file called "org" (no filen= ame extension), which looks like the info file. After doing a "cp org = org.info" the org-mo= de info shows up in the info browser.

What do you think, is the recipe flawed, that is should it point to &qu= ot;doc/org", or did the build process not build the org.info file correctly?

Best regard= s,

Markus

[1] ht= tps://github.com/dimitri/el-get/
[2] https://g= ithub.com/dimitri/el-get/blob/master/recipes/org-mode.rcp
--f46d0421824d798f6304c5c7d6e6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Installation via el-get: info not added correctly Date: Fri, 27 Jul 2012 08:03:48 +0200 Message-ID: <87wr1p7naz.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sudec-0004Ku-E8 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sudeb-0005gY-B6 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:04:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:59831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sudeb-0005gU-3u for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:04:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SudeZ-0001Ep-6S for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 08:03:59 +0200 Received: from pd9eb3436.dip.t-dialin.net ([217.235.52.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jul 2012 08:03:59 +0200 Received: from Stromeko by pd9eb3436.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jul 2012 08:03:59 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Markus Baden writes: > I just installed org-mode via the recipe provided with the current > development version of el-get [1]. Org-Mode is installed correctly > into emacs.d/el-get/org-mode and the docs can be found in the doc > subfolder. The recipe [2] adds the doc to the info via the :info "doc" > property. However, when going to the info browser with C-h i the > org-mode docs cannot be found. In the doc subfolder there is a file > called "org" (no filename extension), which looks like the info file. > After doing a "cp org org.info" the org-mode info shows up in the info > browser. El-get for whatever reason seems to think that all info files have a ".info" suffix, but they appear to never check if that assumption is true. I don't understand how they set up the info tree further on from looking at the sources. File a bug report for el-get I'd say. The ".info" suffix has actually only been added quite recently with Emacs 24.1.50 and info continues to work correctly without any suffix, so I don't understand why el-get seemingly insists on it. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Baden Subject: Re: Installation via el-get: info not added correctly Date: Fri, 27 Jul 2012 14:21:24 +0800 Message-ID: References: <87wr1p7naz.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f234687b1df2a04c5c9b8b2 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SudvW-0006st-R9 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SudvR-0001zR-RZ for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:21:30 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:61070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SudvR-0001zH-JJ for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 02:21:25 -0400 Received: by lbjn8 with SMTP id n8so2151759lbj.0 for ; Thu, 26 Jul 2012 23:21:24 -0700 (PDT) In-Reply-To: <87wr1p7naz.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --e89a8f234687b1df2a04c5c9b8b2 Content-Type: text/plain; charset=ISO-8859-1 > > I just installed org-mode via the recipe provided with the current > > development version of el-get [1]. Org-Mode is installed correctly > > into emacs.d/el-get/org-mode and the docs can be found in the doc > > subfolder. The recipe [2] adds the doc to the info via the :info "doc" > > property. However, when going to the info browser with C-h i the > > org-mode docs cannot be found. In the doc subfolder there is a file > > called "org" (no filename extension), which looks like the info file. > > After doing a "cp org org.info" the org-mode info shows up in the info > > browser. > > El-get for whatever reason seems to think that all info files have a > ".info" suffix, but they appear to never check if that assumption is > true. I don't understand how they set up the info tree further on from > looking at the sources. File a bug report for el-get I'd say. > > The ".info" suffix has actually only been added quite recently with > Emacs 24.1.50 and info continues to work correctly without any suffix, > so I don't understand why el-get seemingly insists on it. > Thanks for the explanation. I filed an issue on github for that, see https://github.com/dimitri/el-get/issues/821 Regards, Markus --e89a8f234687b1df2a04c5c9b8b2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> I just installed org-mode via the recipe provided with the current
> development version of el-get [1]. Org-Mode is installed correctly
> into emacs.d/el-get/org-mode and the docs can be found in the doc
> subfolder. The recipe [2] adds the doc to the info via the :info "= ;doc"
> property. However, when going to the info browser with C-h i the
> org-mode docs cannot be found. In the doc subfolder there is a file > called "org" (no filename extension), which looks like the i= nfo file.
> After doing a "cp org org.info" the org-mode info shows up in the info
> browser.

El-get for whatever reason seems to think that all info files have a<= br> ".info" suffix, but they appear to never check if that assumption= is
true. =A0I don't understand how they set up the info tree further on fr= om
looking at the sources. =A0File a bug report for el-get I'd say.

The ".info" suffix has actually only been added quite recently wi= th
Emacs 24.1.50 and info continues to work correctly without any suffix,
so I don't understand why el-get seemingly insists on it.

Thanks for the explanation. I filed an issue on github for that= , see https://gith= ub.com/dimitri/el-get/issues/821

Regards,

Markus
--e89a8f234687b1df2a04c5c9b8b2-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Installation via el-get: info not added correctly Date: Sat, 28 Jul 2012 14:13:55 -0400 Message-ID: References: <87wr1p7naz.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0444ed85eb76bf04c5e7cbd5 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvBWv-00036F-96 for emacs-orgmode@gnu.org; Sat, 28 Jul 2012 14:14:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvBWt-0007lR-PT for emacs-orgmode@gnu.org; Sat, 28 Jul 2012 14:14:21 -0400 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:41796 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvBWt-0007lH-LS for emacs-orgmode@gnu.org; Sat, 28 Jul 2012 14:14:19 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id B7C63B13F for ; Sat, 28 Jul 2012 14:14:17 -0400 (EDT) Received: from b-pb-sasl-sd. (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9C1A6B13C for ; Sat, 28 Jul 2012 14:14:17 -0400 (EDT) Received: from mail-we0-f169.google.com (unknown [74.125.82.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 1BAF7B139 for ; Sat, 28 Jul 2012 14:14:17 -0400 (EDT) Received: by weys10 with SMTP id s10so3061795wey.0 for ; Sat, 28 Jul 2012 11:14:16 -0700 (PDT) In-Reply-To: <87wr1p7naz.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz --f46d0444ed85eb76bf04c5e7cbd5 Content-Type: text/plain; charset=UTF-8 On Fri, Jul 27, 2012 at 2:03 AM, Achim Gratz wrote: > Markus Baden writes: > > I just installed org-mode via the recipe provided with the current > > development version of el-get [1]. Org-Mode is installed correctly > > into emacs.d/el-get/org-mode and the docs can be found in the doc > > subfolder. The recipe [2] adds the doc to the info via the :info "doc" > > property. However, when going to the info browser with C-h i the > > org-mode docs cannot be found. In the doc subfolder there is a file > > called "org" (no filename extension), which looks like the info file. > > After doing a "cp org org.info" the org-mode info shows up in the info > > browser. > > El-get for whatever reason seems to think that all info files have a > ".info" suffix, but they appear to never check if that assumption is > true. I don't understand how they set up the info tree further on from > looking at the sources. File a bug report for el-get I'd say. > Looking at this a bit this morning, I'm not sure that it is el-get (at least alone) that is insisting on the .info suffix. The portion of elisp in el-get that adds the .info suffix: #+begin_src emacs-lisp (if (string= (substring infofile -5) ".info") infofile (concat infofile ".info")) #+end_src (Side note, I did try a work around, https://github.com/SkydiveMike/el-get/commit/88920c84bbe4d814bae1e79cdda163315d8d8d24that doesn't work). Is only called if the ~dir~' file does not exist (and other conditions) and as part of creating a command string for ~/usr/bin/install-info~. Since an non-built (no execution of ~make~) Org mode Git clone has a ~dir~ file, this code is never called. I also don't believe that ~cp org org.info~ in ~$HOME/.emacs.d/el-get/org-mode/~ fixes things (I currently can't get the correct info to display using that). --f46d0444ed85eb76bf04c5e7cbd5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, Jul 27, 2012 at 2:03 AM, Achim Gratz <S= tromeko@nexgo.de> wrote:
Markus Baden writes:
> I just installed org-mode via the recipe provided with the current
> development version of el-get [1]. Org-Mode is installed correctly
> into emacs.d/el-get/org-mode and the docs can be found in the doc
> subfolder. The recipe [2] adds the doc to the info via the :info "= ;doc"
> property. However, when going to the info browser with C-h i the
> org-mode docs cannot be found. In the doc subfolder there is a file > called "org" (no filename extension), which looks like the i= nfo file.
> After doing a "cp org org.info" the org-mode info shows up in the info
> browser.

El-get for whatever reason seems to think that all info files have a<= br> ".info" suffix, but they appear to never check if that assumption= is
true. =C2=A0I don't understand how they set up the info tree further on= from
looking at the sources. =C2=A0File a bug report for el-get I'd say.
=

Looking at this a bit this morning, I'= m not sure that it is el-get (at least alone) that is insisting on the .inf= o suffix. The portion of elisp in el-get that adds the .info suffix:

#+begin_src emacs-lisp
(if (string=3D (s= ubstring infofile -5) ".info")
=C2=A0 =C2=A0 infofile
=C2=A0 =C2=A0 (concat infofile ".info"))
#+end_src

(Side note, I did try a work around,=C2=A0https://github.com/SkydiveMike/el-get/commit/88920c84bbe4d814bae1e79cd= da163315d8d8d24 that doesn't work).

Is only called if the ~dir~' file does not exist (a= nd other conditions) and as part of creating a command string for ~/usr/bin= /install-info~. Since an non-built (no execution of ~make~) Org mode Git cl= one has a ~dir~ file, this code is never called.

I also don't believe=C2=A0that ~cp org org.info~ in ~$HOME/.emacs.d/el-get/org-mode/~ fixes th= ings (I currently can't get the correct info to display using that).


--f46d0444ed85eb76bf04c5e7cbd5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Installation via el-get: info not added correctly Date: Sun, 29 Jul 2012 15:43:26 -0400 Message-ID: References: <87wr1p7naz.fsf@Rainer.invalid> Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/alternative; boundary="Apple-Mail=_A0999DF2-AE37-4378-AAF2-56B772FCA1F5" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvZOm-0001aC-SF for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 15:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvZOl-00082L-7H for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 15:43:32 -0400 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:47773 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvZOl-000810-20 for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 15:43:31 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mode Cc: Achim Gratz --Apple-Mail=_A0999DF2-AE37-4378-AAF2-56B772FCA1F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jul 28, 2012, at 2:13 PM, Mike McLean wrote: > On Fri, Jul 27, 2012 at 2:03 AM, Achim Gratz = wrote: > Markus Baden writes: > > I just installed org-mode via the recipe provided with the current > > development version of el-get [1]. Org-Mode is installed correctly > > into emacs.d/el-get/org-mode and the docs can be found in the doc > > subfolder. The recipe [2] adds the doc to the info via the :info = "doc" > > property. However, when going to the info browser with C-h i the > > org-mode docs cannot be found. In the doc subfolder there is a file > > called "org" (no filename extension), which looks like the info = file. > > After doing a "cp org org.info" the org-mode info shows up in the = info > > browser. >=20 > El-get for whatever reason seems to think that all info files have a > ".info" suffix, but they appear to never check if that assumption is > true. I don't understand how they set up the info tree further on = from > looking at the sources. File a bug report for el-get I'd say. >=20 > Looking at this a bit this morning, I'm not sure that it is el-get (at = least alone) that is insisting on the .info suffix. The portion of elisp = in el-get that adds the .info suffix: >=20 > #+begin_src emacs-lisp > (if (string=3D (substring infofile -5) ".info") > infofile > (concat infofile ".info")) > #+end_src >=20 > (Side note, I did try a work around, = https://github.com/SkydiveMike/el-get/commit/88920c84bbe4d814bae1e79cdda16= 3315d8d8d24 that doesn't work). >=20 > Is only called if the ~dir~' file does not exist (and other = conditions) and as part of creating a command string for = ~/usr/bin/install-info~. Since an non-built (no execution of ~make~) Org = mode Git clone has a ~dir~ file, this code is never called. >=20 > I also don't believe that ~cp org org.info~ in = ~$HOME/.emacs.d/el-get/org-mode/~ fixes things (I currently can't get = the correct info to display using that). After some more investigation, I don't think this is a bug with either = Org or el-get. I had other issues with my Info path setups in my = specific configuration (Emacs on OS X from http://emacsformacosx.com) = that included an invalid build-directory artifact and more significantly = always put the Emacs ``info'' directory as the first item in my = ``Info-directory-list''. This meant that the built-in Org info would = always supersede the info for my current version of Org (installed by = el-get).=20 Once I resolved all of that, my Emacs Info now sees the correct version = of Org info from el-get without needing to ``cp org org.info''.=20 More gory details at: https://github.com/dimitri/el-get/issues/821 Sorry for the noise.= --Apple-Mail=_A0999DF2-AE37-4378-AAF2-56B772FCA1F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Fri, Jul 27, 2012 at 2:03 AM, Achim Gratz <Stromeko@nexgo.de> wrote:
Markus Baden writes:
> I just installed org-mode via the recipe provided with the = current
> development version of el-get [1]. Org-Mode is installed = correctly
> into emacs.d/el-get/org-mode and the docs can be found in the = doc
> subfolder. The recipe [2] adds the doc to the info via the :info = "doc"
> property. However, when going to the info browser with C-h i = the
> org-mode docs cannot be found. In the doc subfolder there is a = file
> called "org" (no filename extension), which looks like the info = file.
> After doing a "cp org org.info" the org-mode info shows up in the = info
> browser.

El-get for whatever reason seems to think that all info files have = a
".info" suffix, but they appear to never check if that assumption is
true.  I don't understand how they set up the info tree further on = from
looking at the sources.  File a bug report for el-get I'd = say.

Looking at this a bit this = morning, I'm not sure that it is el-get (at least alone) that is = insisting on the .info suffix. The portion of elisp in el-get that adds = the .info suffix:

#+begin_src emacs-lisp
(if (string=3D = (substring infofile -5) ".info")
    = infofile
    (concat infofile = ".info"))
#+end_src

(Side note, I did try a work around, https://github.com/SkydiveMike/el-get/commit/88920c84= bbe4d814bae1e79cdda163315d8d8d24 that doesn't work).

Is only called if the ~dir~' file does not exist = (and other conditions) and as part of creating a command string for = ~/usr/bin/install-info~. Since an non-built (no execution of ~make~) Org = mode Git clone has a ~dir~ file, this code is never called.

I also don't believe that ~cp org org.info~ in = ~$HOME/.emacs.d/el-get/org-mode/~ fixes things (I currently can't get = the correct info to display using that).

After some more investigation, I don't think = this is a bug with either Org or el-get. I had other issues with my Info = path setups in my specific configuration (Emacs on OS X from http://emacsformacosx.com) that = included an invalid build-directory artifact and more significantly = always put the Emacs ``info'' directory as the first item in my = ``Info-directory-list''. This meant that the built-in Org info would = always supersede the info for my current version of Org (installed by = el-get). 

Once I resolved all of that, my = Emacs Info now sees the correct version of Org info from el-get without = needing to ``cp org org.info''. 


Sorry for the = noise.
= --Apple-Mail=_A0999DF2-AE37-4378-AAF2-56B772FCA1F5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jude DaShiell Subject: Re: Installation via el-get: info not added correctly Date: Sun, 29 Jul 2012 16:07:11 -0400 (EDT) Message-ID: References: <87wr1p7naz.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvZli-0003UE-If for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 16:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvZlh-00084T-4Z for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 16:07:14 -0400 Received: from shellworld.net ([69.60.117.94]:56463 helo=server1.shellworld.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvZlg-00082l-Ti for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 16:07:13 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mike McLean Cc: Achim Gratz , emacs-orgmode Mode The file (1) command is available on some systems and makes guesses about file formats to help users sort out unknown files. Maybe a for loop in a script could find the info files and do so more reliably than only checking a file's suffix. I think there's also a rather expensive book available for sale called "the file formats book" and from those I've talked to after they've had a chance to read it they think it's worth the money. On Sun, 29 Jul 2012, Mike McLean wrote: > > On Jul 28, 2012, at 2:13 PM, Mike McLean wrote: > > > On Fri, Jul 27, 2012 at 2:03 AM, Achim Gratz wrote: > > Markus Baden writes: > > > I just installed org-mode via the recipe provided with the current > > > development version of el-get [1]. Org-Mode is installed correctly > > > into emacs.d/el-get/org-mode and the docs can be found in the doc > > > subfolder. The recipe [2] adds the doc to the info via the :info "doc" > > > property. However, when going to the info browser with C-h i the > > > org-mode docs cannot be found. In the doc subfolder there is a file > > > called "org" (no filename extension), which looks like the info file. > > > After doing a "cp org org.info" the org-mode info shows up in the info > > > browser. > > > > El-get for whatever reason seems to think that all info files have a > > ".info" suffix, but they appear to never check if that assumption is > > true. I don't understand how they set up the info tree further on from > > looking at the sources. File a bug report for el-get I'd say. > > > > Looking at this a bit this morning, I'm not sure that it is el-get (at least alone) that is insisting on the .info suffix. The portion of elisp in el-get that adds the .info suffix: > > > > #+begin_src emacs-lisp > > (if (string= (substring infofile -5) ".info") > > infofile > > (concat infofile ".info")) > > #+end_src > > > > (Side note, I did try a work around, https://github.com/SkydiveMike/el-get/commit/88920c84bbe4d814bae1e79cdda163315d8d8d24 that doesn't work). > > > > Is only called if the ~dir~' file does not exist (and other conditions) and as part of creating a command string for ~/usr/bin/install-info~. Since an non-built (no execution of ~make~) Org mode Git clone has a ~dir~ file, this code is never called. > > > > I also don't believe that ~cp org org.info~ in ~$HOME/.emacs.d/el-get/org-mode/~ fixes things (I currently can't get the correct info to display using that). > > After some more investigation, I don't think this is a bug with either Org or el-get. I had other issues with my Info path setups in my specific configuration (Emacs on OS X from http://emacsformacosx.com) that included an invalid build-directory artifact and more significantly always put the Emacs ``info'' directory as the first item in my ``Info-directory-list''. This meant that the built-in Org info would always supersede the info for my current version of Org (installed by el-get). > > Once I resolved all of that, my Emacs Info now sees the correct version of Org info from el-get without needing to ``cp org org.info''. > > More gory details at: https://github.com/dimitri/el-get/issues/821 > > Sorry for the noise. ---------------------------------------------------------------- Hardware eventually fails; software eventually works, no amount of band width can fix poor design Jude