From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: PATCH: $CONTEXT
Date: Tue, 16 Dec 2003 10:56:53 +0100 [thread overview]
Message-ID: <10731.1071568613@gmcs3.local> (raw)
In-Reply-To: <20031215224401.4790B84C8@pwstephenson.fsnet.co.uk>
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
next prev parent reply other threads:[~2003-12-16 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 22:43 Peter Stephenson
2003-12-16 9:56 ` Oliver Kiddle [this message]
2003-12-16 10:30 ` Peter Stephenson
2003-12-17 20:09 Felix Rosencrantz
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=10731.1071568613@gmcs3.local \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@sunsite.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).