emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancements to "minor-mode-map-alist" functionality.


From: Richard Stallman
Subject: Re: Enhancements to "minor-mode-map-alist" functionality.
Date: Wed, 24 Apr 2002 11:55:11 -0600 (MDT)

    > This should be feasible with existing facilities, right?

    Yes, except that the condition on this keymap is 

      (or (eq cua-enable-cua-keys t)
          cua--last-region-shifted)

Could you make a new variable to control this keymap,
and set it from post-command-hook?

Likewise, maybe you could control the other maps
with variables set in post-command-hook.
This would not be much more complicated
and it probably would be about as fast.
Perhaps faster, since the hook function could be
byte-compiled, whereas if these expressions go straight
into the keymap they would have to be interpreted.




reply via email to

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