From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6936 invoked from network); 7 Jan 2002 14:42:36 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Jan 2002 14:42:36 -0000 Received: (qmail 25296 invoked by alias); 7 Jan 2002 14:42:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16408 Received: (qmail 25283 invoked from network); 7 Jan 2002 14:42:29 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15417.45940.512495.224934@wischnow.berkom.de> Date: Mon, 7 Jan 2002 15:40:52 +0100 To: zsh-workers@sunsite.dk Subject: Re: gripes In-Reply-To: <20011214215105.GA24236@dman.com> References: <20011214215105.GA24236@dman.com> X-Mailer: VM 6.95 under 21.5 (patch 3) "asparagus" XEmacs Lucid Clint Adams wrote: > ... > > Also, this is from a user: > > ----------------- > I set: > setopt nomenucomplete bashautolist noautomenu > but, after pressing TAB a few times, it still starts cycling. > Also, there does not appear to be an option to put the cursor below the > listed possible completions. These abberations are especially annoying > for people who are addicted to bash's tab-completion but would like to > switch to zsh for its more advanced feature-set. > > ------------------ > > I assume that he is using the new completion system, since it does start > cycling even if the options are set as he says. Yep. This was never easy. The patch below fixes it for me. It isn't nice (because it tests the AUTO_MENU option), but the whole logic of it is getting too complicated for me. Bye Sven Index: Src/Zle/compcore.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Zle/compcore.c,v retrieving revision 1.51 diff -u -r1.51 compcore.c --- Src/Zle/compcore.c 2001/10/09 09:50:21 1.51 +++ Src/Zle/compcore.c 2002/01/07 14:41:46 @@ -842,7 +842,8 @@ } startauto = ((compinsert && !strcmp(compinsert, "automenu-unambiguous")) || - (bashlistfirst && (!compinsert || !*compinsert))); + (bashlistfirst && isset(AUTOMENU) && + (!compinsert || !*compinsert))); useexact = (compexact && !strcmp(compexact, "accept")); if (!comptoend || !*comptoend) -- Sven Wischnowsky wischnow@berkom.de