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 10:37:37 +0200 (MET DST)	[thread overview]
Message-ID: <200106290837.KAA04083@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <1010629083338.ZM13900@candle.brasslantern.com>

Bart Schaefer wrote:

> On Jun 29,  9:13am, Sven Wischnowsky wrote:
> } Subject: Re: Picky criticism of ls completion list formatting
> }
> } 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.
> 
> But I'm not really getting three spaces, am I.  I'm getting two spaces
> plus the one-character type-marker of a plain file, which happens to
> also be a space.  The code just isn't clever enough to strip that off
> when the longest name in the column is that of a plain file.

Yes.  One of the things I had thought about trying to write several
times but never came around to really trying.  It's one of the things
inherited from the times before I started hacking zsh (the fact that, as
Alexandre said, the code doesn't store the type character with the
matches or uses it in its calculations and that it use spaces instead of
empty strings for normal files).


Bye
  Sven


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


  reply	other threads:[~2001-06-29  8:39 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 [this message]
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=200106290837.KAA04083@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).