buttonizing links in html parts (emacs)
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 8 Mar 2012 02:29:24 +0000 (18:29 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:18 +0000 (09:45 -0800)
95/57ca1780c245bda301b74d502b98026c68cbd6 [new file with mode: 0644]

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