[PATCH] emacs: Enable more text/plain hook functions by default.

Jani Nikula jani at nikula.org
Tue Dec 27 04:10:04 PST 2011


On Tue, 27 Dec 2011 12:00:25 +0000, David Edmondson <dme at dme.org> 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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list