[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] frame.c: focus hooks
From: |
Josh |
Subject: |
Re: [PATCH] frame.c: focus hooks |
Date: |
Sat, 11 Jan 2014 11:06:09 -0800 |
On Fri, Jan 10, 2014 at 9:31 AM, Stefan Monnier
<address@hidden> wrote:
>> Such a hook would be an improvement but not ideal, since some
>> selected-window changes of interest may not result from a user
>> command, e.g. those due to a non-nil compilation-auto-jump-to-first-error.
>
> Agreed. And I think this is a fairly general problem.
> We should provide a new hook that is run whenever we begin waiting for
> a command.
>
> The new pre-redisplay-function provides something pretty close.
> Maybe you could try using this instead.
I will do so. Thanks for the suggestion!