pull request

David Edmondson dme at dme.org
Mon Apr 19 01:27:39 PDT 2010


On Sun, 11 Apr 2010 11:29:29 +0100, David Edmondson <dme at dme.org> 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 <dme at dme.org>
Date:   Sat Apr 10 09:02:32 2010 +0100

    debian: git should ignore packaging intermediate files

commit f5de1bb5b4216a1950f6aa5f471c9964e4d0e521
Author: David Edmondson <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
Date:   Thu Apr 1 18:33:46 2010 +0100

    emacs: Display all body parts using `notmuch part --part=<n>'
    
    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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <dme at dme.org>
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 <aneesh.kumar at gmail.com>
    Signed-off-by: David Edmondson <dme at dme.org>

dme.
-- 
David Edmondson, http://dme.org


More information about the notmuch mailing list