From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22782 invoked from network); 25 Sep 1999 22:08:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Sep 1999 22:08:11 -0000 Received: (qmail 27716 invoked by alias); 25 Sep 1999 22:08:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8046 Received: (qmail 27709 invoked from network); 25 Sep 1999 22:07:57 -0000 From: "Bart Schaefer" Message-Id: <990925220752.ZM2123@candle.brasslantern.com> Date: Sat, 25 Sep 1999 22:07:51 +0000 In-Reply-To: <19990924063116.21058.rocketmail@web1304.mail.yahoo.com> Comments: In reply to Felix Rosencrantz "Problem with setting both listpacked&listrowsfirst?" (Sep 23, 11:31pm) References: <19990924063116.21058.rocketmail@web1304.mail.yahoo.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers Subject: Re: Problem with setting both listpacked&listrowsfirst? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 23, 11:31pm, Felix Rosencrantz wrote: } Subject: Problem with setting both listpacked&listrowsfirst? } } I think I've applied all the completion patches to ZSH 3.1.6-pws-5. } (7959 7960 7974 7985 7998 8011 8021 8028) } } When I do a "setopt listpacked listrowsfirst" and attempt completion } with tab I don't get a listing for ambiguous matches. I can reproduce this, but ONLY if using the new-style completions, and then (so far) only for normal file completions (e.g. completion after "ls"). It's got something to do with lines 8880-8919 of zle_tricky.c, and how the value of `i' is computed (Sven, I know it's going to be two weeks until you read this, but: I thought you were going to start using more descriptive variable names?). I tried a few different tweaks, but although I got it to display the list I couldn't get it to position the cursor properly afterwards. I can't figure out how to get zsh to enter the branch at 8826-8856, so I don't know whether that has a problem as well. Even for completions that do work, the columns are ragged: zagzig<4> set set setclock setconsole setenv setfdprm setfont setfx setkeycodes setleds setmetamode setopt setserial setsid setsysfont setterm setup setup_compinit setxkbmap I don't know of that's an intended side-effect of LISTPACKED or not, but it doesn't always happen. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com