From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: _urls, _netscape, a seg fault and new completion thoughts
Date: Thu, 14 Oct 1999 16:39:39 +0200 (MET DST) [thread overview]
Message-ID: <199910141439.QAA16218@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 14 Oct 1999 23:28:28 +0900
Tanaka Akira wrote:
> Maybe, a patch for _main_complete was forgotten in 8227.
Urgh, the ones for `_main_complete' and `compinit'.
I can only hope that this now applies cleanly.
Sorry!
Bye
Sven
--- Completion/Core/_main_complete.old Thu Oct 14 16:35:27 1999
+++ Completion/Core/_main_complete Thu Oct 14 16:35:44 1999
@@ -51,6 +51,13 @@
fi
done
+# Now call the post-functions.
+
+for post in "$comppostfuncs[@]"; do
+ "$post"
+done
+comppostfuncs=()
+
[[ "$compconfig[last_prompt]" = always ]] && compstate[last_prompt]=yes
_lastcomp=( "${(@kv)compstate}" )
--- Completion/Core/compinit.old Thu Oct 14 16:37:27 1999
+++ Completion/Core/compinit Wed Oct 13 10:12:17 1999
@@ -112,6 +112,11 @@
compconfig[correct_prompt]='correct to:'
(( ${+compconfig[completer]} )) || compconfig[completer]=_complete
+# This can hold names of functions that are to be called after all
+# matches have been generated.
+
+comppostfuncs=()
+
# This function is used to register or delete completion functions. For
# registering completion functions, it is invoked with the name of the
# function as it's first argument (after the options). The other
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-10-14 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-14 14:39 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-10-14 11:41 Sven Wischnowsky
1999-10-14 14:28 ` Tanaka Akira
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=199910141439.QAA16218@beta.informatik.hu-berlin.de \
--to=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).