[gnus git] branch master updated: m0-11-71-g11df52e =1= Update docs wrt shr/html mail.

Tassilo <[email protected]> Fri, 07 Nov 2014 08:15:29 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  11df52e239582f3aa3e654b04e8855b297b722fa (commit)
      from  01c75b7c8e4ecbdaea6dda97b113a76c60458620 (commit)


- Log -----------------------------------------------------------------
commit 11df52e239582f3aa3e654b04e8855b297b722fa
Author: Tassilo Horn <[email protected]>
Date:   Fri Nov 7 08:14:40 2014 +0100

    Update docs wrt shr/html mail.
    
    * gnus.texi (HTML): Update section so that it mentions shr and w3m.
    
    * gnus-faq.texi (FAQ 4 - Reading messages, FAQ 4-16): Add Q&A on how to
    increase contrast when displaying HTML mail with shr.

diff --git a/texi/ChangeLog b/texi/ChangeLog
index ea17eb1..7e67484 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,10 @@
+2014-11-07  Tassilo Horn  <[email protected]>
+
+	* gnus.texi (HTML): Update section so that it mentions shr and w3m.
+
+	* gnus-faq.texi (FAQ 4 - Reading messages, FAQ 4-16): Add Q&A on how to
+	increase contrast when displaying HTML mail with shr.
+
 2014-11-02  Teodor Zlatanov  <[email protected]>
 
 	* auth.texi (Help for users): Explain quoting rules better.
diff --git a/texi/gnus-faq.texi b/texi/gnus-faq.texi
index fd4f427..83fff5e 100644
--- a/texi/gnus-faq.texi
+++ b/texi/gnus-faq.texi
@@ -742,6 +742,7 @@ POP3 mail source.  See @pxref{Mail Source Specifiers} for VALUE.
 * FAQ 4-14::    I don't like the way the Summary buffer looks, how to
                 tweak it?
 * FAQ 4-15::    How to split incoming mails in several groups?
+* FAQ 4-16::    How can I ensure more contrast when viewing HTML mail?
 @end menu
 
 @node FAQ 4-1
@@ -1185,6 +1186,21 @@ from using them):
 @end example
 @noindent
 
+@node FAQ 4-16
+@subsubheading Question 4.16
+
+How can I ensure more contrast when viewing HTML mail?
+
+@subsubheading Answer
+
+Gnus' built-in simple HTML renderer (you use it if the value of
+@code{mm-text-html-renderer} is @code{shr}) uses the colors which are
+declared in the HTML mail.  However, it adjusts them in order to
+prevent situations like dark gray text on black background.  In case
+the results still have a too low contrast for you, increase the values
+of the variables @code{shr-color-visible-distance-min} and
+@code{shr-color-visible-luminance-min}.
+
 @node FAQ 5 - Composing messages
 @subsection Composing messages
 
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 6f47786..a54cdfd 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -11761,20 +11761,30 @@ Also @pxref{MIME Commands}.
 @section @acronym{HTML}
 @cindex @acronym{HTML}
 
-If you have @code{w3m} installed on your system, Gnus can display
-@acronym{HTML} articles in the article buffer.  There are many Gnus
-add-ons for doing this, using various approaches, but there's one
-(sort of) built-in method that's used by default.
+Gnus can display @acronym{HTML} articles nicely formatted in the
+article buffer.  There are many methods for doing that, but two of
+them are kind of default methods.
 
-For a complete overview, consult @xref{Display Customization,
-,Display Customization, emacs-mime, The Emacs MIME Manual}.  This
-section only describes the default method.
+If your Emacs copy has been built with libxml2 support, then Gnus uses
+its built-in, plain elisp Simple HTML Renderer (@code{shr}).
+@footnote{@code{shr} displays colors as declared in the @acronym{HTML}
+article but tries to adjust them in order to be readable.  If you
+prefer more contrast, have a look at question 4.16 in the
+@xref{Frequently Asked Questions}.}
+
+If your Emacs copy lacks libxml2 support but you have @code{w3m}
+installed on your system, Gnus uses that to render @acronym{HTML} mail
+and display the results in the article buffer (@code{gnus-w3m}).
+
+For a complete overview, consult @xref{Display Customization, ,Display
+Customization, emacs-mime, The Emacs MIME Manual}.  This section only
+describes the default method.
 
 @table @code
 @item mm-text-html-renderer
 @vindex mm-text-html-renderer
-If set to @code{gnus-article-html}, Gnus will use the built-in method,
-that's based on @code{w3m}.
+If set to @code{shr}, Gnus uses its own simple @acronym{HTML}
+renderer.  If set to @code{gnus-w3m}, it uses @code{w3m}.
 
 @item gnus-blocked-images
 @vindex gnus-blocked-images

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 texi/ChangeLog     |    7 +++++++
 texi/gnus-faq.texi |   16 ++++++++++++++++
 texi/gnus.texi     |   28 +++++++++++++++++++---------
 3 files changed, 42 insertions(+), 9 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project