zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: Picky criticism of ls completion list formatting
Date: Fri, 29 Jun 2001 09:13:00 +0200 (MET DST)	[thread overview]
Message-ID: <200106290713.JAA30726@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <1010629023538.ZM8673@candle.brasslantern.com>

Bart Schaefer wrote:

> ... [completion listing layout]

It's all as it should be, including this one:

> With
> 
> listpacked            on
> listtypes             on
> 
> 	I *still* get equally-sized columns with three spaces between.

because it depends on the completion strings.  If the listing code finds
out that packing the list doesn't decrease the number of lines needed,
it uses equally sized columns in the hope that they are better readable.

Try it with:

  % setopt listtypes listpacked
  % touch a12345678901234567890{a,b,c,d} b12{a,b,c,d}
  % ls <TAB>

and you'll see that the listing code can sometimes even increase the
number of spaces between columns if it can do so without needing more
lines (it currently does that only if it can give the same number of
spaces to each column).


And a `btw': with coloured completion listings setting list_types isn't
really needed anymore, so the original poster may think about unsetting it.


Bye
  Sven


-- 
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


  reply	other threads:[~2001-06-29  7:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 16:21 Peter Whaite
2001-06-28 16:50 ` Bart Schaefer
2001-06-28 16:57   ` Peter Stephenson
2001-06-28 19:49     ` Peter Whaite
2001-06-29  2:35       ` Bart Schaefer
2001-06-29  7:13         ` Sven Wischnowsky [this message]
2001-06-29  8:33           ` Bart Schaefer
2001-06-29  8:37             ` Sven Wischnowsky
2001-06-29  8:27       ` Alexandre Duret-Lutz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200106290713.JAA30726@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).