From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16770 invoked from network); 9 Feb 2009 06:15:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Feb 2009 06:15:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 25186 invoked from network); 9 Feb 2009 06:15:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Feb 2009 06:15:32 -0000 Received: (qmail 18576 invoked by alias); 9 Feb 2009 06:15:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26538 Received: (qmail 18559 invoked from network); 9 Feb 2009 06:15:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 9 Feb 2009 06:15:26 -0000 Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by bifrost.dotsrc.org (Postfix) with ESMTP id 13ED080271F0 for ; Mon, 9 Feb 2009 07:15:22 +0100 (CET) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA10.westchester.pa.mail.comcast.net with comcast id DiDc1b0090xGWP85AiFNzR; Mon, 09 Feb 2009 06:15:22 +0000 Received: from smtp.klanderman.net ([98.217.254.247]) by OMTA12.westchester.pa.mail.comcast.net with comcast id DiFM1b00E5M2Np63YiFMCg; Mon, 09 Feb 2009 06:15:22 +0000 Received: from lwm.klanderman.net (unknown [192.168.100.50]) by smtp.klanderman.net (Postfix) with ESMTP id 6FA45B3014A for ; Mon, 9 Feb 2009 01:15:20 -0500 (EST) Received: by lwm.klanderman.net (Postfix, from userid 500) id 529D49FC5E6; Mon, 9 Feb 2009 01:15:20 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18831.51704.292282.667241@gargle.gargle.HOWL> Date: Mon, 9 Feb 2009 01:15:20 -0500 From: Greg Klanderman To: Zsh list Subject: PATCH: _read_comp widget broken by 'setopt nounset' Reply-To: gak@klanderman.net X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV 0.92.1/8966/Mon Feb 9 00:43:40 2009 on bifrost X-Virus-Status: Clean [~] phl| zsh -f phl% phl% autoload compinit phl% compinit phl% setopt nounset phl% _read_comp:29: _read_comp: parameter not set phl% Index: Completion/Base/Widget/_read_comp =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Base/Widget/_read_comp,v retrieving revision 1.1 diff -u -r1.1 _read_comp --- Completion/Base/Widget/_read_comp 2 Apr 2001 11:17:07 -0000 1.1 +++ Completion/Base/Widget/_read_comp 9 Feb 2009 06:12:22 -0000 @@ -23,7 +23,7 @@ # _read_comp Last completion string read from user # emulate -L zsh -setopt localoptions extendedglob nobadpattern # xtrace promptsubst +setopt localoptions extendedglob nobadpattern unset # xtrace promptsubst # local PS4='%N:%i:$((#key))> ' if [[ ${+NUMERIC} = 0 && -n $_read_comp ]]; then