Sender: mike AT Home-51 DOT inp DOT nsk DOT su To: djgpp AT delorie DOT com Subject: Re: Emacs and various problems References: From: Michael Bukin Date: 24 Nov 1997 08:29:57 +0600 In-Reply-To: Eli Zaretskii's message of Sun, 23 Nov 1997 15:11:08 +0200 (IST) Message-ID: Lines: 28 Precedence: bulk Eli Zaretskii writes: > On 21 Nov 1997, Michael Bukin wrote: > > > I think better idea is to change source to something like > > (if (eq system-type 'ms-dos) > > "(libc)Alphabetical List" > > "(libc)File Index") > > I'm not sure (somebody might want to install glibc as well). It > should probably look for both and use whichever is found. I agree, that it will be better. The only problem left is when both versions are present. The first one found will be used, which is probably not what the user wants. > > > I think it should be changed from '() to (let ...). > > Why? Just because I'm not an elisp expert :) My thought was about evaluation of (if ...). If the list is simply extended with DJGPP libc reference then nothing special is needed. DJGPP version can have something like djgpp-info-lookup-symbol-alist prepared for use with DJGPP version of libc.info. Users will load file with this symbol and evaluate (setq info-lookup... djgpp-info...) This way user can choose between GNU and DJGPP versions.