-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
advise read-key
as well as read-key-sequence
#865
Conversation
hum. 1 test case failed. can't find it. |
In graphical Emacs, this fails two repeat-related tests, |
Ah, when I ran the tests I think I didn't see the failure because it was picking up .elc files. I've now fixed the tests and I get no errors in terminal or graphical mode. But having fixed the test, I'm now not sure that the advice for |
Huh, I get no errors on my machine, but travis is getting one and I can't tell what it is that failed. If I understand the travis page right, it's passing for emacs 24.3 but failing for all the others it's trying. I'm on emacs 26 built from emacs git master of a couple months ago... Maybe tomorrow I'll get a version of emacs it's failing on and test it there. |
This is unfortunate indeed. IIRC @TheBB is working on a version of the tests where as much as possible runs in batch mode. |
Yeah I am, they're so damn fickle though. |
a5b3724
to
8e5fb21
Compare
If anyone is still interested in this, I rebased it on master (with a more sensible travis setup) and there's only one failure for 24.5. |
On Fri, Nov 22, 2019 at 06:28:02AM -0800, Eivind Fonn wrote:
If anyone is still interested in this, I rebased it on master (with a more sensible travis setup) and there's only one failure for 24.5.
Cool. I still care (to get evil-surround to work properly with
multi-byte utf-8 characters, which I frequently want), but
unfortunately emacs improvements are pretty low on my priority list
right now. So I don't really have time to work on this in the near
future.
|
also still interested since evil-swap-keys.el and evil's repeat facility seem to interfere and it seems like this is related |
With the Evil repeat system now aware of read-key, there is no need for the digraph repeat workaround introduced by commit dba2fa9.
8e5fb21
to
d332a3b
Compare
As discussed in #857 and #858, the use of
read-key
in the evil-surround package brokeevil-repeat
, or.
. This is becauseread-key
changes the result ofthis-command-keys
just likeread-key-sequence
.read-key-sequence
is advised to fix this issue. This patch merely gives the same advice toread-key
, fixing the issues that have been caused by its use.