all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Getting Info to find extra pkgs not in normal path
@ 2008-12-09 16:54 Harry Putnam
  0 siblings, 0 replies; 6+ messages in thread
From: Harry Putnam @ 2008-12-09 16:54 UTC (permalink / raw
  To: help-gnu-emacs

I thought using a line like this:
 (add-to-list 'Info-default-directory-list 
   "/usr/local/src/stumpwm")

In ~/.emacs, would find any info files there when I call Info within
emacs.  Apparently that no longer works or maybe never worked.

There is an info file located there
ls /usr/local/src/stumpwm/*.info
/usr/local/src/stumpwm/stumpwm.info

But C-h i m stumpwm  knows nothing about it.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting Info to find extra pkgs not in normal path
       [not found] <mailman.2336.1228841670.26697.help-gnu-emacs@gnu.org>
@ 2008-12-09 17:35 ` Andreas Politz
  2008-12-09 21:00   ` Harry Putnam
       [not found]   ` <mailman.2373.1228856474.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Politz @ 2008-12-09 17:35 UTC (permalink / raw
  To: help-gnu-emacs

Harry Putnam wrote:
> I thought using a line like this:
>  (add-to-list 'Info-default-directory-list 
>    "/usr/local/src/stumpwm")
> 
> In ~/.emacs, would find any info files there when I call Info within
> emacs.  Apparently that no longer works or maybe never worked.
> 
> There is an info file located there
> ls /usr/local/src/stumpwm/*.info
> /usr/local/src/stumpwm/stumpwm.info
> 
> But C-h i m stumpwm  knows nothing about it.
> 
> 
> 
> 

It's there but not in the 'dir' file :

(info "stumpwm")

dir files will be merged by emacs, so you can create
one for your local additions. Probably by copying the
systems one from /usr/share/info/dir or wherever, delete
all entries after '* Menu:' and put in your own.

(info "(texinfo)Other Info Directories")

-ap




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting Info to find extra pkgs not in normal path
  2008-12-09 17:35 ` Andreas Politz
@ 2008-12-09 21:00   ` Harry Putnam
       [not found]   ` <mailman.2373.1228856474.26697.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Harry Putnam @ 2008-12-09 21:00 UTC (permalink / raw
  To: help-gnu-emacs

Andreas Politz <politza@fh-trier.de> writes:

>
> It's there but not in the 'dir' file :
>
> (info "stumpwm")
>
> dir files will be merged by emacs, so you can create
> one for your local additions. Probably by copying the
> systems one from /usr/share/info/dir or wherever, delete
> all entries after '* Menu:' and put in your own.
>
> (info "(texinfo)Other Info Directories")

That section shows several ways to do it, but I find at least two of
them don't seem to work for me... probably something I'm doing wrong.

Before posting here about it I had tried to extend INFOPATH in my
~/.bashrc file like this:

  grep INFO ~/.bashrc
  INFOPATH=$INFOPATH:/usr/local/src/stumpwm:/usr/local/gnus/texi

  The Stand Alone info reader finds stumpwm but emacs does not

Using the approach of adding my own dir file.  (inlined below) at
/usr/local/info/dir, inside a freshly started emacs
  
  `C-h i m stumpwm'  fails

My attempt appears to follow the example given:
 `
   * Test: (/home/bob/info/info-test).  Bob's own test file. '

On the stumpwm line shown here the address ends in the top level
directory. The info file is directly under there. I  also tried (not
shown here) by putting the complete file name: 

   (/usr/local/src/stumpwm/stumpwm.info)

Do you see something wrong in both or either of my attempts (including
the INFO path approach?

  cat /usr/local/info/dir

  Local info files (updates by user reader)

  * Stumpwm: (/usr/local/src/stumpwm/stumpwm.info).  stump manual.

 





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting Info to find extra pkgs not in normal path
       [not found]   ` <mailman.2373.1228856474.26697.help-gnu-emacs@gnu.org>
@ 2008-12-09 22:37     ` Andreas Politz
  2008-12-09 23:32       ` Peter Dyballa
  2008-12-10  8:56       ` Harry Putnam
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Politz @ 2008-12-09 22:37 UTC (permalink / raw
  To: help-gnu-emacs

Harry Putnam wrote:
> Andreas Politz <politza@fh-trier.de> writes:
> 
>> It's there but not in the 'dir' file :
>>
>> (info "stumpwm")
>>
>> dir files will be merged by emacs, so you can create
>> one for your local additions. Probably by copying the
>> systems one from /usr/share/info/dir or wherever, delete
>> all entries after '* Menu:' and put in your own.
>>
>> (info "(texinfo)Other Info Directories")
> 
> That section shows several ways to do it, but I find at least two of
> them don't seem to work for me... probably something I'm doing wrong.
> 
> Before posting here about it I had tried to extend INFOPATH in my
> ~/.bashrc file like this:
> 
>   grep INFO ~/.bashrc
>   INFOPATH=$INFOPATH:/usr/local/src/stumpwm:/usr/local/gnus/texi
> 
>   The Stand Alone info reader finds stumpwm but emacs does not

Eval (info "stumpwm") ,I am shure it'll work.
> 
> Using the approach of adding my own dir file.  (inlined below) at
> /usr/local/info/dir, inside a freshly started emacs
>   
>   `C-h i m stumpwm'  fails
> 
> My attempt appears to follow the example given:
>  `
>    * Test: (/home/bob/info/info-test).  Bob's own test file. '
> 
> On the stumpwm line shown here the address ends in the top level
> directory. The info file is directly under there. I  also tried (not
> shown here) by putting the complete file name: 
> 
>    (/usr/local/src/stumpwm/stumpwm.info)
> 
> Do you see something wrong in both or either of my attempts (including
> the INFO path approach?
> 
>   cat /usr/local/info/dir
> 
>   Local info files (updates by user reader)
> 
>   * Stumpwm: (/usr/local/src/stumpwm/stumpwm.info).  stump manual.
> 

The dir file has to have a special header format. Just copy the systems one
into a directory in INFOPATH, erase everything afer '*Menu ' and put in
your own stuff.

-ap



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting Info to find extra pkgs not in normal path
  2008-12-09 22:37     ` Andreas Politz
@ 2008-12-09 23:32       ` Peter Dyballa
  2008-12-10  8:56       ` Harry Putnam
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2008-12-09 23:32 UTC (permalink / raw
  To: Andreas Politz; +Cc: help-gnu-emacs


Am 09.12.2008 um 23:37 schrieb Andreas Politz:

> The dir file has to have a special header format. Just copy the  
> systems one
> into a directory in INFOPATH, erase everything afer '*Menu ' and  
> put in
> your own stuff.


Wouldn't the use of install-info be more appropriate? When the actual  
info file is well prepared, then this programme does a perfect job,  
sorting the info file into its proper section ...

--
Mit friedvollen Grüßen

   Pete

                   Sorry my terrible English, my native language Lisp!






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Getting Info to find extra pkgs not in normal path
  2008-12-09 22:37     ` Andreas Politz
  2008-12-09 23:32       ` Peter Dyballa
@ 2008-12-10  8:56       ` Harry Putnam
  1 sibling, 0 replies; 6+ messages in thread
From: Harry Putnam @ 2008-12-10  8:56 UTC (permalink / raw
  To: help-gnu-emacs

Andreas Politz <politza@fh-trier.de> writes:

> Eval (info "stumpwm") ,I am shure it'll work.

I've got it working now... I was confusing my self by working on 3
machines at once.  editing in one xterm then in another expecting it
to work when in fact its on a completely different machine.

Sorry for the line noise.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-10  8:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 16:54 Getting Info to find extra pkgs not in normal path Harry Putnam
     [not found] <mailman.2336.1228841670.26697.help-gnu-emacs@gnu.org>
2008-12-09 17:35 ` Andreas Politz
2008-12-09 21:00   ` Harry Putnam
     [not found]   ` <mailman.2373.1228856474.26697.help-gnu-emacs@gnu.org>
2008-12-09 22:37     ` Andreas Politz
2008-12-09 23:32       ` Peter Dyballa
2008-12-10  8:56       ` Harry Putnam

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.