Re: [notmuch] JSON based emacs UI
authorDavid Edmondson <dme@dme.org>
Wed, 24 Mar 2010 07:32:41 +0000 (07:32 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:25 +0000 (09:36 -0800)
b7/0bfcdebcc1e1380d3320a2caae9ac11b7dac73 [new file with mode: 0644]

diff --git a/b7/0bfcdebcc1e1380d3320a2caae9ac11b7dac73 b/b7/0bfcdebcc1e1380d3320a2caae9ac11b7dac73
new file mode 100644 (file)
index 0000000..dcf052a
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <dme@dme.org>\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 7D52D4196F0\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Mar 2010 00:32:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
+       tests=[BAYES_40=-0.001] autolearn=ham\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 mraUzO3x6386 for <notmuch@notmuchmail.org>;\r
+       Wed, 24 Mar 2010 00:32:38 -0700 (PDT)\r
+Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com\r
+ [74.125.82.53])       by olra.theworths.org (Postfix) with ESMTP id 2B12F431FC1       for\r
+ <notmuch@notmuchmail.org>; Wed, 24 Mar 2010 00:32:38 -0700 (PDT)\r
+Received: by wwb22 with SMTP id 22so2471728wwb.26\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Mar 2010 00:32:37 -0700 (PDT)\r
+Received: by 10.216.88.143 with SMTP id a15mr1224487wef.6.1269415957195;\r
+       Wed, 24 Mar 2010 00:32:37 -0700 (PDT)\r
+Received: from uf.hh.sledj.net (host83-217-165-81.dsl.vispa.com\r
+       [83.217.165.81])\r
+       by mx.google.com with ESMTPS id x6sm7873442gvf.12.2010.03.24.00.32.34\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Wed, 24 Mar 2010 00:32:35 -0700 (PDT)\r
+Received: by uf.hh.sledj.net (Postfix, from userid 1000)\r
+       id 9DCE5594249; Wed, 24 Mar 2010 07:32:41 +0000 (GMT)\r
+To: notmuch@notmuchmail.org\r
+In-Reply-To: <87iq8o76r8.fsf@uf.hh.sledj.net>\r
+References: <87iq8o76r8.fsf@uf.hh.sledj.net>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Wed, 24 Mar 2010 07:32:41 +0000\r
+Message-ID: <87d3yudvja.fsf@uf.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] JSON based emacs UI\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: Wed, 24 Mar 2010 07:32:40 -0000\r
+\r
+On Mon, 22 Mar 2010 14:47:39 +0000, David Edmondson <dme@dme.org> wrote:\r
+> I've pushed the first stage of a JSON based emacs UI to the repository\r
+> at http://github.com/dme/notmuch (it's in the "master" branch).\r
+> \r
+> This is intended to be functionally equivalent to the current UI, though\r
+> HTML display is not present (see below).\r
+> \r
+> This is lightly tested, but if anyone else wants to give it a try I\r
+> would be interested in feedback. There were a couple of places in the\r
+> current code where I wasn't completely sure of the intention, so I may\r
+> have inadvertently diverged (notmuch-show-rewind is a good example).\r
+> \r
+> For HTML display and other improved MIME support my intention is to\r
+> enhance notmuch to allow single parts to be output (something like:\r
+> "notmuch show --part=2 id:k74hf87df.fsf@fish.org") and use that from the\r
+> UI code. No idea when I'll get to it, though.\r
+\r
+"notmuch part --part=2 id:k74hf87df.fsf@fish.org" support is pushed now\r
+and notmuch-show.el updated to use it.\r
+\r
+An attempt is made to inline all parts, including guessing the type of\r
+application/octet-stream parts using mailcap (so a file called\r
+"foo.patch" sent as type application/octet-stream will be displayed\r
+using diff-mode formatting).\r
+\r
+Image inlining doesn't work, even for simple image/jpeg attachments. I'm\r
+still puzzling over this - the output from 'notmuch part' seems fine,\r
+but the lisp code to generate the image and insert it at the right place\r
+is broken.\r
+\r
+Inline images in HTML are also likely problematic - I'm not sure that I\r
+have the framework in place for handling images specified using the cid:\r
+prefix.\r
+\r
+Next is to fix images and persuade notmuch to be more verbose about the\r
+detailed MIME structure of messages.\r
+\r
+As always, feedback (especially if something breaks) appreciated.\r
+\r
+dme.\r
+-- \r
+David Edmondson, http://dme.org\r