[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
post-self-insert-hook and last-command:
From: |
T.V. Raman |
Subject: |
post-self-insert-hook and last-command: |
Date: |
Sun, 27 May 2012 07:38:04 -0700 |
Stehane, will try this-command -- not clear which calls cause the
chatter, but with the new code installed, emacs chatters more
than it used to as it loads my .emacs. Since this is a
substantial change in how emacspeak has done things over 18
years, I suspect it'll take some testing.
The electric commands are already advised to speak, and I'm
leaving those advice fragments in place.
--
Best Regards,
--raman
--
Best Regards,
--raman
On 5/27/12, Stefan Monnier <address@hidden> wrote:
>> emacspeak-self-insert-command. It all works (almost) -- except
>> that the speech feedback is called in situations other than when
>> the user executes self-insert-command. The usual emacspeak
>> technique of advising has never worked for this case since
>> self-insert-command is a builtin.
>
> I wonder which calls to self-insert-command are problematic.
>
>> (eq last-command self-insert-command)
>
> Why last-command rather than this-command?
> But note that if you test this-command, you'll miss most of the
> electric-foo commands (which don't use post-self-insert-hook but
> instead define new commands that then call self-insert-command).
>
>
> Stefan
>