[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 6fdc3fa: Support terminal focus notifications
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master 6fdc3fa: Support terminal focus notifications |
Date: |
Sat, 09 Jun 2018 19:10:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> I think this deserves a comment explaining why we don't use the
>> pre-existing `focus-in` and `focus-out` events and why we bind our
>> events in global-map rather than in special-map (as is done for
>> `focus-in/out` events).
> I was being consistent with the xterm-paste event. All three events should
> go in special-map if that's the right place, shouldn't they? It doesn't
> seem to make a difference in this case.
BTW, I think it does make a difference: those events wouldn't work on
special-map because special-map is not looked up after input-decode-map.
So, I think ideally, we'd want to use special-map here, but for
technical reasons we can't.
Stefan