[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: self-insert-command advice is not called when command is run
From: |
Stefan Monnier |
Subject: |
Re: self-insert-command advice is not called when command is run |
Date: |
Tue, 21 Mar 2006 09:49:14 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> self-insert-command is handled specially by the command loop.
> Is it actually useful nowadays? Couldn't we get rid of this optimization?
> I am not sure. Yes, computers are faster. But this is the most common
> command in Emacs--most of the keystrokes are this command.
Yes, but AFAIK it only needs to go "as fast as the user", so if a naive
implementation is fast enough there is 0 benefit to any optimization
(unless you consider the issue of throughput on multiuser systems, but
I suspect that it's not really relevant these days).
Stefan