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