From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: completion tests
Date: 02 Mar 2000 00:37:07 +0900 [thread overview]
Message-ID: <rsqd7pe66sc.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 1 Mar 2000 16:28:41 +0100 (MET)"
In article <200003011528.QAA28206@beta.informatik.hu-berlin.de>,
Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
> Ah, I forgot to say: this is intentional. It comes from the printfmt()
> functions to ensure that printing a completion list over a completion
> list doesn't flicker. No way around that.
Ok. I modified comptest to remove it.
Index: Test/.distfiles
===================================================================
RCS file: /projects/zsh/zsh/Test/.distfiles,v
retrieving revision 1.1.1.7
diff -u -r1.1.1.7 .distfiles
--- Test/.distfiles 2000/02/20 01:27:22 1.1.1.7
+++ Test/.distfiles 2000/03/01 15:34:31
@@ -1,7 +1,7 @@
DISTFILES_SRC='
.cvsignore .distfiles Makefile.in
- ztst.zsh
+ ztst.zsh comptest
01grammar.ztst 02alias.ztst 03quoting.ztst 04redirect.ztst
05command.ztst 06arith.ztst 07cond.ztst 08traps.ztst 09funcdef.ztst
- 10prompt.ztst 50cd.ztst 51xtrace.ztst
+ 10prompt.ztst 50cd.ztst 51xtrace.ztst 52zregexparse.ztst 53completion.ztst
'
Index: Test/comptest
===================================================================
RCS file: /projects/zsh/zsh/Test/comptest,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 comptest
--- Test/comptest 2000/03/01 13:14:50 1.1.1.2
+++ Test/comptest 2000/03/01 15:34:31
@@ -7,6 +7,7 @@
dump=(-D)
code=
zsh=${ZSH:-zsh}
+termcap_ce="$(echotc ce)"
while getopts Dd:c:z: opt; do
case $opt in
@@ -91,7 +92,7 @@
log="${log[$mend[1]+1,-1]}"
if (( 0 <= $mbegin[2] )); then
if [[ $match[2] != TC && $match[3] != \ # ]]; then
- print -lr "$match[2]:{$match[3]}"
+ print -lr "$match[2]:{${match[3]%$termcap_ce}}"
fi
elif (( 0 <= $mbegin[4] )); then
print -lr "DESCRIPTION:{$match[4]}"
--
Tanaka Akira
next prev parent reply other threads:[~2000-03-01 15:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-01 15:28 Sven Wischnowsky
2000-03-01 15:37 ` Tanaka Akira [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-03-01 14:01 Sven Wischnowsky
2000-03-01 14:52 ` Tanaka Akira
2000-03-01 17:13 ` Tanaka Akira
2000-03-01 11:44 Sven Wischnowsky
2000-03-01 13:11 ` Tanaka Akira
2000-02-29 15:50 Tanaka Akira
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=rsqd7pe66sc.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/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).