From: Alexandre Duret-Lutz <duret_g@lrde.epita.fr>
To: Peter Whaite <peta@cortexmachina.com>
Cc: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: Picky criticism of ls completion list formatting
Date: 29 Jun 2001 10:27:29 +0200 [thread overview]
Message-ID: <mvblmmb1yj2.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: <200106281949.PAA16170@aragorn.cortexmachina.com>
>>> "Peter" == Peter Whaite <peta@cortexmachina.com> writes:
[...]
Peter> OK I see. The (GNU) ls algorithm uses variable column
Peter> widths separated with 2 spaces, whereas zsh by default
Peter> uses the same column width for all the columns separated
Peter> by 3 spaces. List_packed makes the widths variable but
Peter> still keeps the spacing of 3.
I looked at this about a year ago, so things maybe different
now, but IIRC both ls and zsh use 2 spaces to separate columns.
The difference is that for ls -F the file-type-character is part
of the filename while Zsh for Zsh it's separate. If list_types
is set, Zsh will add a third column to display this additional
character. Thus if you have only plain files, Zsh will appear
to separate column with spaces through actually one of them is a
file-type-charater. This should be obvious if you highlight
this caracter, for instance with:
zstyle ':completion:*:default' list-colors 'tc=03;31'
[...]
--
Alexandre Duret-Lutz
prev parent reply other threads:[~2001-06-29 8:22 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
2001-06-29 8:33 ` Bart Schaefer
2001-06-29 8:37 ` Sven Wischnowsky
2001-06-29 8:27 ` Alexandre Duret-Lutz [this message]
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=mvblmmb1yj2.fsf@phobos.lrde.epita.fr \
--to=duret_g@lrde.epita.fr \
--cc=peta@cortexmachina.com \
--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).