Excerpts from Ruthard Baudach's message of 2015-07-05 09:07:20 +0200:
> Hello Pablo,
> Sup has a search and label based approach to accessing mail, not an
> account based one. Actually there is no special "Inbox buffer", it's
> just a normal buffer presenting the result of the search `label:inbox`.
> (Well, granted, it is kind of special as it is built in)
I thought about this some time ago, here is what I came up with.
> To display all emails of an account, search n the inbox buffer by
> pressing `/` for `to:my....@my.isp`.
This search won't turn up emails where you are in BCC, nor emails sent to
mailing lists this account is subscribed to.
> You can save typing time by autolabeling messages in the
> before-add-message hook, searching for `label:work`
Letting sup label messages and then search for those labels is indeed
what you want. A better way than the before-add-message hook however is
to associate labels with sources. Check the documentation for the
--labels option of sup-add. You may want to auto-archive messages that
are not from your main account. That's what the --archive flag of sup-add
does. Then you can switch between sources by using the label filter
The downside to this method is that the archived vs read functionality
doesn't work with the auto-archived sources. When you view the mails from
such a source, you always see all of them.
If I understand correctly, Inbox is just a label that sup gives to
incoming mails per default, and the archive key 'a' toggles this label. I
don't have this set up, but it should be possible to combine
- labels for sources
- not auto-archiving them
- and saved searches involving the Inbox label
to mimic multiple inboxes.
This doesn't answer Pablo's original question about having multiple inbox
buffers at startup though, but I think this is as far as you can get
without hacking sup.