From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@math.gatech.edu
Subject: Re: experimental new style completion
Date: Thu, 21 Jan 1999 11:53:05 +0100 (MET) [thread overview]
Message-ID: <199901211053.LAA19357@beta.informatik.hu-berlin.de> (raw)
While working on my last patch I found a bug: completion inside
`((...))' reported a wrong CONTEXT.
Bye
Sven
*** Src/Zle/zle_tricky.c.old Thu Jan 21 11:48:50 1999
--- Src/Zle/zle_tricky.c Thu Jan 21 11:49:06 1999
***************
*** 3240,3246 ****
zsfree(compcontext);
zsfree(compcommand);
compcommand = "";
! if (lincmd)
compcontext = (insubscr ? "subscript" : "command");
else if (linredir)
compcontext = "redirect";
--- 3240,3253 ----
zsfree(compcontext);
zsfree(compcommand);
compcommand = "";
! if (inwhat == IN_MATH) {
! if (insubscr) {
! compcontext = "subscript";
! compcommand = varname ? varname : "";
! } else
! compcontext = "math";
! usea = 0;
! } else if (lincmd)
compcontext = (insubscr ? "subscript" : "command");
else if (linredir)
compcontext = "redirect";
***************
*** 3249,3262 ****
case IN_ENV:
compcontext = "value";
compcommand = varname;
- usea = 0;
- break;
- case IN_MATH:
- if (insubscr) {
- compcontext = "subscript";
- compcommand = varname ? varname : "";
- } else
- compcontext = "math";
usea = 0;
break;
case IN_COND:
--- 3256,3261 ----
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-01-21 10:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-21 10:53 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-01-22 16:30 Sven Wischnowsky
1999-01-22 14:50 Sven Wischnowsky
1999-01-22 16:18 ` Phil Pennock
1999-01-22 17:09 ` Bart Schaefer
1999-01-22 13:15 Sven Wischnowsky
1999-01-21 16:07 Sven Wischnowsky
1999-01-21 12:02 Sven Wischnowsky
1999-01-21 10:36 Sven Wischnowsky
1999-01-07 8:02 Sven Wischnowsky
1999-01-05 15:43 Sven Wischnowsky
1999-01-07 7:36 ` Bart Schaefer
1998-12-18 15:59 Sven Wischnowsky
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=199901211053.LAA19357@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@math.gatech.edu \
/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).