Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: $CONTEXT
- X-seq: zsh-workers 19296
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: $CONTEXT
- Date: Tue, 16 Dec 2003 10:56:53 +0100
- In-reply-to: <20031215224401.4790B84C8@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20031215224401.4790B84C8@xxxxxxxxxxxxxxxxxxxxxxxx>
Peter wrote:
> Here is the zle parameter CONTEXT. There are four contexts start, cont,
> select, vared. Let me know if you think there should be more.
Would `primary' and `secondary' perhaps be better values for `start'
and `cont'? That would tie up more closely with the documentation for
PS1 and PS2.
As for other values, reading from the minibuffer probably ought to be
relevant but I suspect it isn't. Replacing accept-line caused me
problems from it. Menu selection and scrolling came to mind but they
take place from a primary or secondary prompt. If we're going to have a
number of different minor things, a zlestate associative array like
compstate might be better.
Would it perhaps be worth making a convention of sticking this $CONTEXT
in a second component of the zstyle context (after :zle:) when looking
up styles from zle widgets?
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author