[gnus git] branch master updated: n0-15-86-gb3da4bf =1= Add Cc, Gcc, and Keywords to default `gnus-extra-headers'.

Ted Zlatanov <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b3da4bfe19d9501b4cd56b4c121cacc9247f2ae6 (commit)
      from  a1835a985c606b6e37bc3115023ef028d0797191 (commit)


- Log -----------------------------------------------------------------
commit b3da4bfe19d9501b4cd56b4c121cacc9247f2ae6
Author: Ted Zlatanov <[email protected]>
Date:   Thu Apr 21 18:24:38 2011 -0500

    Add Cc, Gcc, and Keywords to default `gnus-extra-headers'.
    
    * gnus-registry.el: Mention in comments how to modify
    `gnus-extra-headers' for proper recipient tracking and that it may
    already have To and Cc recently, which it does as of this commit.
    
    * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
    default.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index aa7c4ba..19f07e4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,9 +1,15 @@
 2011-04-21  Teodor Zlatanov  <[email protected]>
 
+	* gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
+	default.
+
 	* gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
 	not gnus-registry.el.
 
-	* gnus-registry.el (gnus-registry-ignored-groups): Remove defcustom.
+	* gnus-registry.el: Mention in comments how to modify
+	`gnus-extra-headers' for proper recipient tracking and that it may
+	already have To and Cc recently, which it does as of this commit.
+	(gnus-registry-ignored-groups): Remove defcustom.
 	Explain why in comments.
 	(gnus-registry-action): Fix data-header reference to use the extra
 	headers.  Explain in package commentary how to add To and Cc headers to
diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
index 68c6e0a..f0b1f18 100644
--- a/lisp/gnus-registry.el
+++ b/lisp/gnus-registry.el
@@ -35,7 +35,8 @@
 
 ;; If you want to track recipients (and you should to make the
 ;; gnus-registry splitting work better), you need the To and Cc
-;; headers collected by Gnus:
+;; headers collected by Gnus.  Note that in more recent Gnus versions
+;; this is already the case: look at `gnus-extra-headers' to be sure.
 
 ;; ;;; you may also want Gcc Newsgroups Keywords X-Face
 ;; (add-to-list 'gnus-extra-headers 'To)
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index d023bc5..b6a3860 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -1128,7 +1128,7 @@ which it may alter in any way."
   'mail-decode-encoded-address-string
   "Function used to decode addresses with encoded words.")
 
-(defcustom gnus-extra-headers '(To Newsgroups)
+(defcustom gnus-extra-headers '(To Cc Keywords Gcc Newsgroups)
   "*Extra headers to parse."
   :version "21.1"
   :group 'gnus-summary

-----------------------------------------------------------------------
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:
 lisp/ChangeLog        |    8 +++++++-
 lisp/gnus-registry.el |    3 ++-
 lisp/gnus-sum.el      |    2 +-
 3 files changed, 10 insertions(+), 3 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.