Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug: mutt completion doesn't complete address book
- X-seq: zsh-workers 22894
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: bug: mutt completion doesn't complete address book
- Date: Sat, 21 Oct 2006 10:16:59 -0700
- In-reply-to: <200610211315.33268.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20061013001243.GA32281@xxxxxxxxxxxxxxxxxxxxx> <200610211315.33268.arvidjaar@xxxxxxxxxx>
(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]} ):')
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author