texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Overwriting definitions with tm-define


From: Giovanni Piredda
Subject: [Texmacs-dev] Overwriting definitions with tm-define
Date: Wed, 23 Dec 2020 23:36:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

Dear developers - dear all,

I have noticed that trying to redefine with tm-define the procedure "translate" gets TeXmacs in a non-recoverable state. I found it out as I wanted to call "translate" a graphical procedure.

One error message is

Guile error: ((wrong-number-of-args #f Wrong number of arguments to ~A (#<procedure translate (a b c)>) #f)) .../TeXmacs/progs/kernel/boot/debug.scm:231:19: In procedure throw in expression (apply throw err): .../TeXmacs/progs/kernel/boot/debug.scm:231:19: Wrong number of arguments to #<procedure translate (a b c)>

and "native menubar trick" appears in the menus.

Is this expected? I tried to redefine tr-file and this on the opposite is possible.

I am going to call the procedure for translation "shift", so I do not need the redefinition of "translate" to work, but I am curious.

Giovanni




reply via email to

[Prev in Thread] Current Thread [Next in Thread]