delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/20/20:41:02

Sender: mike AT Home-51 DOT inp DOT nsk DOT su
To: djgpp AT delorie DOT com
Subject: Re: Emacs and various problems
References: <3472F197 DOT 658C AT mag00 DOT cedi DOT unipr DOT it> <347488AB DOT 5924 AT cs DOT com>
<34740D74 DOT 2333 AT mag00 DOT cedi DOT unipr DOT it>
From: Michael Bukin <bukinm AT inp DOT nsk DOT su>
Date: 21 Nov 1997 07:36:46 +0600
In-Reply-To: Stefano Brozzi's message of Thu, 20 Nov 1997 11:14:12 +0100
Message-ID: <m3iutnqb81.fsf@H-Bukin.inp.nsk.su>
Lines: 39

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019