all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* some info node manuals have no index
@ 2007-12-22  6:36 reader
  2007-12-22  9:47 ` Peter Dyballa
  2007-12-22 10:24 ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: reader @ 2007-12-22  6:36 UTC (permalink / raw)
  To: help-gnu-emacs

GNU Emacs 22.1.50.1 
Gentoo linux

I'm noticing some of the manuals in info browser do not have indices.
Yet when I open with the stand alone info browser the index is
present.

An example is the gawk manual at C-h i m gawk <RET>
If I then press `i' for index search I'm told `no index'  But going
thru the same routine with the stand alone info browser the index
works and can be searched with `i' command.

So starting emacs with -q -no-site-file I find the gawk index works as
expected.  Now looking thru the init files for something causing the
problem I'm striking out:

grep -i info .emacs /usr/local/share/emacs/site-lisp/site-start.el

Only returns a few places where I've added something to
Info-default-directory-list
  
  (add-to-list 'Info-default-directory-list "/usr/local/gnus/texi")
  (add-to-list 'Info-default-directory-list "/usr/local/elisp-intro")
  ;;(add-to-list 'Info-default-directory-list "/usr/local/bbdb/texinfo")
  (add-to-list 'Info-default-directory-list "/usr/local/elisp-manual")

So apparently its something a little harder to identify... can anyone
coach me a bit on what I should be looking for, or futher steps to
find what is causing the problem?

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

* Re: some info node manuals have no index
  2007-12-22  6:36 some info node manuals have no index reader
@ 2007-12-22  9:47 ` Peter Dyballa
  2007-12-22 21:24   ` reader
  2007-12-22 10:24 ` Eli Zaretskii
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2007-12-22  9:47 UTC (permalink / raw)
  To: reader; +Cc: help-gnu-emacs


Am 22.12.2007 um 07:36 schrieb reader:

>   (add-to-list 'Info-default-directory-list "/usr/local/gnus/texi")
>   (add-to-list 'Info-default-directory-list "/usr/local/elisp-intro")
>   ;;(add-to-list 'Info-default-directory-list "/usr/local/bbdb/ 
> texinfo")
>   (add-to-list 'Info-default-directory-list "/usr/local/elisp-manual")
>
> So apparently its something a little harder to identify... can anyone
> coach me a bit on what I should be looking for, or futher steps to
> find what is causing the problem?


I have

	Info-default-directory-list is a variable defined in `paths.el'.
	Its value is
	("/usr/local/share/info/" "/usr/local/info/" "/usr/local/gnu/info/"  
"/usr/local/gnu/lib/info/" "/usr/local/gnu/lib/emacs/info/" "/usr/ 
local/emacs/info/" "/usr/local/lib/info/" "/usr/local/lib/emacs/ 
info/" "/usr/share/info/" "/usr/local/share/info/")

So it's obvious that not the info files need to be listed but the  
directories where they can be found.

Actually I think what you try is the wrong way or place to customise:

	Once Info is started, the list of directories to search
	comes from the variable `Info-directory-list'.
	This variable `Info-default-directory-list' is used as the default
	for initializing `Info-directory-list' when Info is started, unless
	the environment variable INFOPATH is set.

C-h v <variable> RET or C-h f <function> RET or the same when the  
cursor is on a variable's or function's name somewhere in GNU Emacs  
are really nice and helpful things.

--
Greetings
                                  <]
    Pete      o        __o         |__    o           recumbo
     ___o    /I       -\<,         |o \  -\),-%       ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________

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

* Re: some info node manuals have no index
  2007-12-22  6:36 some info node manuals have no index reader
  2007-12-22  9:47 ` Peter Dyballa
@ 2007-12-22 10:24 ` Eli Zaretskii
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2007-12-22 10:24 UTC (permalink / raw)
  To: help-gnu-emacs

> From: reader@newsguy.com
> Date: Sat, 22 Dec 2007 00:36:29 -0600
> 
> I'm noticing some of the manuals in info browser do not have indices.
> Yet when I open with the stand alone info browser the index is
> present.
> 
> An example is the gawk manual at C-h i m gawk <RET>
> If I then press `i' for index search I'm told `no index'  But going
> thru the same routine with the stand alone info browser the index
> works and can be searched with `i' command.

This probably means your Emacs and the stand-alone Info reader get
Info files from different places.

> So starting emacs with -q -no-site-file I find the gawk index works as
> expected.  Now looking thru the init files for something causing the
> problem I'm striking out:
> 
> grep -i info .emacs /usr/local/share/emacs/site-lisp/site-start.el
> 
> Only returns a few places where I've added something to
> Info-default-directory-list
>   
>   (add-to-list 'Info-default-directory-list "/usr/local/gnus/texi")
>   (add-to-list 'Info-default-directory-list "/usr/local/elisp-intro")
>   ;;(add-to-list 'Info-default-directory-list "/usr/local/bbdb/texinfo")
>   (add-to-list 'Info-default-directory-list "/usr/local/elisp-manual")

Maybe your .emacs or site-start.el load other Lisp files, and those
Lisp files modify the list of directories where Emacs searches for
Info files?  That is, look for `load' as well, and then grep those
additional files for `[Ii]nfo'.

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

* Re: some info node manuals have no index
  2007-12-22  9:47 ` Peter Dyballa
@ 2007-12-22 21:24   ` reader
  2007-12-22 23:18     ` Peter Dyballa
  2007-12-23  0:57     ` reader
  0 siblings, 2 replies; 8+ messages in thread
From: reader @ 2007-12-22 21:24 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

[...]

> Actually I think what you try is the wrong way or place to customise:
>
> 	Once Info is started, the list of directories to search
> 	comes from the variable `Info-directory-list'.
> 	This variable `Info-default-directory-list' is used as the default
> 	for initializing `Info-directory-list' when Info is started, unless
> 	the environment variable INFOPATH is set.

Well that  isn't really about my problem unless it were the reason 
emacs -f info misbehaves.  But it isn't.  

I guess what you are saying here is that I must customize INFOPATH
instead of trying to do it with Info-default-directory-list.  But I
already have the correct things in INFOPATH

INFOPATH=/usr/local/info:/usr/local/share/info:/usr/local/gnus/texi:/usr/local/w3/texi:/usr/local/url/texi:/usr/local/bbdb/texinfo:/usr/local/share/emacs/site-lisp/elib-1.0/texi:$INFOPATH;export INFOPATH

Those old entries in site-start.el are from a time when I didn't.

According to what you've shown.. with the INFOPATH variable set, emacs
will ignore whatever I have in Info-default-directory-list. Which
doesn't matter since I have INFOPATH set as shown.

What I see here is that the standalone info browser will open gawk and
display the index of gawk manual but emacs will not.

Emacs will open the gawk manual fine, but when asked to do `i' search
I get `no index'.

Just incase they are opening different info files then doing:

info /usr/share/info/gawk.info.bz2 and inside emacs 
`C-u C-h i' /usr/share/info/gawk.info.bz2 should gaurantee its the 
same file.  But even doing it all that way emacs still reports 
`no index' when I try to use `i'; standalone info works as expected.

===================================

Eli Zaretskii <eliz@gnu.org> writes:

[...]

> This probably means your Emacs and the stand-alone Info reader get
> Info files from different places.

The test I described above should remove that as a possibility.


> Maybe your .emacs or site-start.el load other Lisp files, and those
> Lisp files modify the list of directories where Emacs searches for
> Info files?  That is, look for `load' as well, and then grep those
> additional files for `[Ii]nfo'.

  started a fresh emacs I get this in the *Messages* buffer:
  Loading w3m-wget...done
  Loading skeleton...done
  Loading regexp-opt...done
  Loading advice...done
  Loading /home/reader/.emacs-custom...done
  Loading /home/reader/.abbrev_defs...done
  Loading easymenu...done
  Loading cl-macs...done
  Loading places from /home/reader/.emacs-places...done
  For information about the GNU Project and its goals, type C-h C-p.
  Loading dired...done

grep -i info on all of those listed still shows no suspect code.


Here another piece of information.

I downloaded the latest gawk source when I first started checking into
this and after running `makeinfo gawk.texi' and loading that file
inside emacs with 
   `C-u C-h i /usr/local/src/gawk-3.1.6/doc/gawk.info'

Then emacs will respond to `i' search.

Looking at a diff of the two I see a  massive difference that
indicates the index is not present in the installed version I have.

So this all may just be the result of that not getting done in that
version. (at least not in my compiled version which is done by the
emerge tool on gentoo linux.)

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

* Re: some info node manuals have no index
  2007-12-22 21:24   ` reader
@ 2007-12-22 23:18     ` Peter Dyballa
  2007-12-23  0:50       ` reader
  2007-12-23  0:57     ` reader
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2007-12-22 23:18 UTC (permalink / raw)
  To: reader; +Cc: help-gnu-emacs


Am 22.12.2007 um 22:24 schrieb reader:

> Emacs will open the gawk manual fine, but when asked to do `i' search
> I get `no index'.


You are writing of things I'm sure I've never noticed in GNU Emacs!

When I'm in info-mode at the top-level node of gawk and I type ``i´´  
I get invited to search for a word, or such.

Or do you mean the isearch function, C-s?

Finally, is /usr/share/info/gawk.info.bz2 really the gawk info file?  
While you're in info-mode visiting some gawk node, you can type C-x d  
RET to see where you are ...

--
Greetings

   Pete

Engineer: a mechanism for converting caffeine into designs

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

* Re: some info node manuals have no index
  2007-12-22 23:18     ` Peter Dyballa
@ 2007-12-23  0:50       ` reader
  0 siblings, 0 replies; 8+ messages in thread
From: reader @ 2007-12-23  0:50 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 22.12.2007 um 22:24 schrieb reader:
>
>> Emacs will open the gawk manual fine, but when asked to do `i' search
>> I get `no index'.
>
>
> You are writing of things I'm sure I've never noticed in GNU Emacs!

Its never happened to me before either!

> When I'm in info-mode at the top-level node of gawk and I type ``i´´ I
> get invited to search for a word, or such.
>
> Or do you mean the isearch function, C-s?

No I mean just what you did above.

> Finally, is /usr/share/info/gawk.info.bz2 really the gawk info file?
> While you're in info-mode visiting some gawk node, you can type C-x d
> RET to see where you are ...

On my sytem yes.  The info browser knows how to open it with no
problem.  It also opens 

   info /usr/share/info/gawk.info.bz2
opens it right up as does: 
   C-u C-h i /usr/share/info/gawk.info.bz2 <RET> in emacs

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

* Re: some info node manuals have no index
  2007-12-22 21:24   ` reader
  2007-12-22 23:18     ` Peter Dyballa
@ 2007-12-23  0:57     ` reader
  2007-12-23  5:00       ` reader
  1 sibling, 1 reply; 8+ messages in thread
From: reader @ 2007-12-23  0:57 UTC (permalink / raw)
  To: help-gnu-emacs

reader@newsguy.com writes:

>
> Looking at a diff of the two I see a  massive difference that
> indicates the index is not present in the installed version I have.
>
> So this all may just be the result of that not getting done in that
> version. (at least not in my compiled version which is done by the
> emerge tool on gentoo linux.)

Sorry... I have to take that back it turns out there really only minor
differences but moved a few lines with small additions so the diff
output at first appeared to show major differences.

So still no explanation as to why emacs will now show the index of
gawk on my installation.

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

* Re: some info node manuals have no index
  2007-12-23  0:57     ` reader
@ 2007-12-23  5:00       ` reader
  0 siblings, 0 replies; 8+ messages in thread
From: reader @ 2007-12-23  5:00 UTC (permalink / raw)
  To: help-gnu-emacs

reader@newsguy.com writes:

> reader@newsguy.com writes:
>
>>
>> Looking at a diff of the two I see a  massive difference that
>> indicates the index is not present in the installed version I have.
>>
>> So this all may just be the result of that not getting done in that
>> version. (at least not in my compiled version which is done by the
>> emerge tool on gentoo linux.)
>
> Sorry... I have to take that back it turns out there really only minor
> differences but moved a few lines with small additions so the diff
> output at first appeared to show major differences.
>
> So still no explanation as to why emacs will now show the index of
> gawk on my installation.                     ^^^
                                               not

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

end of thread, other threads:[~2007-12-23  5:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-22  6:36 some info node manuals have no index reader
2007-12-22  9:47 ` Peter Dyballa
2007-12-22 21:24   ` reader
2007-12-22 23:18     ` Peter Dyballa
2007-12-23  0:50       ` reader
2007-12-23  0:57     ` reader
2007-12-23  5:00       ` reader
2007-12-22 10:24 ` Eli Zaretskii

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.