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