[PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines
Adam Wolfe Gordon
awg+notmuch at xvx.ca
Wed Apr 18 08:30:39 PDT 2012
Hi Daniel,
On Fri, Feb 17, 2012 at 11:34, Daniel Schoepe <daniel at schoepe.org> wrote:
> This introduces a variable to control after how many characters a line
> is wrapped by notmuch-wash-wrap-long-lines (still wrapping at the
> window width if it is lower).
I really like this idea, and I'm using this patch now. I've been
missing this mechanism in notmuch.
> +(defvar notmuch-wash-wrap-lines-length nil
> + "Wrap line after at most this many characters.
> +
> +If this is nil, lines in messages will be wrapped to fit in the
> +current window. If this is a number, lines will be wrapped after
> +this many characters or at the window width (whichever one is
> +lower).")
This should probably be a defcustom, in the notmuch-show section.
Otherwise, LGTM.
-- Adam
More information about the notmuch
mailing list