Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in _mutt ?
- X-seq: zsh-workers 12079
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: bug in _mutt ?
 
- Date: Mon, 26 Jun 2000 17:51:06 -0700
 
- In-reply-to: <20000626214302.A28182@xxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <20000619211650.A5701@xxxxxxxxxxxx> 	<Pine.LNX.4.20.0006191312080.1808-100000@xxxxxxxxxxxxxxxxx> 	<20000620132829.K23705@xxxxxxxxxxxx> 	<20000620100216.A5814@xxxxxxxxxxx> 	<20000620171801.C3224@xxxxxxxxxxxx> 	<20000621095529.A27178@xxxxxxxxxxxx> 	<1000621152106.ZM31139@xxxxxxxxxxxxxxxxxxxxxxx> 	<20000626214302.A28182@xxxxxxxxxxxx>
 
On Jun 26,  9:43pm, Andy Spiegl wrote:
> > [...] on strings that aren't necessarily file names.  So you should find
> > that if you type
> > 
> > % mutt -f =sub<TAB>
> > 
> > it'll append the slash, and offer completions of
> > 
> > cus  mutt  zsh  zsh-workers  linux  kira  akte
> 
> Hm, it does append the slash, but then I only get a beep. :-(
Time for <C-x?> and a look at the trace output.  As I said, I don't use
mutt, so it's not straightforward for me to debug this stuff.
> actually in that case I would expect zsh to offer me _all_ the files in
> that directory.  Hm, that's probably the same issue as whether completion
> after = or + should only list the .muttrc-defined mailboxes or whether it
> should list all files under ~/Mail.  I'd prefer both...in separate groups.
Right now _mailboxes understands "mailboxes" and "files in $maildirectory"
as two separate groups, and the prefix `=' is used to introduce "mailboxes"
rather than being an abbreviation for $maildirectory.
It would be possible to treat `=' both ways by moving the `compset -P' test
from the `case' statement down into the `while _tags' loop, I think; it
would also be necessary to special-case the _files call for mutt to pass
it -W $maildirectory, and maybe some other things ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author