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

Mark Walters markwalters1009 at gmail.com
Sat Aug 6 08:29:32 PDT 2016


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 at 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 at 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



More information about the notmuch mailing list