From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23072 invoked from network); 12 Feb 2009 15:39:48 -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.3 required=5.0 tests=AWL,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; 12 Feb 2009 15:39:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 13930 invoked from network); 12 Feb 2009 15:39:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Feb 2009 15:39:44 -0000 Received: (qmail 15349 invoked by alias); 12 Feb 2009 15:39:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26563 Received: (qmail 15334 invoked from network); 12 Feb 2009 15:39:38 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Feb 2009 15:39:38 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 6098980271F0 for ; Thu, 12 Feb 2009 16:39:35 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly13g.srv.mailcontrol.com (MailControl) with ESMTP id n1CFcXpa015498 for ; Thu, 12 Feb 2009 15:39:29 GMT Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 15:30:27 +0000 Date: Thu, 12 Feb 2009 15:30:21 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: sticky emulation Message-ID: <20090212153021.7c969849@news01> In-Reply-To: <7223.1234433440@thecus> References: <18952.1234307021@pws-pc> <090210191804.ZM7110@torch.brasslantern.com> <20090211202840.000b37aa@pws-pc> <090211153758.ZM8681@torch.brasslantern.com> <20090212094433.30ce1b62@news01> <7223.1234433440@thecus> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2009 15:30:27.0302 (UTC) FILETIME=[D4AB0060:01C98D26] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.71.0.123 X-Virus-Scanned: ClamAV 0.92.1/8984/Thu Feb 12 15:24:21 2009 on bifrost X-Virus-Status: Clean On Thu, 12 Feb 2009 11:10:40 +0100 Oliver Kiddle wrote: > Is it somehow possible with this new feature to, from a function, revert > to the user's interactive option set. Could be useful for setopt > completion to correctly complete set and unset options. The code doesn't make the original options available deeper in. You'd have to do what the completion code optionally does and save it yourself. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070