emacs-devel
[Top][All Lists]
Advanced

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

Re: Suggestion: Simple way to make conditional key bindings.


From: Kim F. Storm
Subject: Re: Suggestion: Simple way to make conditional key bindings.
Date: 29 Aug 2002 10:54:01 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <address@hidden> writes:

>     Remapping works by taking the result of the normal key lookup, say
>     `yank' for C-y and perform a new lookup (in the exact same keymaps)
>     for the vector [remap yank].  But it will not (and cannot) check the
>     keymap property of the text _to_be_yanked_.
> 
> Nothing in Emacs will check the keymap property of the text to be
> yanked.  Conditional key bindings wouldn't do that either.  So how
> does this relate?

In the context of discussing how to make C-y/yank behave differently
depending on the text it is going to yank, checking for a [remap yank]
keymap property in the to_be_yanked text might be a (far-fetched)
possibility.





reply via email to

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