From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Crash playing with new completion stuff; bug with Functions/Completion/init
Date: Sun, 14 Feb 1999 13:14:44 -0800 [thread overview]
Message-ID: <990214131444.ZM29060@candle.brasslantern.com> (raw)
I managed to cause zsh to deref a null `aval' in paramsubst() with `plan9'
(that's rcexpandparam) true. I have no idea how rcexpandparam became set,
as I don't normally use it, and I started from zsh -f and then sourced the
Functions/Completion/init file.
I was using this binding at the time (though I did have the sample stuff
loaded):
__test() {
local i
for i in CONTEXT COMMAND IPREFIX PREFIX SUFFIX CURRENT argv;
compadd "$(typeset $i)"
}
zle -C test-complete complete-word __test
bindkey \^I test-complete
And I was completing the string
ls "a
I pressed TAB once, the 'a' disappeared (as expected); I pressed it again,
and boom. I had done some other stuff first, including sourcing init many
times before figuring out that it doesn't do anything if you don't have
extendedglob set (which zsh -f does not).
This is all pws-8, of course.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
reply other threads:[~1999-02-14 21:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=990214131444.ZM29060@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).