Mail Archives: djgpp/1997/11/20/20:41:02
Stefano Brozzi <brozzis AT mag00 DOT cedi DOT unipr DOT it> writes:
> the context sensitive lookup is already bound to C-h TAB
> it is defined in file info-look.el. It reads the current major-mode
> and do specific action based upon that mode.
> It automatically understands C, texinfo, makefile and others.
> However c-mode has a problem: it looks in the info file for
> nodes that in the djgpp libc info are not present.
> I guess in other systems libc.info are different (or I'm missing
> something).
> At this point I've two chances:
> change the regexps that do the lookup in the emacslisp file
> (not reliable)
You can change info-lookup-..something..-alist (find it by
"File Index" in info-look.el) to say "Alphabetical List" instead of
"File Index" either with setq in _emacs or changing the source.
I think better idea is to change source to something like
(if (eq system-type 'ms-dos)
"(libc)Alphabetical List"
"(libc)File Index")
I think it should be changed from '() to (let ...).
Also conditionally remove other things that are not present in DJGPP's
libc.info, like "Variable Index" and "Type Index".
> or
> change the libc.info to reflect what emacs expects.
> (better idea)
I think it is better idea, e.g. changing "Index" node to
"File Index" will make at least some of info-lookup to work. But to
make in fully compatible to GNU libc info is a lot of work. Someone
will have to add info on variables and types.
I have not installed emacs-20.xx yet, so I can not test any of
these solutions.
- Raw text -