zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: new _tin
Date: Thu, 1 Feb 2001 16:04:47 +0100 (MET)	[thread overview]
Message-ID: <200102011504.QAA12691@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Oliver Kiddle's message of Thu, 01 Feb 2001 14:54:54 +0000


Oliver Kiddle wrote:

> Firstly, hello everyone. I'm now back from my time away.

Hi!

> ...
> 
> Is it wise to be separating the hostnames and nicknames for the news
> servers rather than completing them together under one title?

I'd say yes. This way users can always use the group-name style if
they want to have them together but they couldn't do it the other way
round.

> Is it okay
> to overload tag names for unrelated things - 'nicknames' is also used
> for NIS stuff.

It's ok as long as it's easy enough to come up with patterns to
disambiguate between the different uses, I think. So in this case,
where one only needs to have the command name(s) (or patterns for
them)...

> I'm also not too happy with the way this deals with an
> empty or non-existant newsrctable file.
> 
> Why when completing newsgroups (the final part of _arguments) does it
> display just 'newsgroup' instead of 'Completing newsgroup' when I have
> zstyle ':completion:*' format 'Completing %d'?

Hm, doesn't happen to me.

> I thought about completing newsgroups properly using something like:
> 
> : ${(A)_cache_newsgroups:=${${(f)"$(fgrep -v \! ~/.newsrc)"}%:*}}
> _multi_parts -i . _cache_newsgroups
> 
> but I'm not too sure how consistent the .newsrc file format is. Can
> anyone confirm if this would work with slrn. Note that I've removed
> unsubscribed newsgroups here because otherwise it is painfully slow. I
> realise that fgrep isn't necessary for this but it is a lot quicker than
> doing it directly with zsh. Is it worth including this as an _newsgroups?

I don't know and have no opinion, respectively.

Bye
 Sven


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


             reply	other threads:[~2001-02-01 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01 15:04 Sven Wischnowsky [this message]
2001-02-01 16:36 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2001-02-01 14:54 Oliver Kiddle

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=200102011504.QAA12691@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).