On 12/06/25 11:45, Sven Schreiber wrote:
>
> Paolo, are you saving to a session file? Functions that were defined
> at the time of saving are restored when the session file is re-opened.
>
> Could that be the case?
That's a very clever and plausible hypothesis, I wasn't really aware of
this behavior. Let's see if Paolo confirms this.
Apart from that, after opening the session file, one could perhaps do
"clear --functions".
Alternatively, we could warn the user with a GUI element containing a
message like "WARNING: the session file you're opening contains one or
more used-defined functions. Restoring them may not be what you want. Do
you want to restore the user-defined functions?" and a Yes/No button.
It may be a little annoying, though.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------