In my email setup I recently changed from mboxes to maildirs. I access
my maildirs directly from my office and through imap from home using
dovecot. When I made the conversion using dovecot's dsync program
the maildir folders acquired a leading dot in their names. I found
that agreeable, as it allowed me to distinguish maildir names from other
files that dovecot put within the maildirs. To that end, I changed my 'mask'
to 
  set mask="^\\.[^.]"
which works reasonably well when listing maildirs.

My problem is that when I enter the file browser, for example, to
attach a file, I don't see any file, as I would with the default mask 
  set mask="!^\\.[^.]"

My question is, is there a hook or something I can use to change
the mask according to what I'm browsing for, either a
maildir or a file? I guess I could define a macro to do that, bind it
to some key, and execute it whenever needed, but I would like to know
if it can be done automatically.

Thanks and best regards,
Luis


-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: DD344B85,  2ADC B65A 5499 C2D3 4A3B  93F3 AE20 0F5E DD34 4B85


Reply via email to