Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#455376: tab completion following "mutt -f =" no longer works



On Fri, Dec 14, 2007 at 11:03:30AM +0000, Peter Stephenson wrote:
> On Thu, 13 Dec 2007 17:12:33 -0500
> Paul Kimoto <kimoto@xxxxxxxxxxxxx> wrote:
> > >> unsetopt equals
> > >> autoload -U compinit && compinit
> > >> zstyle ':completion:*' mail-directory $HOME/email
> > >> zstyle ':completion:*:warnings' format 'No matches for: %d'
> > >> 
> > >> I see errors like
> > >> 
> > >> $ mutt -f =de[TAB]
> > >> No matches for: `mailbox', `mailbox specification', `mailbox file', or `file'
> > 
> > > I don't recall this ever working.  Can you narrow it down to when it
> > > did?
> > 
> > On a different machine, zsh 4.3.2-25 (Debian stable), using the above
> > four-line .zshrc, works as I'd like.
> 
> Looking at _mailboxes suggests it should work, but I don't use mutt so
> can't follow this.  Can someone find out what change did this?
[...]

= seems to be transformed at some point to \= and when it
reaches _mua_mailboxes, the compset -P '=' fails.

Now, we should be able to complete:
mutt -f \=...

mutt -f '=...

so I don't know what the best way to fix it would be.

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author