From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6220 invoked from network); 14 Feb 2000 14:01:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Feb 2000 14:01:52 -0000 Received: (qmail 12928 invoked by alias); 14 Feb 2000 14:01:05 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2914 Received: (qmail 12686 invoked from network); 14 Feb 2000 14:00:29 -0000 Date: Mon, 14 Feb 2000 15:00:10 +0100 From: Andy Spiegl To: zsh-users@sunsite.auc.dk Subject: Re: completion but extra options allowed Message-ID: <20000214150010.B17427@br-online.de> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20000210153411.A27005@fruitcom.com> <1000210175857.ZM6927@candle.brasslantern.com> <20000210195143.A26109@br-online.de> <1000211175555.ZM32309@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <1000211175555.ZM32309@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Fri, Feb 11, 2000 at 05:55:55PM +0000 X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de Hi Bart, > In attempting to do something with this, I found some rather strange > things going on in the guts of the completion. Oops, interesting. [...] > _mailboxes then calls "compadd -J -default- -J -default- - ..." which > seems a bit odd. The first -J -default- is from "$@" and the second is > of course "$expl[@]". Is that really doing the right thing? Uh, oh, don't ask me. I hardly know anything about the zsh completion system (yet). Anyone else want to comment Barts discoveries? > } And it doesn't expand local filenames either: > } eule:~>cd Mail > } eule:~/Mail>mutt -f a > > I think that's intentional on the grounds that files not in the mail > directory are not likely to be mail files. It should probably be set > by a style, if the 'mailbox' style won't already work. I wasn't able to find anything about the mailbox-style in the docs. :-( What can I set with it? > You don't need to edit _mailboxes, you just need > set muttrc=~/.mutt/local Oh, okay...together with your patch (which is basically what I did too :-) But of course that doesn't work for the aliases, which are in ~/.mutt/aliases. Hm, while just looking at _mutt I see that mailaddresses are taken from 'recipient:->userhost', which I don't understand. Where is that info being set? Or in other words: how can I influence the list of addressees? Thanks, Andy. -- E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In a world without fences - who needs Gates?