cl-info patch



   >From mailnull  Thu Jun 20 16:39:40 2013
   Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of math.utexas.edu designates 146.6.25.7 as permitted sender) client-ip=146.6.25.7; envelope-from=maxima-bounces at math.utexas.edu; helo=ironclad.mail.utexas.edu;
   From: Robert Dodier <robert.dodier at gmail.com>
   Date: Thu, 20 Jun 2013 16:38:03 +0000
   Content-Type: text/plain; charset="us-ascii"

   On 2013-06-20, Leo Butler <l_butler at users.sourceforge.net> wrote:

   > MAXIMA> (cl-info::load-primary-index)
   > WARNING: CL-INFO::LOAD-PRIMARY-INDEX: LOAD: A file with name
   >          /usr/local/share/info/maxima-index.lisp does not exist
   > 	 Skipping...
   >
   > NIL
   > MAXIMA> (let ((maxima::*maxima-infodir* "doc/info/")) (cl-info::load-primary-index))
   > WARNING: CL-INFO::LOAD-PRIMARY-INDEX:
   >          EVAL/APPLY: Too few arguments (0 instead of at least 3) given to
   >          CL-INFO::LOAD-INFO-HASHTABLES
   >          Skipping...

   It's probably OK like that, but maybe it should say something more
   directly intelligible to the user, at least in the case of not being
   able to find the index file -- maybe something about failing to
   configure the help system.

Robert, how is this?

MAXIMA> (cl-info::load-primary-index)
WARNING: Maxima is unable to set up the help system.
         (Details: CL-INFO::LOAD-PRIMARY-INDEX: LOAD: A file with name
         /usr/local/share/info/maxima-index.lisp does not exist)

I would like to include some details of the error, because in most
cases I would expect the error to arise from a Maxima built by a more
knowledgeable user or developer (i.e., pre-built Maximas should never
trip this particular error...).

Leo