emacs-devel
[Top][All Lists]
Advanced

[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.




reply via email to

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