From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6166443738557054976 X-Gmail-Labels: Topic type: DISCUSSION X-Received: by 10.50.28.78 with SMTP id z14mr17096452igg.1.1438598281309; Mon, 03 Aug 2015 03:38:01 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.140.21.19 with SMTP id 19ls2351013qgk.36.gmail; Mon, 03 Aug 2015 03:38:00 -0700 (PDT) X-Received: by 10.52.244.99 with SMTP id xf3mr16727611vdc.8.1438598280928; Mon, 03 Aug 2015 03:38:00 -0700 (PDT) Return-Path: Received: from mout.gmx.net (mout.gmx.net. [212.227.17.21]) by gmr-mx.google.com with ESMTPS id zg3si808898pbc.1.2015.08.03.03.38.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 03:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of m.klinik@gmx.de designates 212.227.17.21 as permitted sender) client-ip=212.227.17.21; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of m.klinik@gmx.de designates 212.227.17.21 as permitted sender) smtp.mail=m.klinik@gmx.de Received: from gmx.de ([145.116.154.254]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MY4Ls-1ZQasJ0huq-00Upr4 for ; Mon, 03 Aug 2015 12:37:59 +0200 Content-Type: text/plain; charset=UTF-8 From: Markus Klinik To: supmua Subject: Re: [sup] One buffer for each account at startup In-reply-to: <1436078354-sup-7697@ruthard-lappi> References: <62fda5dc-650d-43d0-943f-fe830b8e39e6@googlegroups.com> <1436078354-sup-7697@ruthard-lappi> Date: Mon, 03 Aug 2015 12:37:58 +0200 Message-Id: <1438594989-sup-9384@x200> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:zHBD1bdh8fnrZoWoiNFjKOUl3VJwoEauoKGVha77YEtE+ODN4/h jXnDLSFj9C8VLuTXBtYisZutKcRmMN+sXE8Y+1kMFuP7UkxGHcomrzivlB6PRqaok76pOWC IYl6vu2aeByJc95SQ404ta1aDjX8xGhSTPGfQ75dSePeLTJAH1QRj/AFh1f2tzKbp6nhPyy f6xZskzM+b3/FQVsLk2xA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ypOSkEpUKeM=:w1P5J/+4yIL5XhUkUD6eNJ RRHvMkxQjfWKRPVYeXYCYm8yWdeyhDdVUQKWp3+MPJWzmMLIq6mUdewqDLZ95znk2aaIVlS2i OMZNSJEuFAa6VGgFwLFNU73V1LqES1FTDwFuvAvD6ZqNfPu0CmVtjaEFX6zYEuY34Nv8sZ+6K UytW+c7fyEKRoQuDB01cgrtifgLUM1bUf4R7b6yg4RwPBeHbT+2R/xqRJ1llpxLCaMKcrEuJM CfaoFZAYghruLync7tgu1uQHZsCxotEO/OwT9zZMoheS/6VeBP61hm0ALt+/zkn8gA0gTehmh gMLx8wezmSQnrNm97F0/jqGEqXxu/R17hx2aR8S6D+YAM72tRNHU4RjaG1q9+gisT6YEKE46y 6SfESlvgPOMoKXAZ6q+0AD/jKTRus7DJQwxKK6oWzfjnNntHJ5utWESO7xa+kTNi51Y7r42tx lEw0BjTTz41WzMcpY3tK9KbDixb+QG/DgMb1k6quOgEK2DDz5QVF/08n6qlOoa8UAKYi7N7V9 8F3zOEl5EpURhGBXWFtv/bw5BfIHib7q+T7F6/ET9Q7/h4pzbJA9tyOQwXSO9uZsTWIT2qggH BN/9ndOAP3szjPz2wGp2YQ4Kgkfc7kA4i7GXKM+wtdRnB2YVi9zkTuartLdeiSLpnmyptRdl7 fSmWw+p8LryYzrkCVKrE5cUzoPMLdhBz7eqKy8QF4QF53MaC6O2dT6W50Puci6nzrn8c= 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) Hi, 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.name@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 function 'L'. 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. Cheers, Markus