stringout of operators



On Thu, 14 Feb 2013 18:18:59 +0100, Volker van Nek
<volkervannek at gmail.com> wrote:
> 2013/2/14 Wilhelm Haager <wilhelm.haager at htlstp.ac.at>:
>> Hi,
>>
>> I have declared a function as a prefix-operator, e.g.:
>> "->"(x):=display(x);
>> prefix("->");
>>
>> Output of the function definition via
>> stringout("test.mac",functions)
> 
> This writes all user defined functions to test.mac.
> prefix("->"); defines an operator and is no function definition.
> Maybe what you want is
> stringout("test.mac", input);
> 
> HTH
> Volker van Nek

Thank you for your answer, stringout("test.mac", input)
works in the desired way.

Nevertheless, I think neglecting the operator-propery of
a function at saving the functions via 
stringout("test.mac",functions) is not very clean.

An insufficiency has to my mind also saving the state
of a Maxima session using save("test.lsp",all), as some
character-combinations for operators cannot be read
in again; e.g. ">>>" and "<.>" as operators work fine,
">>" and ".." lead to the error message:

loadfile: failed to load test.lsp
 -- an error. To debug this try: debugmode(true);

Is that a bug,or have I overseen something?

Regards,
Wilhelm