[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid insert anything without switching to read only
From: |
Kim F. Storm |
Subject: |
Re: How to avoid insert anything without switching to read only |
Date: |
Mon, 11 Jul 2005 00:09:12 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> 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.
--
Kim F. Storm <address@hidden> http://www.cua.dk
Re: How to avoid insert anything without switching to read only, Stefan Monnier, 2005/07/11