Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Something very weird just happened
- X-seq: zsh-workers 5335
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Something very weird just happened
- Date: Thu, 11 Feb 1999 08:40:00 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Wed, 10 Feb 1999 22:44:03 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> I ran `zed -f __find` where __find is from the new-completion-examples, and
> a lot of the '-' characters inside [[ ... ]] expressions got doubled. I
> suspect somebody forgot to tweak a pretty-printing routine to handle the new
> condition codes?
Yes. Actually I changed text.c to print the new condition codes
correctly, then changed the way their names are stored and forgot to
change text.c for this.
Bye
Sven
--- os/text.c Thu Feb 11 08:38:46 1999
+++ Src/text.c Thu Feb 11 08:38:58 1999
@@ -415,7 +415,6 @@
/* Module defined prefix condition. */
char **p = (char **) nm->right;
- taddstr("-");
taddstr(nm->left);
for (; *p; p++) {
taddstr(" ");
@@ -426,7 +425,7 @@
case COND_MODI:
/* Module defined infix condition. */
taddstr(((char **) nm->right)[0]);
- taddstr(" -");
+ taddstr(" ");
taddstr(nm->left);
taddstr(" ");
taddstr(((char **) nm->right)[1]);
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author