help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Print out my key-sequences


From: Andrea Crotti
Subject: Re: Print out my key-sequences
Date: Sun, 18 Apr 2010 11:01:34 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (darwin)

Andrea Crotti <andrea.crotti.0@gmail.com> writes:
>
>
>
> And now emacs is going crazy, when I try to evaluate something it tries
> to execute it in the shell.
>
> I then removed the hook with
> (setq post-command-hook (remq 'popup-last post-command-hook))
>
> but it didn't listen, it's continuing to use it indefinitely...
>
> Other problems are:
> - the command is shown after (not during)
> - I should remove useless stuff like self-insert-command
> - I want to see the keyboard combination, not the full name of the
> command...

Ok I understood why it does so, it was for every command waiting to
growlnotify to finish, maybe in general it would be better to spawn a
shell process without waiting for it.

Another thing is that pre-command-hook is better, otherwise the command
is shown too late.

Last thing is that post-command-hook is modified globally but locally
somewhere there is still that command in the hook, that's why it keeps
getting crazy...





reply via email to

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