zsh-users
 help / color / mirror / code / Atom feed
* 'mutt -f' completion
@ 2004-11-17 14:16 Francisco Borges
  2004-11-17 15:55 ` 'mutt -f' completion & _mailboxes Francisco Borges
  0 siblings, 1 reply; 2+ messages in thread
From: Francisco Borges @ 2004-11-17 14:16 UTC (permalink / raw)
  To: Zsh User

Hello,

Some related questions:

1. Is there any reason why _mutt shouldn't also complete

% mutt -f[TAB]

with '=' (appart from \! \> \<?), e.g.:

% mutt -f=

 and then complete on mutt's mailboxes?

I know that normally 

=foo expands to `which foo`, but the here we would have -f= right
before. Does EQUALS still play a role here?

2. All my email is in a non-standard directory /home/foo/foomail and
some folders are maildirs and some mailboxes, how should I use zstyle to
tell, say, _mailboxes to complete to these?

I know there is a mailboxes tag, but I haven't really understood the
zen of zstyle yet...

Peace.
Francisco (Who wants to start mucking with _mutt, but it's checking some
things first).


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'mutt -f' completion & _mailboxes
  2004-11-17 14:16 'mutt -f' completion Francisco Borges
@ 2004-11-17 15:55 ` Francisco Borges
  0 siblings, 0 replies; 2+ messages in thread
From: Francisco Borges @ 2004-11-17 15:55 UTC (permalink / raw)
  To: Zsh User

Me again...

» On Wed, Nov 17, 2004 at 03:16:09PM +0100, Francisco Dellatorre Borges wrote:

> 1. Is there any reason why _mutt shouldn't also complete
> 
> % mutt -f[TAB]
> 
> with '=' (appart from \! \> \<?), e.g.:

I guess the problem is that _mailboxes expects mutt to have 
"mutt -f=" or "mutt -f+" as context and _mutt does not allow that so,
_mailboxes never receives the context it expects.

Well, at least whenever you have corrections turned on.

[...]

IMHO, one thing that could be used to improve _mailboxes would be to use

`mutt -Q folder | cut -d= -f2` to set a mutt-directory variable inside
at least _mailbox_cache.

If you are wondering: Why am I not sending patches instead of comments?
Because _mailbox_cache and _mua_mailbox seem awfully complicaded to me. 

that was it for today... peace.
Francisco


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-17 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 14:16 'mutt -f' completion Francisco Borges
2004-11-17 15:55 ` 'mutt -f' completion & _mailboxes Francisco Borges

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).