* Re: Bug#455376: tab completion following "mutt -f =" no longer works
[not found] <20071209224903.GA17496@lightlink.com>
@ 2007-12-13 16:28 ` Clint Adams
2007-12-13 22:12 ` Paul Kimoto
0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2007-12-13 16:28 UTC (permalink / raw)
To: Paul Kimoto, 455376; +Cc: zsh-workers
On Sun, Dec 09, 2007 at 05:49:03PM -0500, Paul Kimoto wrote:
> In earlier versions, zsh provided tab completion for mailboxes with
> "mutt -f =mailbox", but in this version it is no longer working. After
> paring away at my .zshrc, I have the following example:
>
> I have a mailbox called ~/email/debian. With the drastically reduced .zshrc
>
> 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'
>
> while
>
> $ mutt -f=de[TAB]
>
> and
>
> $ mutt -f +de[TAB]
>
> still work in the desired manner.
>
> Is this a deliberate change?
I don't recall this ever working. Can you narrow it down to when it
did?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#455376: tab completion following "mutt -f =" no longer works
2007-12-13 16:28 ` Bug#455376: tab completion following "mutt -f =" no longer works Clint Adams
@ 2007-12-13 22:12 ` Paul Kimoto
2007-12-14 11:03 ` Peter Stephenson
0 siblings, 1 reply; 5+ messages in thread
From: Paul Kimoto @ 2007-12-13 22:12 UTC (permalink / raw)
To: Clint Adams; +Cc: 455376, zsh-workers
On Thu, Dec 13, 2007 at 11:28:58AM -0500, Clint Adams wrote:
> On Sun, Dec 09, 2007 at 05:49:03PM -0500, Paul Kimoto wrote:
>> I have a mailbox called ~/email/debian. With the drastically reduced .zshrc
>>
>> 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. By the way, there
dion% setopt
noequals
interactive
monitor
shinstdin
zle
On the system in question, currently I have Debian's 4.3.4-dev-3-2.
There I had no complaint with the versions up to to Debian's 4.3.4-26.
(According to my dpkg.log, the other versions I've had over the past year
are 4.3.4-{2,3,8,10,12,13,14,18,21,24}.)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#455376: tab completion following "mutt -f =" no longer works
2007-12-13 22:12 ` Paul Kimoto
@ 2007-12-14 11:03 ` Peter Stephenson
2007-12-14 13:16 ` Stephane Chazelas
0 siblings, 1 reply; 5+ messages in thread
From: Peter Stephenson @ 2007-12-14 11:03 UTC (permalink / raw)
To: 455376, zsh-workers
On Thu, 13 Dec 2007 17:12:33 -0500
Paul Kimoto <kimoto@lightlink.com> 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?
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#455376: tab completion following "mutt -f =" no longer works
2007-12-14 11:03 ` Peter Stephenson
@ 2007-12-14 13:16 ` Stephane Chazelas
2007-12-14 13:23 ` Stephane Chazelas
0 siblings, 1 reply; 5+ messages in thread
From: Stephane Chazelas @ 2007-12-14 13:16 UTC (permalink / raw)
To: Peter Stephenson; +Cc: 455376, zsh-workers
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@lightlink.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#455376: tab completion following "mutt -f =" no longer works
2007-12-14 13:16 ` Stephane Chazelas
@ 2007-12-14 13:23 ` Stephane Chazelas
0 siblings, 0 replies; 5+ messages in thread
From: Stephane Chazelas @ 2007-12-14 13:23 UTC (permalink / raw)
To: Peter Stephenson, 455376, zsh-workers
On Fri, Dec 14, 2007 at 01:16:02PM +0000, Stephane Chazelas wrote:
[...]
> = 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.
[...]
There's another (smaller) problem with complist.
mutt -f '+<Tab><Tab>
the closing ' is not inserted.
Another problem is for subdirs that don't work:
mutt -f +Misc/zs<Tab>
doesn't work.
To reproduce it:
mkdir -p ~/Mail/{foo,bar}/baz
mutt -f \=<Tab>
You don't need to have mutt installed.
Cheers,
Stephane
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-14 13:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20071209224903.GA17496@lightlink.com>
2007-12-13 16:28 ` Bug#455376: tab completion following "mutt -f =" no longer works Clint Adams
2007-12-13 22:12 ` Paul Kimoto
2007-12-14 11:03 ` Peter Stephenson
2007-12-14 13:16 ` Stephane Chazelas
2007-12-14 13:23 ` Stephane Chazelas
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).