Re: [alot] announcing v0.3.3
authorPatrick Totzke <patricktotzke@gmail.com>
Wed, 12 Sep 2012 06:00:19 +0000 (08:00 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:28 +0000 (09:49 -0800)
18/701bf746873e5ce96c021a85a420ecb10dfd8a [new file with mode: 0644]

diff --git a/18/701bf746873e5ce96c021a85a420ecb10dfd8a b/18/701bf746873e5ce96c021a85a420ecb10dfd8a
new file mode 100644 (file)
index 0000000..24d6751
--- /dev/null
@@ -0,0 +1,192 @@
+Return-Path: <patricktotzke@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8CD17431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 23:00:33 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id zQZsB9IZjq1C for <notmuch@notmuchmail.org>;\r
+       Tue, 11 Sep 2012 23:00:29 -0700 (PDT)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 5AE50431FAE   for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 23:00:29 -0700\r
+ (PDT)\r
+Received: by wgbdq12 with SMTP id dq12so903137wgb.2\r
+       for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 23:00:26 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=content-type:mime-version:content-disposition:from:user-agent:to\r
+       :references:in-reply-to:message-id:subject:date;\r
+       bh=dvS69AVtb0jsW9FjKgl4TMqw4n+yxzZ80OWW3N0UcME=;\r
+       b=juCf4beu8mFGBPz4PVn7Q05WkkhTAdaU064/20m7o0rL6N53Ce8IfQ3vjZF/jK2HMq\r
+       5hH4Zn2XfcKu1OpP7CZzbCqW7v/E8dIZbH8k2BZxNEl4W2PbeVwpYdE9bv2uudi+pw/k\r
+       POi2bcQb+1a8AqSMZluQamGMJJj/bE1zw60cThejw40m08sCvCU1rJARNMHUUBaOX/uG\r
+       OXsXFkNdqMKtyZRns90uQqvF1D08Pn4cfBiAqdjxWV2rHlDwIeJTLvjY2gyNnG7xuWN8\r
+       NRF3+z6aewWuRDGT5tQC+pggOx4673qitnaNGyqMKtbCg9hQ7b7PuAfJJyG2gC7bLNm6\r
+       32DQ==\r
+Received: by 10.216.119.6 with SMTP id m6mr10651432weh.215.1347429624010;\r
+       Tue, 11 Sep 2012 23:00:24 -0700 (PDT)\r
+Received: from localhost\r
+ (host167-95-static.225-95-b.business.telecomitalia.it.        [95.225.95.167])        by\r
+ mx.google.com with ESMTPS id q4sm6427999wix.9.2012.09.11.23.00.21\r
+       (version=TLSv1/SSLv3 cipher=OTHER);     Tue, 11 Sep 2012 23:00:23 -0700 (PDT)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+       micalg="pgp-sha1"; boundary="===============6208330544826481476=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+From: Patrick Totzke <patricktotzke@gmail.com>\r
+User-Agent: alot/0.3.3\r
+To: Sepp Tannhuber <sepp.tannhuber@yahoo.de>,\r
+       "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
+References: <20120909153401.30209.43912@brick.lan>\r
+       <1347299700.65731.YahooMailNeo@web171405.mail.ir2.yahoo.com>\r
+       <20120911074728.7776.72473@brick.lan>\r
+       <1347379152.53604.YahooMailNeo@web171402.mail.ir2.yahoo.com>\r
+In-Reply-To: <1347379152.53604.YahooMailNeo@web171402.mail.ir2.yahoo.com>\r
+Message-ID: <20120912060019.17430.88468@brick.lan>\r
+Subject: Re: [alot] announcing v0.3.3\r
+Date: Wed, 12 Sep 2012 08:00:19 +0200\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 12 Sep 2012 06:00:33 -0000\r
+\r
+--===============6208330544826481476==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Quoting Sepp Tannhuber (2012-09-11 17:59:12)\r
+> Hi Patrick,\r
+> =\r
+\r
+> thank you for answering and for this really good mail client!\r
+pleasure :)\r
+\r
+> > One reason I have not bothered to implement this so far is that in the =\r
+long run,\r
+> > I want to have urwid Tree widgets as top level widgets in thread buffer=\r
+s.\r
+> > This would also allow "move to next sibling/parent" and so on.\r
+> I did not know that it would be so complicated. But nice to hear that dev=\r
+elopment\r
+> is going on.\r
+Yea, trees in urwid are a bit messed up atm. alot's thread buffer uses its =\r
+own\r
+archaic widget layout, which is eventually to be replaced.\r
+\r
+> > So you can of course use this method to set an "Attach" header, but as =\r
+of now\r
+> > alot will not interpret and remove this when reading the edited text.\r
+> Exactly!\r
+\r
+I think this will not so hard to do. Could you open up a feature request is=\r
+sue\r
+on github for this?\r
+\r
+> > When you see the "to>" prompt, type in some prefix of a (realname part =\r
+of a)\r
+> > contact from abook and hit <tab>.\r
+> This was my assumption. But it is not working here. Obviously I make a mi=\r
+stake. Here is my\r
+> config:\r
+> -- BEGIN ~/.config/alot/config --\r
+> theme =3D solarized_dark\r
+> editor_cmd =3D 'vim +/^$ "+normal j" "+:set textwidth=3D80" "+:set ft=3Dm=\r
+ail"'\r
+> =\r
+\r
+> [accounts]\r
+> =\r
+\r
+> =C2=A0 =C2=A0 [[work]]\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 realname =3D Joseph Tannhuber\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 address =3D jtannhuber@work.de\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 signature =3D ~/.signature\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 sendmail_command =3D msmtp --account=3Dwork -t\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 sent_box =3D maildir:///home/sepp/Maildir/Sent\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 draft_box =3D maildir:///home/sepp/Maildir/Dr=\r
+afts\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 [[[abook]]]\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 type =3D abook\r
+> -- END --\r
+> Is there anything missing?\r
+\r
+No, that's what I use as well.\r
+Note that this variant assumes your contact file is ~/.abook/addressbook. I=\r
+'m not aware of format\r
+issues for different abook versions so far. Also note that this will comple=\r
+te case-sensitive\r
+strings of the format "Firstname Lastname <address>".\r
+\r
+To debug this you can replay this introspect session and see how far you ge=\r
+t.\r
+Start alots python shell (pyshell command), then:\r
+\r
+        >>> from alot.settings import settings\r
+        >>> settings.get_addressbooks()\r
+        [<alot.addressbooks.MatchSdtoutAddressbook object at 0x2890a10>, <a=\r
+lot.addressbooks.AbookAddressBook object at 0x2776650>]\r
+        >>> settings.get_addressbooks()[0]\r
+        <alot.addressbooks.MatchSdtoutAddressbook object at 0x2890a10>\r
+        >>> A=3Dsettings.get_addressbooks()[0]\r
+        >>> A.get_contacts()\r
+        [... CONTACT TUPLES HERE...]\r
+\r
+Hope this helps. Otherwise don't hesitate to open a bug report on github.\r
+\r
+> By the way: Is it possible to set the X11 urgency hint flag when new mail=\r
+ arrives? In principle\r
+> one can use the visual bell in the terminal. Then alot must only invoke a=\r
+ shell command:\r
+> =C2=A0 echo -e "\b"\r
+\r
+Well, alot does not pull your mails itself, so has no means of knowing when=\r
+ new mail arrives.\r
+I personally use a mail indicator widget I wrote for my window manager that=\r
+ periodically\r
+checks the notmuch index for new mail: http://awesome.naquadah.org/wiki/Not=\r
+much_mail_integration\r
+\r
+Alot can of course fire shell commands. What it is lacking at the moment is=\r
+ the ability to periodically\r
+fire custom (alot-)commands. This feature would not be hard to implement, b=\r
+ut so far I did not bother\r
+to do so as I considered mail-fetching not part of alots responsibility.\r
+But you're not the first one to want this, so I guess it'd be worth it.\r
+\r
+Cheers,\r
+/p\r
+\r
+--===============6208330544826481476==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEABECAAYFAlBQJPMACgkQlDQDZ9fWxarsEgCdECmuKvUzDiZS4ChnDYl3PFXc\r
+htEAnRf71MKbfUB7hsb2bspxjL68cFLj\r
+=aVya\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============6208330544826481476==--\r