Bill Page <[email protected]> writes:

>>> For example. I started efricas and entered the commands
>>>
>>> (1) -> )set output algebra off
>>> (1) -> )set output tex on
>>> (1) -> integrate(sin(sqrt(x)),x)
>>>
>>> Things look nice, so now I want to save it. So I click File/Save As
>>> and enter "test2" (enter). emacs complains that the file does not end
>>> in new line....
>>
>> That's a bug, but I cannot reproduce it, unfortunately.  Could you
>> report emacs version number (press C-h C-a, i.e. Ctrl h then Ctrl a),
>> lisp version, operating system.
>>
>
> GNU Emacs 23.1.1 (x86_64-suse-linux-gnu, GTK+ Version 2.20.1)
>  of 2010-07-05 on build35

Unfortunately, I still cannot reproduce it.  Could you report also the
lisp version like

(1) -> )lisp (lisp-implementation-type)
Value = "CLISP"
(1) -> )lisp (lisp-implementation-version)
Value = "2.47 (2008-10-23) (built 3441453392) (memory 3496469850)"

Can you reproduce the behaviour?  (Actually, it did help me notice
another bug: if something is on the last line before I press save, it
seems that stuff is messed up slightly...)

>  $ efricas test2
>
> Did not open the file. Is there some way this could be made to work
> from the command line?

Hm, excellent idea.  Fixed and committed.

> Is M-x accessible from the menu?

I don't think so...  But it shouldn't be necessary for using efricas.

> After I entered M-x fricas-mode RET the window looks more like it did
> when I saved it but the TeX output is displayed as text.  It is not
> rendered like it was at the time I saved it.

Yes, but I'm not sure whether I am able to fix that.

> (2) -> )history )save /home/wspage/test2
>
> (1) -> )history )restore /home/wspage/test2
>    All user variables and function definitions have been cleared.
>    The workspace has been successfully restored from the history file
>       /home/wspage/test2.axh .
>
> Also these )history commands were not part of the original worksheet.

Yes.  In that case it's actually deliberate, because that way you at
least get to know when saving or restoring failed.

> Is there some way to just load and re-execute a simple series of
> commands? Most of the time I do not care about history.

Well, you can simply use 

)history )write filename.input 

at the end of your session to create such an input file, and read it as
any other input file.

The way the fricas mode is currently set up depends somewhat on working
a history facility, since otherwise line numbering etc. will not be
right.

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