From fb8400bb79efe37f497d47a80ddcc36e505c74eb Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 8 Mar 2012 18:29:24 +1600 Subject: [PATCH] buttonizing links in html parts (emacs) --- 95/57ca1780c245bda301b74d502b98026c68cbd6 | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 95/57ca1780c245bda301b74d502b98026c68cbd6 diff --git a/95/57ca1780c245bda301b74d502b98026c68cbd6 b/95/57ca1780c245bda301b74d502b98026c68cbd6 new file mode 100644 index 000000000..8cf64a7d5 --- /dev/null +++ b/95/57ca1780c245bda301b74d502b98026c68cbd6 @@ -0,0 +1,98 @@ +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 D7D40431FB6 + for ; Wed, 7 Mar 2012 18:29:31 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 YKhJsiAXwsDo for ; + Wed, 7 Mar 2012 18:29:31 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id D2A48431FAE + for ; Wed, 7 Mar 2012 18:29:30 -0800 (PST) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 4154F2E50298 + for ; Wed, 7 Mar 2012 18:29:30 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (gwave-105.ligo.caltech.edu + [131.215.114.105]) (Authenticated sender: jrollins) by fire-doxen-submit + (Postfix) with ESMTP id 009FD2E50BA7 for ; Wed, 7 + Mar 2012 18:29:26 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id C5537998; Wed, 7 Mar 2012 18:29:26 -0800 (PST) +From: Jameson Graef Rollins +To: Notmuch Mail +Subject: buttonizing links in html parts (emacs) +User-Agent: Notmuch/0.11.1+264~gb8fb66b (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 07 Mar 2012 18:29:24 -0800 +Message-ID: <87vcmf3jwb.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Thu, 08 Mar 2012 02:29:32 -0000 + +--=-=-= + +Hey, folks. I was wondering if anyone has a good solution for +buttonizing links in html parts of messages in the emacs UI. By +default, some html-to-text converter converts the html part into text +that is rendered in the show buffer. Unfortunately, links are lost. + +I tried bremner's suggestion of using the mime-w3m (included in the +w3m-el Debian package) instead of my default (which I think was +html2text). It is certainly a much fancier html-to-text converter, and +it does make links out of urls, but for some reason the links can only +be opened by hitting return on the link, and the resultant page is +opened in a w3m browser buffer. I haven't yet figured out how to change +this behavior to what I want in a simple way. I found a discussion on +the issue [0], but without a suitable solution. + +Does anyone out there have a simple solution for this issue? Or do we +need to invent something new? + +jamie. + +[0] http://lists.gnu.org/archive/html/info-gnus-english/2004-09/msg00145.html + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAEBCAAGBQJPWBmEAAoJEO00zqvie6q8yeoP/3w3UyjzkSSEdOhlsIG9tWQq +Dr8MNVW7lWA63NzoCWaxTR9VvWbnk7KjpfGF9TmhDKyvrAyYw4zPu5OhjAqJDaAL +/rCfzOATfC/ycem6cgVM3poyOFeF4l4lik8EFTlAxz6jw51I90u9LPOZ6FfPknQ1 +YdY7zerYZDUw4Q4y1x+FhY+tMywzadBgQjNs8B4MHwGJV8Skou2NG5/OG9fMGCxv +7b82SsaMUkK9g8uhi/O2PWM3YS88/gEz1kGt5Imvq3u4N66sH8yCew5kMOOXc/Tu +eh5ByLSG697eM4I9H6CwDtX7gPioq4moKgQzJMeYNXAy4GDI4uyGR2OxIvd/iPPd +x6vesQzPRKhkj1jaGHina5DRNc5EU+qARmeyihLe5CKvzilL0LMOZ5jD6UZsHLQ7 +2HqAgYO3iLzdgptIYZNmgHd2HI3IL/nPUvDZZcyHk/mnx7qWYwRArk/MBm+hUSdg +dp4qmio4qDgkQC+uAyAgTnDSVIVcZlzU70Ry4kUaJ4vLV6cX4tGOFodNIRIxc5Gl +FZMEPpyR9jex0wl8U/8cqsGli7mQ4mjdvDlDvvTssoHPKZgugeFm1bZYB3k0sXhy +/lShkiZHEth+RLeLiBEBsiNyuwvfUmanjqYOi2rzciMM2erHfLimv0dGDpYfgqhm +UAxO1+1ZHh/5z7loYz3g +=v4R2 +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2