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 A86D24196F0 for ; Mon, 19 Apr 2010 01:27:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 q6GHp0hc8Xlv for ; Mon, 19 Apr 2010 01:27:44 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id 9316D431FC1 for ; Mon, 19 Apr 2010 01:27:44 -0700 (PDT) Received: by wwe15 with SMTP id 15so43813wwe.26 for ; Mon, 19 Apr 2010 01:27:43 -0700 (PDT) Received: by 10.216.177.82 with SMTP id c60mr4686622wem.25.1271665663436; Mon, 19 Apr 2010 01:27:43 -0700 (PDT) Received: from ut.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1]) by mx.google.com with ESMTPS id x14sm46838463wbs.18.2010.04.19.01.27.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 01:27:41 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 07A525941DA; Mon, 19 Apr 2010 09:27:39 +0100 (BST) To: notmuch Subject: Re: pull request In-Reply-To: <87sk722sfq.fsf@ut.hh.sledj.net> References: <87sk722sfq.fsf@ut.hh.sledj.net> User-Agent: Notmuch/0.1-163-g3077586 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 19 Apr 2010 09:27:39 +0100 Message-ID: <87eiibq22s.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Mon, 19 Apr 2010 08:27:46 -0000 On Sun, 11 Apr 2010 11:29:29 +0100, David Edmondson wrote: > Carl, please consider the following (from the 'for-cworth' branch of > git://github.com/dme/notmuch.git) for 0.2. I hope to have some more UI > changes merged next week. This is the same set rebased onto 0.2. commit 8586a86b9dd4ed2406a2fbda6c08bdc6a598cfd8 Author: David Edmondson Date: Sat Apr 10 09:02:32 2010 +0100 debian: git should ignore packaging intermediate files commit f5de1bb5b4216a1950f6aa5f471c9964e4d0e521 Author: David Edmondson Date: Mon Mar 22 14:50:20 2010 +0000 emacs/notmuch-show.el: Avoid passing unintended format strings to `message' If the text being stashed included %, `message' was unhappy and complained. commit 4159baa2166a3410663adc200f91145edf8e0e13 Author: David Edmondson Date: Wed Mar 24 15:50:11 2010 +0000 emacs/notmuch.el: Enable `hl-line-mode' in `notmuch-search-mode' commit 53c4e64943d09b07e75c9258fc9f954c87a490d6 Author: David Edmondson Date: Tue Apr 6 08:24:00 2010 +0100 json: Avoid calling strlen(NULL) MIME parts may have no filename, which previously resulted in calling strlen(NULL). commit 7dedc95af671173a57bafd973604614c03121ce6 Author: David Edmondson Date: Sun Apr 11 08:58:43 2010 +0100 emacs: JSON based implementation Re-implement notmuch-show.el using the JSON output format of the notmuch command. Most functionality is retained - HTML display is noticeably missing. commit 514e14c42e214718768a1ec94cb869cd3eb47114 Author: David Edmondson Date: Mon Mar 22 16:49:16 2010 +0000 emacs: Move body markup to a separate file Move the citation and signature markup for text/plain parts to a new file (notmuch-wash.el) and call it using a hook mechanism rather than directly. commit 2b6201fbf9209a875f216d48c30b95a6f583c575 Author: David Edmondson Date: Thu Apr 1 16:25:20 2010 +0100 emacs: Add more functions to clean up text/plain parts Add: - notmuch-wash-wrap-long-lines: Wrap lines longer than the width of the current window whilst maintaining any citation prefix. - notmuch-wash-tidy-citations: Tidy up citations by: - compress repeated otherwise blank citation lines, - remove otherwise blank citation lines at the head and tail of a citation and remove blank lines between attribution statements and the citation, - notmuch-wash-compress-blanks: Compress repeated blank lines and remove leading and trailing blank lines. Enable all of the functions by default by adding them to `notmuch-show-insert-text/plain-hook'. With the wrapping features for text/plain parts enabled, word wrapping of the buffer leads to an unappealing display of text, so disable it. commit c7872f5e1f11cfa10d93cb818c5f6f6c0835b918 Author: David Edmondson Date: Tue Mar 23 10:06:00 2010 +0000 emacs/notmuch-show.el: Improved part labelling If a text/plain part is not the first part in a message, add a label in order that a user can see that multiple parts are present. If a part has a 'filename' attribute, include it in any label describing the part. commit 951db85a55a1893e766b26de1377dda5b4573366 Author: David Edmondson Date: Tue Mar 23 11:54:05 2010 +0000 emacs: Use `mm-display-part' when possible For parts that the mm-decode/mm-view functions can inline and we have the content, use `mm-display-part' to insert the part in the buffer. commit 5c060ded87ec4dc479625348708ef73852d60b36 Author: David Edmondson Date: Tue Mar 23 11:54:05 2010 +0000 emacs: Use mailcap.el to guess the type of application/octet-stream parts Use the mailcap functionality to guess a MIME type for attachments of type application/octet-stream and, presuming successful, feed the attachment back into the display code with the determine type. This is mostly useless at the moment, as the JSON output from notmuch does not include the content of application/octet-stream parts, so they cannot be displayed even if the guess is a good one. commit 5fcbb528384b7bda838f7c77434def15f85c7382 Author: David Edmondson Date: Thu Apr 1 18:33:46 2010 +0100 emacs: Display all body parts using `notmuch part --part=' Use the `notmuch part' command to access body parts not currently included in the JSON output and display those body parts appropriately. commit 9e193a3998b7503e35d21013c71cc4ecaf6c9d50 Author: David Edmondson Date: Thu Mar 25 12:26:49 2010 +0000 emacs/notmuch-wash.el: Add `notmuch-wash-inline-patch' `notmuch-wash-inline-patch' attempts to convert inline patches to fake attachments, in order that diff-mode highlighting can be applied to the patch. It should be added to `notmuch-show-insert-text/plain-hook', usually before `notmuch-wash-markup-citations'. Due to the scope for error in detecting inline patches (and their extent), this function is not enabled by default. commit 444de7e73d988cab9b8d1fef851c8ad26174a996 Author: David Edmondson Date: Sun Mar 28 14:50:46 2010 +0100 emacs/notmuch-show.el: Part headers are real buttons that save the part Convert the part headers into buttons that save the part when activated. Don't attempt to save 'fake' parts generated by `notmuch-wash-inline-patch'. commit e9d737feb5a49fd59e1f27bccd24cac2fd1ef749 Author: David Edmondson Date: Mon Mar 29 10:31:58 2010 +0100 emacs/notmuch-show.el: Add `notmuch-show-toggle-all' bound to M-RET `notmuch-show-toggle-all' changes the visibility all of the messages in the current thread. By default it makes all of the messages not visible. With a prefix argument, it makes them all visible. commit b3be927b54956a7258f203159e0bdb954e686c80 Author: David Edmondson Date: Mon Apr 12 08:51:30 2010 +0100 emacs: Support for customizing search result display This patch helps in customizing search result display similar to mutt's index_format. The customization is done by defining an alist as below: (setq notmuch-search-result-format '(("date" . "%s ") ("authors" . "%-40s ") ("subject" . "%s "))) The supported keywords are date, count, authors, subject and tags. Signed-off-by: Aneesh Kumar K.V Signed-off-by: David Edmondson dme. -- David Edmondson, http://dme.org