Show
Ignore:
Timestamp:
09/09/06 16:30:10 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/gnus/gnus-sum.el

    r4131 r4161  
    993993 
    994994(defvar gnus-decode-encoded-word-function 'mail-decode-encoded-word-string 
    995   "Variable that says which function should be used to decode a string with encoded words.") 
     995  "Function used to decode a string with encoded words.") 
     996 
     997(defvar gnus-decode-encoded-address-function 
     998  'mail-decode-encoded-address-string 
     999  "Function used to decode addresses with encoded words.") 
    9961000 
    9971001(defcustom gnus-extra-headers '(To Newsgroups) 
     
    10021006 
    10031007(defcustom gnus-ignored-from-addresses 
    1004   (and user-mail-address   
     1008  (and user-mail-address 
    10051009       (not (string= user-mail-address "")) 
    10061010       (regexp-quote user-mail-address)) 
     
    34373441                      (inline 
    34383442                        (gnus-summary-extract-address-component 
    3439                          (funcall gnus-decode-encoded-word-function to))))) 
     3443                         (funcall gnus-decode-encoded-address-function to))))) 
    34403444             ((setq newsgroups (cdr (assq 'Newsgroups extra-headers))) 
    34413445              (concat "=> " newsgroups))))) 
     
    41834187                 (condition-case ()     ; from 
    41844188                     (gnus-remove-odd-characters 
    4185                       (funcall gnus-decode-encoded-word-function 
     4189                      (funcall gnus-decode-encoded-address-function 
    41864190                               (setq x (nnheader-nov-field)))) 
    41874191                   (error x)) 
     
    59575961              (goto-char p) 
    59585962              (if (search-forward "\nfrom:" nil t) 
    5959                   (funcall gnus-decode-encoded-word-function 
     5963                  (funcall gnus-decode-encoded-address-function 
    59605964                           (nnheader-header-value)) 
    59615965                "(nobody)")) 
     
    84508454        (when (setq to-address (or (gnus-fetch-field "reply-to") 
    84518455                                   (gnus-fetch-field "from"))) 
    8452           (setq params (append 
    8453                         (list (cons 'to-address 
    8454                                     (funcall gnus-decode-encoded-word-function 
    8455                                              to-address)))))) 
     8456          (setq params 
     8457                (append 
     8458                 (list (cons 'to-address 
     8459                             (funcall gnus-decode-encoded-address-function 
     8460                                      to-address)))))) 
    84568461        (setq dig (nnheader-set-temp-buffer " *gnus digest buffer*")) 
    84578462        (insert-buffer-substring gnus-original-article-buffer)