zsh-users
 help / color / mirror / code / Atom feed
From: Hannu Koivisto <azure@iki.fi>
To: Zsh Users' List <zsh-users@sunsite.dk>
Subject: Re: Improved apt/dpkg completion and completion hacking questions
Date: Thu, 27 Oct 2005 15:02:34 +0300	[thread overview]
Message-ID: <87k6fz182t.fsf@trews52.bothi.fi> (raw)
In-Reply-To: <20051026042027.GB10473@scowler.net> (Clint Adams's message of "Wed, 26 Oct 2005 00:20:27 -0400")

Clint Adams <clint@zsh.org> writes:

> You could use 'zstyle'.  Another thing you might consider is

I was hoping for slightly more detailed guidelines regarding zstyle
from the completion programmer's point of view...

> filing a wishlist bug on apt to add an option to spew out
> the short description after each package name when doing
> 'apt-cache --generate pkgnames'.

There would also have to be an option for generating only package
names of packages available for installation.

> Have you done any speed tests?

On a 2.8GHz P4 machine with plenty of memory and reasonably
fast/modern IO/disk apt-get install zsh<C-d> (for the first time,
i.e. when it fills the array) took about one second.  On my
memory-starved 466MHz Celeron machine it took about three seconds
if _deb_packages_update_avail had been run in another shell
recently.  If not, it took up to eight seconds (slow IO, probably
needed to swap stuff out as well).

I haven't yet figured out how to enable caching, which
_deb_packages seems to support.

-- 
Hannu


      reply	other threads:[~2005-10-27 12:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 22:47 Hannu Koivisto
2005-10-26  4:20 ` Clint Adams
2005-10-27 12:02   ` Hannu Koivisto [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=87k6fz182t.fsf@trews52.bothi.fi \
    --to=azure@iki.fi \
    --cc=zsh-users@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).