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 BCB0B429E5F for ; Tue, 17 Jan 2012 23:51:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.274 X-Spam-Level: * X-Spam-Status: No, score=1.274 tagged_above=-999 required=5 tests=[RDNS_NONE=1.274] 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 ipHifUtkIs4t for ; Tue, 17 Jan 2012 23:51:45 -0800 (PST) Received: from marcos.anarcat.ath.cx (unknown [72.0.72.144]) by olra.theworths.org (Postfix) with ESMTP id 562E8429E27 for ; Tue, 17 Jan 2012 23:51:45 -0800 (PST) Received: by marcos.anarcat.ath.cx (Postfix, from userid 1000) id B8FF5143139; Wed, 18 Jan 2012 02:51:44 -0500 (EST) From: Antoine =?utf-8?Q?Beaupr=C3=A9?= To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH v3] Make buttons for attachments allow viewing as well as saving In-Reply-To: <1326843886-18387-1-git-send-email-markwalters1009@gmail.com> References: <87lip5rj43.fsf@qmul.ac.uk> <1326843886-18387-1-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.11 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Message-ID: <87boq1sb1r.fsf@marcos.anarcat.ath.cx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Mailman-Approved-At: Thu, 02 Feb 2012 08:56:31 -0800 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: , Date: Wed, 18 Jan 2012 07:51:45 -0000 X-Original-Date: Wed, 18 Jan 2012 02:51:44 -0500 X-List-Received-Date: Wed, 18 Jan 2012 07:51:45 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, 17 Jan 2012 23:44:46 +0000, Mark Walters wrote: > Define a keymap for attachment buttons to allow multiple actions. > Define 3 possible actions: > save attachment: exactly as currently, > view attachment: uses mailcap entry, > view attachment with user chosen program >=20 > Keymap on a button is: s for save, v for view and o for view with > other program. Default (i.e. enter or mouse button) is save but this > is configurable in notmuch customize. >=20 > One implementation detail: the view attachment function forces all > attachments to be "displayed" using mailcap even if emacs could > display them itself. Thus, for example, text/html appears in a browser > and text/plain asks whether to save (on a standard debian setup) This works pretty much as advertised, +1 from me, good work. A. =2D-=20 C'est trop facile quand les guerres sont finies D'aller gueuler que c'=C3=A9tait la derni=C3=A8re Amis bourgeois vous me faites envie Ne voyez vous pas donc point vos cimeti=C3=A8res? - Jaques Brel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPFnoQAAoJEHkhUlJ7dZIevRAQAJ4Q2GbeL1A9Nw3cH4fUuCU2 d5pWaJN0wSfPrHj7DibE4AyHUZJ38x4dYL+OqsN4hXfFNgVFTKAWRtxw52jryoOa 7Az/hO0yq9YvPkYq7sEsbGbH/VhSXZ9SjVCAX2H/vtiXgmC4wHHRCG+bSISuCSAn eiZAe+4qDyI82xmy1xV2pW+xClHu/PYN+3D1oRRnm5XVaLDyMxpEivxAd1b1gd/g EN+dMF+d7L2dNJrvtuXQssVLwOgtmwIQUEmbwncIurvEITvlzPnCYIGRYQCapkWf xUNycQ5WuxK50SYKetrGwmX9V6ZgzRrDQrD05oL+ZWM1Qy0VCF36AoSzvwbYkawm Ma3RAegvtvv9QL6UXGPV9C7sk2a3BUE5jdjVrl1SHCZeziM+FC1LoCzIbeE/mv0Z vz1PE961qjkGucGHVZ6ZR0Q7stYW6w6VNALMZRdHgwRgRXSN6lWoNKq2z4kRYeZ+ SPt0i7w1Vx6wKuacSVPR6jj4Bi4gLVMyQIti9hZ64G5Ci6oh4CrkeQyqpC/Ltg/A 38Bt/nNxdbcq9BOjMliweTtV6KYaX1f31fXbc0aocUFP8g9hwHH+8RPh4IwyEC41 4/s3ICxSabCFiB8955AfFcKTvBG9764KJn0Oy79dDIF3cmXiXXEAjDzq6kqaF5Ue CqbsSX2BFTHF5Tbo1ORb =uC5g -----END PGP SIGNATURE----- --=-=-=--