From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: "User Contributions" manual, & misc.
Date: Tue, 5 Sep 2000 15:56:38 +0000 [thread overview]
Message-ID: <1000905155638.ZM18574@candle.brasslantern.com> (raw)
In-Reply-To: <200009050834.KAA12731@beta.informatik.hu-berlin.de>
On Sep 5, 10:34am, Sven Wischnowsky wrote:
}
} - The indexes for the styles say `completion style' even for those
} styles looked up with a non-:completion context. Sounds wrong,
} doesn't it? If only I knew what to write instead...
I almost changed the predict-on style index entries to read "predictive
typing style" but that's too long to fit in the space info allots.
Perhaps "widget style", since it's for a ZLE widget? (But there are
completion widgets, too, so ...)
} - The place where the zsh/zpty module is mentioned (in info, at the
} nslookup function) is messed up (by the automatic module-docs-stuff).
Can you explain what's "messed up" in a bit more detail? (I didn't put
a cross-reference in there; perhaps that's what you think went wrong?)
This patch also throws in some words of wisdom about completers for the
:completion:predict context.
Index: Doc/Zsh/contrib.yo
===================================================================
@@ -451,6 +451,14 @@
_complete _correct
zstyle ':completion:predict:*' completer \
_complete)
+
+It is a good idea to restrict the completers used in prediction, because
+they may be automatically invoked as you type. The tt(_list) and
+tt(_menu) completers should never be used with prediction. The
+tt(_approximate), tt(_correct), tt(_expand), and tt(_match) completers may
+be used, but be aware that they may change characters anywhere in the word
+behind the cursor, so you need to watch carefully that the result is what
+you intended.
)
kindex(cursor, completion style)
item(tt(cursor))(
@@ -640,7 +648,10 @@
findex(nslookup)
item(tt(nslookup) [ var(arg) ... ])(
This wrapper function for the tt(nslookup) command requires the
-tt(zsh/zpty) module. It behaves exactly like the standard tt(nslookup)
+tt(zsh/zpty) module (see
+ifzman(zmanref(zshmodules))\
+ifnzman(noderef(The zsh/zpty Module))\
+). It behaves exactly like the standard tt(nslookup)
except that it provides customizable prompts (including a right-side
prompt) and completion of nslookup commands, host names, etc. (if you use
the function-based completion system). Completion styles may be set with
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2000-09-05 15:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-05 8:34 Sven Wischnowsky
2000-09-05 15:56 ` Bart Schaefer [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-09-06 13:15 Sven Wischnowsky
2000-09-06 13:28 ` Andrej Borsenkow
2000-09-06 8:57 Sven Wischnowsky
2000-09-06 7:07 Sven Wischnowsky
2000-09-06 8:09 ` Bart Schaefer
2000-09-04 20:56 Bart Schaefer
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=1000905155638.ZM18574@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=wischnow@informatik.hu-berlin.de \
--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).