[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUFFER_SWITCH_EVENT
From: |
Stefan Monnier |
Subject: |
Re: BUFFER_SWITCH_EVENT |
Date: |
Tue, 25 Sep 2018 12:14:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> I do wonder what these BUFFER_SWITCH_EVENT are for, tho.
>> In record_asynch_buffer_change it says:
>>
>> /* We don't need a buffer-switch event unless Emacs is waiting for input.
>> The purpose of the event is to make read_key_sequence look up the
>> keymaps again. If we aren't in read_key_sequence, we don't need one,
>> and the event could cause trouble by messing up (input-pending-p).
>> Note: Fwaiting_for_user_input_p always returns nil when async
>> subprocesses aren't supported. */
>>
>> but I don't see why we'd need to look up the keymaps again.
>
> To find buffer-local bindings?
We already look them up presumably in the right place. I don't
understand why we'd need to look them up again after running
a process filter.
Stefan
- Re: while-no-input interrupted by *shell*, (continued)
- Re: while-no-input interrupted by *shell*, Michael Heerdegen, 2018/09/24
- Re: while-no-input interrupted by *shell*, Stefan Monnier, 2018/09/24
- Re: while-no-input interrupted by *shell*, Eli Zaretskii, 2018/09/25
- Re: while-no-input interrupted by *shell*, Michael Heerdegen, 2018/09/25
- Re: while-no-input interrupted by *shell*, Eli Zaretskii, 2018/09/25
- Re: while-no-input interrupted by *shell*, Eli Zaretskii, 2018/09/29
- BUFFER_SWITCH_EVENT (was: while-no-input interrupted by *shell*), Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT (was: while-no-input interrupted by *shell*), Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT,
Stefan Monnier <=
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/26
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/26
Re: while-no-input interrupted by *shell*, Andreas Schwab, 2018/09/24