Bug 188015

Summary: editors/emacs omits info files
Product: Ports & Packages Reporter: Trond Endrestøl <Trond.Endrestol>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Trond Endrestøl 2014-03-27 11:00:00 UTC
Installing editors/emacs omits the info files stored in /usr/local/info.

How-To-Repeat: Install editors/emacs.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-27 11:00:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2014-03-27 20:53:51 UTC
Hi Trond,

Which info files are we talking about here ? Could you please elaborate ?

Thanks!
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
Comment 3 Trond Endrestøl 2014-03-27 21:36:04 UTC
On Fri, 28 Mar 2014 02:23+0530, Ashish SHUKLA wrote:

> Hi Trond,
> 
> Which info files are we talking about here ? Could you please elaborate ?

emacs.info for starters. Next, each and every Texinfo manual available
in emacs-24.3.tar.xz/emacs-24.3/doc.

I usually use portupgrade, but afterwards I had to run make myself in
editors/emacs and manually copy emacs.info and the other *.info files
to /usr/local/info. Only then was I able to read the Emacs manual 
using the info reader in Emacs.

-- 
----------------------------------------------------------------------
Trond Endrestøl                     |     Trond.Endrestol@ximalas.info
ACM, NAS, NUUG, SAGE, USENIX        |   FreeBSD 9.2-S & re-Alpine 2.03
Comment 4 Trond Endrestøl 2014-03-27 22:00:03 UTC
On Thu, 27 Mar 2014 22:36+0100, Trond Endrestøl wrote:

> On Fri, 28 Mar 2014 02:23+0530, Ashish SHUKLA wrote:
> 
> > Hi Trond,
> > 
> > Which info files are we talking about here ? Could you please elaborate ?
> 
> emacs.info for starters. Next, each and every Texinfo manual available
> in emacs-24.3.tar.xz/emacs-24.3/doc.
> 
> I usually use portupgrade, but afterwards I had to run make myself in
> editors/emacs and manually copy emacs.info and the other *.info files
> to /usr/local/info. Only then was I able to read the Emacs manual 
> using the info reader in Emacs.

On closer inspection all info files are being installed to 
/usr/local/share/emacs/info, but neither the info reader in Emacs nor 
the stand-alone info reader seems to care about 
/usr/local/share/emacs/info.

It most certainly is due to my INFOPATH environment variable, which 
is currently set to:

INFOPATH=.:/home/trond/texinfo:/usr/local/info:/usr/X11R6/info:/usr/share/info

It needs a bit of cleanup, I guess.

What's the default for INFOPATH nowadays?
Should I just remove it?

-- 
----------------------------------------------------------------------
Trond Endrestøl                     |     Trond.Endrestol@ximalas.info
ACM, NAS, NUUG, SAGE, USENIX        |   FreeBSD 9.2-S & re-Alpine 2.03
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2014-03-28 02:02:03 UTC
On Thu, 27 Mar 2014 23:00:03 +0100 (CET), Trond Endrestøl <Trond.Endrestol@ximalas.info> said:
> On Thu, 27 Mar 2014 22:36+0100, Trond Endrestøl wrote:


>> On Fri, 28 Mar 2014 02:23+0530, Ashish SHUKLA wrote:
>> 
>> > Hi Trond,
>> > 
>> > Which info files are we talking about here ? Could you please elaborate ?
>> 
>> emacs.info for starters. Next, each and every Texinfo manual available
>> in emacs-24.3.tar.xz/emacs-24.3/doc.
>> 
>> I usually use portupgrade, but afterwards I had to run make myself in
>> editors/emacs and manually copy emacs.info and the other *.info files
>> to /usr/local/info. Only then was I able to read the Emacs manual 
>> using the info reader in Emacs.


> On closer inspection all info files are being installed to 
> /usr/local/share/emacs/info, but neither the info reader in Emacs nor 
> the stand-alone info reader seems to care about 
> /usr/local/share/emacs/info.


Right, this was done to avoid conflicting with texinfo port which ships the
info file with same name.

> It most certainly is due to my INFOPATH environment variable, which 
> is currently set to:


> INFOPATH=.:/home/trond/texinfo:/usr/local/info:/usr/X11R6/info:/usr/share/info


> It needs a bit of cleanup, I guess.


> What's the default for INFOPATH nowadays?


> Should I just remove it?


Well, Emacs finds its info manuals without setting path explicitly, which I
guess is due to compile-time configuration. But, if you like to explicitly set
INFOPATH, then I guess add your info directories, and "/usr/local/share/emacs/info".

Also, I guess it's fine to close this PR ?

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
Comment 6 Trond Endrestøl 2014-03-28 04:44:36 UTC
On Fri, 28 Mar 2014 07:32+0530, Ashish SHUKLA wrote:

> On Thu, 27 Mar 2014 23:00:03 +0100 (CET), Trond Endrestøl <Trond.Endrestol@ximalas.info> said:
> > On Thu, 27 Mar 2014 22:36+0100, Trond Endrestøl wrote:
> 
> >> On Fri, 28 Mar 2014 02:23+0530, Ashish SHUKLA wrote:
> >> 
> >> > Hi Trond,
> >> > 
> >> > Which info files are we talking about here ? Could you please elaborate ?
> >> 
> >> emacs.info for starters. Next, each and every Texinfo manual available
> >> in emacs-24.3.tar.xz/emacs-24.3/doc.
> >> 
> >> I usually use portupgrade, but afterwards I had to run make myself in
> >> editors/emacs and manually copy emacs.info and the other *.info files
> >> to /usr/local/info. Only then was I able to read the Emacs manual 
> >> using the info reader in Emacs.
> 
> > On closer inspection all info files are being installed to 
> > /usr/local/share/emacs/info, but neither the info reader in Emacs nor 
> > the stand-alone info reader seems to care about 
> > /usr/local/share/emacs/info.
> 
> Right, this was done to avoid conflicting with texinfo port which ships the
> info file with same name.
> 
> > It most certainly is due to my INFOPATH environment variable, which 
> > is currently set to:
> 
> > INFOPATH=.:/home/trond/texinfo:/usr/local/info:/usr/X11R6/info:/usr/share/info
> 
> > It needs a bit of cleanup, I guess.
> 
> > What's the default for INFOPATH nowadays?
> 
> > Should I just remove it?
> 
> Well, Emacs finds its info manuals without setting path explicitly, which I
> guess is due to compile-time configuration. But, if you like to explicitly set
> INFOPATH, then I guess add your info directories, and "/usr/local/share/emacs/info".
> 
> Also, I guess it's fine to close this PR ?

Please do.

-- 
----------------------------------------------------------------------
Trond Endrestøl                     |     Trond.Endrestol@ximalas.info
ACM, NAS, NUUG, SAGE, USENIX        |   FreeBSD 9.2-S & re-Alpine 2.03
Comment 7 Ashish SHUKLA freebsd_committer freebsd_triage 2014-03-28 06:38:04 UTC
State Changed
From-To: open->closed

Closing. No action needed.