Kim F. Storm wrote:

"Richard M. Stallman" <[EMAIL PROTECTED]> writes:

When you put advice on primitive functions,
it only works when they are called from Lisp code.
The command loop calls self-insert directly in
a special way, so your advice is not called.

What you should do is rebind those characters to run
another command, one that does your special thing
and calls self-insert.

Or use the command remap feature.
Thanks, but I am not able to understand how to apply any of your suggestions in a case like this. The problem is that the keyboard keys to change are all those that are outside a set of those defined to useful things (say a-z for simplicity). All other keys should be defined to do nothing. There are plenty of potential keys (65K). It does not seem to be possible to handle them all separately.

Can you please explain a little bit more in detail how you think this could be done? Could the actual available keyboard keys in a specific situation in some way be listed?


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to