[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A simple implementation of context-sensitive keys
From: |
Miles Bader |
Subject: |
Re: A simple implementation of context-sensitive keys |
Date: |
Thu, 11 Sep 2008 17:17:00 +0900 |
Tassilo Horn <address@hidden> writes:
> Hey, nice feature. I didn't know it till now. But how to I [re]set
> this property in a good fashion? Currently I think hooking into
> after-change-function would be TRTD.
after-change-functions is a very blunt hammer, and overuse of it is not
good.
I suspect the right thing depends what you're actually trying to do at
the application level. In that sense, I'm not sure your attempt to
define a single do-everything function like `define-context-keymap' is
actually a very good idea; in many cases it would seem simpler and more
efficient to simply add keymap properties in an application-dependent
manner.
-Miles
--
Twice, adv. Once too often.
Re: A simple implementation of context-sensitive keys, Stefan Monnier, 2008/09/10
Re: A simple implementation of context-sensitive keys, Lennart Borgman (gmail), 2008/09/11
Re: A simple implementation of context-sensitive keys, Lennart Borgman (gmail), 2008/09/11
Re: A simple implementation of context-sensitive keys, Tassilo Horn, 2008/09/11