From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1739 invoked from network); 17 Aug 2001 09:49:01 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Aug 2001 09:49:01 -0000 Received: (qmail 12806 invoked by alias); 17 Aug 2001 09:48:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15652 Received: (qmail 12795 invoked from network); 17 Aug 2001 09:48:49 -0000 From: Sven Wischnowsky Message-ID: <15228.59506.385187.402442@gargle.gargle.HOWL> Date: Fri, 17 Aug 2001 11:48:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: zsh-workers@sunsite.dk Subject: insert-tab default In-Reply-To: <2837.998039990@csr.com> References: <2837.998039990@csr.com> X-Mailer: VM 6.92 under 21.1 (patch 3) "Acadia" XEmacs Lucid Peter Stephenson wrote: > insert-tab > > The default value of this style is `true' unless when completing > inside the vared builtin command, where it defaults to `false'. > > This appears to be `untrue'. You need to set it to use it. I don't know > which is right. It seems to work if I redefine complete-word as a trivial > widget which runs zle .complete-word. Oops. That's from: zstyle -s ":completion:${curcontext}:" insert-tab tmp || tmp=no in _main_complete. Should we change the code or the docs? > By the way, I was having some problem with another apparently trivial > widget, expand-or-complete() { zle .expand-or-complete; }, which frequently > made the shell crash. Unfortunately, it doesn't do this with the default > settings and I haven't traced what was doing it. Hm, can't reproduce that. Will keep trying... Bye Sven P.S.: longest=( ${(M)array:#${~${(O@)array//?/?}[1]}} ) -- Sven Wischnowsky wischnow@informatik.hu-berlin.de