[PATCH 0/2] emacs: wash: word-wrap bugfix and tweak

Subject: [PATCH 0/2] emacs: wash: word-wrap bugfix and tweak

Date: Sat, 6 Aug 2016 16:29:32 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


Jani pointed out on irc that there was a bug in notmuch-tree that when
a message very deep in a thread is viewed in the message pane it is
wordwrapped too soon.

This is actually a bug in notmuch-wash: it assumes that
notmuch-show-indent-messages-width is 1, so that the indentation of
the message is equal to its depth in the thread.

The first patch fixes the bug, and uses the correct indentation.

The second patch is a version of
id:1467791251-6823-1-git-send-email-markwalters1009@gmail.com on
on top of the first patch above.

The first patch is a clear bugfix and can be applied on its own.

The second is a change; I think the new version is the natural
interpretation of notmuch-word-wrap-lines-length so have removed the
old behaviour. See the message
id:1467791251-6823-1-git-send-email-markwalters1009@gmail.com for more
details of the change.

Best wishes

Mark





Mark Walters (2):
  emacs: wash: word-wrap bugfix
  emacs: wash: make word-wrap bound message width

 emacs/notmuch-wash.el                                 | 10 ++++++----
 ...w-thread-maildir-storage-with-fourfold-indentation | 19 ++++++++++++-------
 ...ch-show-thread-maildir-storage-without-indentation |  8 ++++----
 3 files changed, 22 insertions(+), 15 deletions(-)

-- 
2.1.4


Thread: