From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id EB880431FD0 for ; Tue, 27 Dec 2011 04:10:10 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xmxHbEuh6QdO for ; Tue, 27 Dec 2011 04:10:09 -0800 (PST) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 366CF431FB6 for ; Tue, 27 Dec 2011 04:10:09 -0800 (PST) Received: by qadb15 with SMTP id b15so8987345qad.5 for ; Tue, 27 Dec 2011 04:10:08 -0800 (PST) Received: by 10.224.42.134 with SMTP id s6mr32908441qae.78.1324987808448; Tue, 27 Dec 2011 04:10:08 -0800 (PST) Received: from localhost (nikula.org. [92.243.24.172]) by mx.google.com with ESMTPS id ha3sm50848181qab.2.2011.12.27.04.10.06 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 04:10:07 -0800 (PST) From: Jani Nikula To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Enable more text/plain hook functions by default. In-Reply-To: <1324987225-3067-1-git-send-email-dme@dme.org> References: <1324987225-3067-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.10.2+129~g8a76c81 (http://notmuchmail.org) Emacs/23.1.1 (i686-pc-linux-gnu) Date: Tue, 27 Dec 2011 12:10:04 +0000 Message-ID: <87k45iz04j.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 12:10:11 -0000 On Tue, 27 Dec 2011 12:00:25 +0000, David Edmondson wrote: > Users are missing out on various functions which usefully improve the > display of text/plain message parts because they are not enabled by > default. Enable a useful set. While I didn't try the patch, I'm very much in favour of having these enabled as sane defaults. > `notmuch-wash-convert-inline-patch-to-part' is _not_ enabled by > default as it is based on a heuristic. Agreed. And even if it weren't a heuristic, it's a somewhat rare special case for the average user. BR, Jani. > --- > emacs/notmuch-show.el | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el > index afff6a5..8c9d846 100644 > --- a/emacs/notmuch-show.el > +++ b/emacs/notmuch-show.el > @@ -75,7 +75,10 @@ any given message." > :group 'notmuch > :type 'hook) > > -(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-excerpt-citations) > +(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-wrap-long-lines > + notmuch-wash-tidy-citations > + notmuch-wash-elide-blank-lines > + notmuch-wash-excerpt-citations) > "Functions used to improve the display of text/plain parts." > :group 'notmuch > :type 'hook > -- > 1.7.7.3 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch