From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3932 invoked from network); 1 Feb 2001 15:04:57 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Feb 2001 15:04:57 -0000 Received: (qmail 3173 invoked by alias); 1 Feb 2001 15:04:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13421 Received: (qmail 3161 invoked from network); 1 Feb 2001 15:04:50 -0000 Date: Thu, 1 Feb 2001 16:04:47 +0100 (MET) Message-Id: <200102011504.QAA12691@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Oliver Kiddle's message of Thu, 01 Feb 2001 14:54:54 +0000 Subject: Re: PATCH: new _tin 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