From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28068 invoked from network); 21 Oct 2006 17:17:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Oct 2006 17:17:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 30863 invoked from network); 21 Oct 2006 17:17:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Oct 2006 17:17:09 -0000 Received: (qmail 26909 invoked by alias); 21 Oct 2006 17:17:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22894 Received: (qmail 26900 invoked from network); 21 Oct 2006 17:17:06 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Oct 2006 17:17:06 -0000 Received: (qmail 30565 invoked from network); 21 Oct 2006 17:17:06 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 21 Oct 2006 17:17:03 -0000 Received: from torch.brasslantern.com ([71.116.118.106]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J7H00CESXCDCS55@vms042.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 21 Oct 2006 12:17:02 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k9LHH0qF015298 for ; Sat, 21 Oct 2006 10:17:01 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k9LHH0Tf015297 for zsh-workers@sunsite.dk; Sat, 21 Oct 2006 10:17:00 -0700 Date: Sat, 21 Oct 2006 10:16:59 -0700 From: Bart Schaefer Subject: Re: bug: mutt completion doesn't complete address book In-reply-to: <200610211315.33268.arvidjaar@newmail.ru> To: zsh-workers@sunsite.dk Message-id: <061021101700.ZM15296@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20061013001243.GA32281@localhost.localdomain> <200610211315.33268.arvidjaar@newmail.ru> Comments: In reply to Andrey Borzenkov "Re: bug: mutt completion doesn't complete address book" (Oct 21, 1:15pm) (This one went into gmail's spam filter again.) On Oct 21, 1:15pm, Andrey Borzenkov wrote: } Subject: Re: bug: mutt completion doesn't complete address book } } nobody reoplied th this (22872) and 22868 and it was not committed either. } Both look OK ti me. Should I go ahead and commit them or are there some } reasons no to? I think rather that the right fix is the following, but I could go either way -- it depends on how the value returned by zstyle is supposed to be treated: Index: _email_addresses =================================================================== RCS file: /extra/cvsroot/zsh/zsh-4.0/Completion/Unix/Type/_email_addresses,v retrieving revision 1.3 diff -c -r1.3 _email_addresses --- _email_addresses 11 Aug 2005 18:28:07 -0000 1.3 +++ _email_addresses 21 Oct 2006 17:15:09 -0000 @@ -131,7 +131,7 @@ if ! zstyle -s ":completion:${curcontext}:email-addresses" muttrc muttrc; then [[ -e ~/mutt/muttrc ]] && muttrc="~/mutt/muttrc" || muttrc="~/.muttrc" fi - files=( MH ${MH:-~/.mh_profile} mutt $muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook ) + files=( MH ${MH:-~/.mh_profile} mutt $~muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook ) plugins=( ${${(k)functions[(I)_email-*]#*-}:#(${(kj.|.)~files})} $files(Ne:'REPLY=( ${(k)files[(r)$REPLY]} ):') --