[Top][All Lists]

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

Re: (describe-function 'self-insert-command) takes too long

From: Kim F. Storm
Subject: Re: (describe-function 'self-insert-command) takes too long
Date: Tue, 17 Oct 2006 10:28:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     > !       (if (eq function 'self-insert-command)
>     > !         (princ "It is bound to many ordinary text characters.\n")
>     How do you know it is bound to anything at all?
> I will make it check that.  Thanks.

It doesn't get it right in all cases.

Eg. in a Gnus summary buffer, C-h f self-insert-command now gives a
incorrect information (ignore is NOT bound to any ordinary text

IMO, this is the wrong way to fix the problem (which is why I opposed to
your patch) -- it is a gross hack which cannot DTRT in all cases.

self-insert-command is an interactive built-in function in `C source code'.
It is remapped to `undefined' which is bound to many ordinary text characters.
(self-insert-command n)

Insert the character you type.
Whichever character you type to run this command is inserted.


Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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