Re: Fw: An alias for the mailboxes

2007-03-16 Thread Chris Bannister
On Tue, Mar 13, 2007 at 11:56:17PM +0200, Salvatore Iovene wrote:
 These won't affect what you see in the mailbox list.  They just allow
 you to type shortcuts.  So you can do 'c*work', for example.  The 'c'
 will prompt for a new mailbox to change to, and the '*work' will expand
 to imaps://server_1/INBOX in the status line.  Press RETURN and you'll
 have changed folders.
 
 To change the presentation of the mailbox names, you'd need real mailbox
 aliases.  A good idea, but they don't exist. :(

I have set folder=imaps://localhost and so referencing the mailboxes
is as easy as:
mailboxes =INBOX =INBOX.IN-Personal =INBOX.IN-debian-user \
etc.

The = is a shortcut for imaps://localhost

Is that what you want?

-- 
Chris.
==
 ... the official version cannot be abandoned because the implication of
rejecting it is far too disturbing: that we are subject to a government
conspiracy of `X-Files' proportions and insidiousness.
Letter to the LA Times Magazine, September 18, 2005.


Re: Fw: An alias for the mailboxes

2007-03-16 Thread Salvatore Iovene
On Fri, Mar 16, 2007 at 11:13:57PM +1300, Chris Bannister wrote:
 On Tue, Mar 13, 2007 at 11:56:17PM +0200, Salvatore Iovene wrote:
  These won't affect what you see in the mailbox list.  They just allow
  you to type shortcuts.  So you can do 'c*work', for example.  The 'c'
  will prompt for a new mailbox to change to, and the '*work' will expand
  to imaps://server_1/INBOX in the status line.  Press RETURN and you'll
  have changed folders.
  
  To change the presentation of the mailbox names, you'd need real mailbox
  aliases.  A good idea, but they don't exist. :(
 
 I have set folder=imaps://localhost and so referencing the mailboxes
 is as easy as:
 mailboxes =INBOX =INBOX.IN-Personal =INBOX.IN-debian-user \
 etc.
 
 The = is a shortcut for imaps://localhost
 
 Is that what you want?

Actually not. But I guess what I wanted is not really possible in the
first place.

-- 
Salvatore Iovene
http://www.iovene.com


signature.asc
Description: Digital signature


An alias for the mailboxes

2007-03-13 Thread Salvatore Iovene
Hello,

in my .muttrc I have several mailboxes defined, and all of them
correspond to imap mailboxes. They show like this:

imaps://server_1/INBOX
imaps://server_2/INBOX
imaps://server_1/mutt-users
imaps://server_2/debian-users
imaps://server_1/Sent
etc

I would like to have this a bit more organized, and it would suffice to
be able to make aliases for them, so they would show up as:

work
private
mutt-users
debian-users
work/sent
etc

I subscribe to many mailing lists and have many imap accounts, so at the
moment there's a mess.

Something like this would be great:

mailboxes imaps://server_1/INBOX work

would be great.

Is there anyway to achieve this?

Thank you very much.

-- 
Salvatore Iovene
http://www.iovene.com


signature.asc
Description: Digital signature


Re: An alias for the mailboxes

2007-03-13 Thread David Champion
* On 2007.03.13, in [EMAIL PROTECTED],
*   Salvatore Iovene [EMAIL PROTECTED] wrote:
 Hello,
 
 in my .muttrc I have several mailboxes defined, and all of them
 correspond to imap mailboxes. They show like this:
 
 imaps://server_1/INBOX
 imaps://server_2/INBOX
 etc
 
 I would like to have this a bit more organized, and it would suffice to
 be able to make aliases for them, so they would show up as:
 
 work
 private
 etc

There's no way to alias mailboxes, but you can do something very close
with macros:

macro editor *work kill-lineimaps://server_1/INBOX
macro editor *private  kill-lineimaps://server_2/INBOX
etc

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago


Fw: An alias for the mailboxes

2007-03-13 Thread Salvatore Iovene
Thanks. I'm now just forwarding this to the ML, because you must have
forgotten.

Begin forwarded message:

Date: Tue, 13 Mar 2007 15:51:18 -0600
From: David Champion [EMAIL PROTECTED]
To: Salvatore Iovene [EMAIL PROTECTED]
Subject: Re: An alias for the mailboxes


* On 2007.03.13, in [EMAIL PROTECTED],
*   Salvatore Iovene [EMAIL PROTECTED] wrote:
  
  macro editor *work kill-lineimaps://server_1/INBOX
  macro editor *private  kill-lineimaps://server_2/INBOX
 
 thanks for the reply. However, I can't get it working. Do I need to
 press any key to enable those macros?
 When I press 'c' and then 'TAB' to view the list of my mailboxes, I
 still get the full path.

These won't affect what you see in the mailbox list.  They just allow
you to type shortcuts.  So you can do 'c*work', for example.  The 'c'
will prompt for a new mailbox to change to, and the '*work' will expand
to imaps://server_1/INBOX in the status line.  Press RETURN and you'll
have changed folders.

To change the presentation of the mailbox names, you'd need real mailbox
aliases.  A good idea, but they don't exist. :(

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago


-- 
Salvatore Iovene
http://www.iovene.com


signature.asc
Description: PGP signature