[EMAIL PROTECTED] (Tuomo Valkonen) writes:

> On Fri, May 14, 2004 at 11:19:22AM -0400, Ted Zlatanov wrote:
>> I'm asking for a plain-text export/import format for keybindings, not
>> for Tuomo to write a GUI configuration tool.

> There should be no trouble reading Ion3 configuration files simply by
> defining versions of a few Lua functions and reading the files as long 
> the user keeps to this small set of basic configuration functions in 
> the primary configuration and puts extensions in other file that the
> configuration program can skip. It would even be possible to have Ion
> disallow using anything else and defining new symbols within some known
> files to ensure this. With Ion2 a configuration program can't read the 
> files because of the passing of functions that it can't know what they 
> do.

I think the best solution, rather than using strings to name functions,
is to simply use named functions, rather than anonymous functions.  (You
could even require named functions, although that wouldn't really serve
any purpose.)  Then a configuration tool would be able to understand
bindings to named functions, which would be enough.  This is basically
the Emacs approach, and works quite well.

-- 
Jeremy Maitin-Shepard

Reply via email to