Ralf Hemmecke <[EMAIL PROTECTED]> writes:

> >> Yes, after I sent my message, I also thought that it would be even better 
> >> if
> >> one could have a function "get-fricas-symbol-list" in fricas.el that 
> >> connects
> >> to fricas and calls
> >>
> >> )lisp (|allOperations|)
> >> )lisp (|allConstructors|)
> >>
> >> to fill the variable fricas-symbol-list. And there should be a key binding
> >> which calls this function to update this list.
> 
> > Maybe that's a good idea.  Only, I'm afraid that this would make startup a 
> > fair
> > bit longer, wouldn't it?
> 
> Why do you think so? I am not so sure what you actually get as output 
> from fricas after
> 
> (process-send-string fricas-process ")lisp (|allOperations|)\n")
> 
> Is that one big string or already a lisp expression?

One big string.  FriCAS sends output to stdout, emacs captures it.

> Unfortunately, I have no idea how to translate a string format of a lisp
> expression into an actual lisp expression.

> I guess, if you wrap that into
> 
> (setq fricas-symbol-list (string-2-lisp (process-send-string ...)))
> 
> than this is a one-liner.

Yes, I should try it.

> > The startup is already hairy: sometimes I do M-x fricas, and the )lisp
> > (setf ... is never executed.  I have no idea why.
> 
> I don't understand. Anyway, I guess fricas-cpl.el consumes some time, but I
> don't have an idea how to messure it. What I don't understand is why you have
> chosen to use strings in fricas-cpl.el and then convert them to intern
> instead of providing a lisp list in the first place.

because emacs-lisp intern takes strings, and the completion function (stolen
from lisp.el ideally uses emac-lisp obarrays.

> Maybe, but still the files misses documentation of you to use it and what
> features are actually inside fricas-mode.

Much better now (in revision 376).  Press C-h m in FriCAS mode!

I admit, there is still a bit missing, but that will come.  More important now
is the abilitity to restore worksheets...

Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to