]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: wash: make word-wrap bound message width
authorMark Walters <markwalters1009@gmail.com>
Sat, 6 Aug 2016 15:29:34 +0000 (16:29 +0100)
committerDavid Bremner <david@tethera.net>
Mon, 12 Sep 2016 11:06:00 +0000 (08:06 -0300)
commit7b7960ea228ca0449e2711377dfdebc23a791147
treea6fa2f7cf2b127a37ec5c2b931f488de8f46b0ed
parentf94921520778ae4005500f5d1b943e2d4ddd3b2a
emacs: wash: make word-wrap bound message width

Previously if notmuch-wash-wrap-lines-length was set then all messages
would be wrapped at this value (or window-width if that is
smaller). This was done regardless of the message's depth in a thread --
for example, if the n.w.w.l.l is 80 and the messages depth is 20
(so indented 20 by default) the messages text only got 60 characters
of space.

This commit changes that so a message always gets the full n.w.w.l.l
of width regardless of its indentation (unless that goes over
window-width of course).
emacs/notmuch-wash.el