Re: [alot] announcing v0.3.3
authorPatrick Totzke <patricktotzke@gmail.com>
Tue, 11 Sep 2012 07:47:28 +0000 (09:47 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:28 +0000 (09:49 -0800)
95/368e00672c4d28ef335c2ae861d7067389c2d4 [new file with mode: 0644]

diff --git a/95/368e00672c4d28ef335c2ae861d7067389c2d4 b/95/368e00672c4d28ef335c2ae861d7067389c2d4
new file mode 100644 (file)
index 0000000..4584d28
--- /dev/null
@@ -0,0 +1,163 @@
+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 E628E431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 00:47:34 -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 KOV1VTNb-knM for <notmuch@notmuchmail.org>;\r
+       Tue, 11 Sep 2012 00:47:34 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+       [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 30898431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 00:47:34 -0700 (PDT)\r
+Received: by wibhq4 with SMTP id hq4so186730wib.2\r
+       for <notmuch@notmuchmail.org>; Tue, 11 Sep 2012 00:47:31 -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=A4sl7ikQK6Usg0SJDhiWm+COE8sgoKOUDpoSksOluzg=;\r
+       b=oi7YAE7htOwA2Qrc3UoKjQdeVGFf2VIY86uteG+SjYNoLQRqhsT2TI/7yeeB17DN3Q\r
+       ZTfG7MTD+WVWcgoe5EmvtVjtiehuIA51aRE0r2mjGQzvCn/Cqjjc+C3NeCZpa/YmEXuf\r
+       j5B+u8FmWf28EpB3+OIbtY8L5LmBMXvgA+NulZb388H0diSP8B2CQcFtyLZT46WJzA3r\r
+       UnwnSCP6GhMIao9VLw/eJhdv12m6XpyOiuFY+hLkNV2A9DaetJ7r3MsxCTuksWnERtvQ\r
+       0F0lj6hqpqUsna4BnSK7Tba06hlaBsd8FMA6IfpcblA7chpoB0KuZf5e+Xu5YDaI3gPH\r
+       OamA==\r
+Received: by 10.216.131.13 with SMTP id l13mr9555572wei.195.1347349651561;\r
+       Tue, 11 Sep 2012 00:47:31 -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 l5sm2103646wix.5.2012.09.11.00.47.29\r
+       (version=TLSv1/SSLv3 cipher=OTHER);     Tue, 11 Sep 2012 00:47:30 -0700 (PDT)\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+       micalg="pgp-sha1"; boundary="===============2921840152275723521=="\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
+In-Reply-To: <1347299700.65731.YahooMailNeo@web171405.mail.ir2.yahoo.com>\r
+Message-ID: <20120911074728.7776.72473@brick.lan>\r
+Subject: Re: [alot] announcing v0.3.3\r
+Date: Tue, 11 Sep 2012 09:47:28 +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: Tue, 11 Sep 2012 07:47:35 -0000\r
+\r
+--===============2921840152275723521==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi Sepp, welcome to alot :)\r
+\r
+Quoting Sepp Tannhuber (2012-09-10 19:55:00)\r
+> 1. As vi user I alway type gg/G to jump to the top/bottom. Is there a com=\r
+mand that I can\r
+> =C2=A0 =C2=A0configure this way? I have not found a jump to top/bottom co=\r
+mmand in the manual.\r
+Short Answer:\r
+This is not yet possible with the current design, no.\r
+It is something i'd also like to see though and i have already a few ideas =\r
+ho to do this.\r
+\r
+Long version/dev info:\r
+First of all, i only recently added the ability to interpret "gg" (or other=\r
+ multi-key strokes)\r
+at all.. so thats done.\r
+Now both for thread and search mode we use a toplevel `urwid.ListBox` widge=\r
+t iirc,\r
+and those do not directly support "focus topmost line". But they do allow to\r
+move the focus to some index and so implementing such a `MoveCommand` shoul=\r
+d not be hard.\r
+One reason I have not bothered to implement this so far is that in the long=\r
+ run,\r
+I want to have urwid Tree widgets as top level widgets in thread buffers.\r
+This would also allow "move to next sibling/parent" and so on.\r
+\r
+> 2. Mutt has a nice feature, the Attach: pseudo header. It can be used to =\r
+attach files from\r
+> =C2=A0 =C2=A0within the editor. I use this small vi macro to attach files:\r
+> =C2=A0 =C2=A0 =C2=A0" mutt: insert attachment with ranger\r
+> =\r
+\r
+> =C2=A0 =C2=A0 =C2=A0fun! RangerMuttAttach()\r
+> =C2=A0 =C2=A0 =C2=A0if filereadable('/tmp/chosendir')\r
+> =C2=A0 =C2=A0 =C2=A0silent !ranger --choosefiles=3D/tmp/chosenfiles --cho=\r
+osedir=3D/tmp/chosendir "$(cat /tmp/chosendir)"\r
+> =C2=A0 =C2=A0 =C2=A0else\r
+> =C2=A0 =C2=A0 =C2=A0silent !ranger --choosefiles=3D/tmp/chosenfiles --cho=\r
+osedir=3D/tmp/chosendir\r
+> =C2=A0 =C2=A0 =C2=A0endif\r
+> =C2=A0 =C2=A0 =C2=A0if filereadable('/tmp/chosenfiles')\r
+> =C2=A0 =C2=A0 =C2=A0call append(3, map(readfile('/tmp/chosenfiles'), '"At=\r
+tach: ".escape(v:val,"     \\")'))\r
+> =C2=A0 =C2=A0 =C2=A0call system('rm /tmp/chosenfiles')\r
+> =C2=A0 =C2=A0 =C2=A0endif\r
+> =C2=A0 =C2=A0 =C2=A0redraw!\r
+> =C2=A0 =C2=A0 =C2=A0endfun\r
+> =C2=A0 =C2=A0 =C2=A0map <C-a> :call RangerMuttAttach()<CR>\r
+> =C2=A0 =C2=A0 =C2=A0imap <C-a> <ESC>:call RangerMuttAttach()<CR>a\r
+> =C2=A0 =C2=A0I would like to use the same with alot. Is it possible?\r
+\r
+Nice idea!\r
+So you can of course use this method to set an "Attach" header, but as of n=\r
+ow\r
+alot will not interpret and remove this when reading the edited text.\r
+I guess one would also want that in the other direction if one really uses =\r
+this feature:\r
+When re-editing the message body, the editable headers part of the text sho=\r
+uld include\r
+an Attach header line that lists the current attachments..\r
+\r
+> 3. I have followed the instructions to use abook for contact completion. =\r
+I have used abook with mutt as well.\r
+> =C2=A0 =C2=A0So I have put these two=C2=A0lines in my config:\r
+> =C2=A0 =C2=A0 =C2=A0[[[abook]]]\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0type =3D abook\r
+> =C2=A0 =C2=A0But I did not find a way how to use it. Can anybody tell me?\r
+\r
+It will be used for tabcompletion when you compose a mesage.\r
+When you see the "to>" prompt, type in some prefix of a (realname part of a)\r
+contact from abook and hit <tab>.\r
+\r
+Cheers,\r
+/p\r
+\r
+--===============2921840152275723521==\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
+iEYEABECAAYFAlBO7JAACgkQlDQDZ9fWxaqBQgCfey307eWXUUkTBlCynhOlO73o\r
++GoAoKacsZFt0Ogs4reYsGp+YDM15ZVz\r
+=2Ko6\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============2921840152275723521==--\r