[climacs-devel] Re: climacs scribbling permission

Christophe Rhodes csr21 at cam.ac.uk
Wed Oct 26 11:21:38 UTC 2005


John Q Splittist <splittist at yahoo.com> writes:

> Christophe Rhodes wrote:
>
>> (PS: would kill for per-pane / per-syntax keybindings :-)
>
> No need to go that far! 

Well, you are on the list for termination anyway:
<http://www.sethf.com/essays/major/killlawyers.php> :-)

> Since your group is the first real multi-syntax 
> group, you should feel free to go ahead and implement whatever works for 
> you. :after (and potentially :before) methods on (setf syntax) and (setf 
> buffer) that call something appropriate specialised on syntax should do 
> for now. And then we might learn whether swapping command-tables is as 
> easy as we hope!

Mm.  My initial experiments indicate that it's not quite as easy as we
hope; there's some detail in the other esa-using project's mail
archives:
<http://common-lisp.net/pipermail/gsharp-devel/2005-September/000071.html>.

It's possible that I understand a little bit more about how this is
meant to work at the moment, but before I start hacking maybe I should
confirm that understanding... the command-table slot of the first
window of the application frame should contain the command-table which
we want to be active.  This implies that running commands, _including_
running commands from keyboard gestures (currently read and processed
with PROCESS-GESTURES) need (a) to be able to change that command
table and (b) to notice that it's been changed.  Also, if the 'active'
command table is changed, the input context needs to be re-established
for mouse gestures, because new commands may make new presentations /
translators applicable.

Is this right?  If so, it will involve a certain amount of
restructuring of ESA-TOP-LEVEL, but otherwise shouldn't be terribly
arduous.

Cheers,

Christophe



More information about the climacs-devel mailing list