zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: completion tests
Date: 01 Mar 2000 23:52:02 +0900	[thread overview]
Message-ID: <rsqitz668vh.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 1 Mar 2000 15:01:40 +0100 (MET)"

In article <200003011401.PAA27932@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> The problem was that the ec-code was output differently and for all
> other codes there was the optimisation to not print them again when we 
> already printed them and no other code since then.
> 
> The patch below should force the lc/no/rc codes to be printed again
> after we printed ec. In terms of optimisation, this is a bit unlucky,
> but since ec may contain anything, it was indeed wrong before.

Thanks.  Now comptest works better with display strings.

Z(2):akr@is27e1u11% Src/zsh -f Test/comptest -D -z Src/zsh $'flex -\t'|bin2ascii|head
line: {flex -}{}
DESCRIPTION:{option}
NO:{-+ -- generate C++ scanner class\x1B[K}
NO:{-7 -- generate 7-bit scanner\x1B[K}
NO:{-8 -- generate 8-bit scanner\x1B[K}
NO:{-B -- generate batch scanner\x1B[K}
NO:{-C -- specify degree of table compression\x1B[K}
NO:{-F -- use fast scanner table representation\x1B[K}
NO:{-I -- generate interactive scanner\x1B[K}
NO:{-L -- don't generate #line directives\x1B[K}
Z(2):akr@is27e1u11% bin2ascii /tmp/comptest.debug|head
f\bflex -<WIDGET><expand-or-complete>\r
<LBUFFER>flex -</LBUFFER>\r
<RBUFFER></RBUFFER>\r
\x1B[H\x1B[2J\x1B[m\x1B[m\x1B[m\x1B[J<PROMPT>flex -\x1B[K\r\r
<DESCRIPTION>option</DESCRIPTION>\x1B[K\r
\x1B[K\r
<LC><NO><RC>-+ -- generate C++ scanner class\x1B[K<EC>\r
\r
<LC><NO><RC>-7 -- generate 7-bit scanner\x1B[K<EC>\r
\r
Z(2):akr@is27e1u11% 

But, `\x1B[K' --- el (clear to end of line) terminfo entry --- is
printed before ec-code.
-- 
Tanaka Akira


  reply	other threads:[~2000-03-01 14:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-01 14:01 Sven Wischnowsky
2000-03-01 14:52 ` Tanaka Akira [this message]
2000-03-01 17:13 ` Tanaka Akira
  -- strict thread matches above, loose matches on Subject: below --
2000-03-01 15:28 Sven Wischnowsky
2000-03-01 15:37 ` 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=rsqitz668vh.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).