From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5150 invoked from network); 23 May 2001 19:33:43 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 May 2001 19:33:43 -0000 Received: (qmail 9591 invoked by alias); 23 May 2001 19:33:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14463 Received: (qmail 9580 invoked from network); 23 May 2001 19:33:28 -0000 From: "Bart Schaefer" Message-Id: <010523123147.ZM9692@candle.brasslantern.com> Date: Wed, 23 May 2001 12:31:47 -0700 In-Reply-To: Comments: In reply to Wayne Davison "Re: vi editting troubles" (May 23, 11:18am) References: X-Mailer: Z-Mail Lite (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: vi editting troubles MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 23, 11:18am, Wayne Davison wrote: > > An off-the-cuff suggestion: Would it be possible to have the C code > call a "set completion defaults" shell function The problem with any shell-function-based solution is that it requires a special case for the `localoptions' setting. Better, perhaps, would be to augment the _comp_options variable with a _comp_setup variable, which would look something like this: _comp_setup='setopt ${_comp_options[@]} localtraps; exec