From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: PATCH: key delays in zle tests (was fix vi-indent and vi-swap-case)
Date: Tue, 18 Nov 2014 13:09:29 +0900 [thread overview]
Message-ID: <61C04781-0488-43AA-B773-C9CA6B77219E@kba.biglobe.ne.jp> (raw)
In-Reply-To: <28829.1416183899@thecus.kiddle.eu>
X02zlevi.ztst now fails on MacOSX and FreeBSD as follows.
Increasing the timeout in 'read -t 0.011' didn't work.
*** 1,3 ****
! BUFFER: i
!
! CURSOR: 2
--- 1,2 ----
! BUFFER: aIo
! CURSOR: 3
Test ./X02zlevi.ztst failed: output differs from expected as shown above for:
zletest $'\e' $'~aI\e' $'~o\e' \~
Was testing: swap case on a blank line
The following simple workaround seems to work.
If this is applied the delay by 'read -t ...' is not necessary
(on Mac, FreeBSD and Linux).
diff --git a/Test/comptest b/Test/comptest
index c67237a..f23d813 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -89,6 +89,7 @@ bindkey "^D" list-choices-with-report
bindkey "^Z" comp-finish
bindkey "^X" zle-finish
bindkey -a "^X" zle-finish
+bindkey -r "\E~"
'
}
prev parent reply other threads:[~2014-11-18 4:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-15 6:50 PATCH: fix vi-indent and vi-swap-case Oliver Kiddle
2014-11-17 0:24 ` PATCH: key delays in zle tests (was fix vi-indent and vi-swap-case) Oliver Kiddle
2014-11-18 4:09 ` Jun T. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61C04781-0488-43AA-B773-C9CA6B77219E@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).