[climacs-devel] Changing a syntax command table on the fly

Nicolas Sceaux nicolas.sceaux at free.fr
Sat Apr 19 13:03:08 UTC 2008


Hi,

I'm writing a syntax, which associated command table would be
changed by the user, to switch between a normal editing mode,
where character keys can be used to insert the characters, and
a special edit mode, where character keys are bound to other
commands, the later table inheriting from the former.

My question is: what is the way to change the command table
associated to a syntax on the fly? I see that COMMAND-TABLE is
a :reader method for a syntax %COMMAND-TABLE slot, not an
:accessor, so I guess there is a reason why changing a syntax
command table may not be a good idea, although I could not
find it.

Nicolas




More information about the climacs-devel mailing list