emacs-devel
[Top][All Lists]
Advanced

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

Re: Additional cleanup around xterm-mouse


From: Jared Finder
Subject: Re: Additional cleanup around xterm-mouse
Date: Sun, 13 Dec 2020 16:36:38 -0800
User-agent: Roundcube Webmail/1.3.15

On 2020-12-01 10:23 am, Eli Zaretskii wrote:
Date: Mon, 30 Nov 2020 23:36:23 -0800
From: Jared Finder <jared@finder.org>
Cc: emacs-devel@gnu.org

This makes sense to me.  I agree that read-key is likely to currently
behave different in some situations from read-event.  Are these
differences bugs that should be fixed or are they now features that can
not be changed?

I don't know.  I think we need to discuss each difference separately.

I'm about 33% through analyzing read-key and have already found the
following differences:

* read-key resets this-command-keys, read-event appends to it.
* read-key does not return switch-frame events as they happen,
read-event does.

Thank you for doing this.  We should at least document these changes
in some place, and probably also discuss at least some of them.

I went through the rest of the code path and did not find any other behavior differences. I do not fully understand the logic around downcasing unbound keys (I think this is every key during read-key). However, I believe this doesn't matter as dont_downcase_last will be true from calls to read-key.

  -- MJF



reply via email to

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