Show
Ignore:
Timestamp:
2006年09月09日 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-art.el

    r4098 r4161  
    853853(defvar gnus-decode-header-function 'mail-decode-encoded-word-region 
    854854  "Function used to decode headers.") 
     855 
     856(defvar gnus-decode-address-function 'mail-decode-encoded-address-region 
     857  "Function used to decode addresses.") 
    855858 
    856859(defvar gnus-article-dumbquotes-map 
     
    23782381                           (error)) 
    23792382                         gnus-newsgroup-ignored-charsets)) 
    2380         (inhibit-read-only t)) 
    2381     (save-restriction 
    2382       (article-narrow-to-head) 
    2383       (funcall gnus-decode-header-function (point-min) (point-max))))) 
     2383        (inhibit-read-only t) 
     2384        end start) 
     2385    (goto-char (point-min)) 
     2386    (when (search-forward "\n\n" nil 'move) 
     2387      (forward-line -1)) 
     2388    (setq end (point)) 
     2389    (while (not (bobp)) 
     2390      (while (progn 
     2391               (forward-line -1) 
     2392               (and (not (bobp)) 
     2393                    (memq (char-after) '(?\t ? ))))) 
     2394      (setq start (point)) 
     2395      (if (looking-at "\ 
     2396\\(?:Resent-\\)?\\(?:From\\|Cc\\|To\\|Bcc\\|\\(?:In-\\)?Reply-To\\|Sender\ 
     2397\\|Mail-Followup-To\\|Mail-Copies-To\\|Approved\\):") 
     2398          (funcall gnus-decode-address-function start end) 
     2399        (funcall gnus-decode-header-function start end)) 
     2400      (goto-char (setq end start))))) 
    23842401 
    23852402(defun article-decode-group-name () 
     
    39243941  (gnus-run-mode-hooks 'gnus-article-mode-hook)) 
    39253942 
     3943;; Internal variables.  Are `gnus-button-regexp' and `gnus-button-last' used 
     3944;; at all? 
     3945(defvar gnus-button-regexp nil) 
     3946(defvar gnus-button-marker-list nil 
     3947  "Regexp matching any of the regexps from `gnus-button-alist'.") 
     3948(defvar gnus-button-last nil 
     3949  "The value of `gnus-button-alist' when `gnus-button-regexp' was build.") 
     3950 
    39263951(defun gnus-article-setup-buffer () 
    39273952  "Initialize the article buffer." 
     
    43254350           (none "(none)") 
    43264351           (description 
    4327             (or 
    4328              (mail-decode-encoded-word-string (or (mm-handle-description data) 
    4329                                                   none)))) 
     4352            (mail-decode-encoded-word-string (or (mm-handle-description data) 
     4353                                                 none))) 
    43304354           (filename 
    43314355            (or (mail-content-type-get (mm-handle-disposition data) 'filename) 
     
    66966720                               (integer :tag "Regexp group"))))) 
    66976721 
    6698 (defvar gnus-button-regexp nil) 
    6699 (defvar gnus-button-marker-list nil) 
    6700 ;; Regexp matching any of the regexps from `gnus-button-alist'. 
    6701  
    6702 (defvar gnus-button-last nil) 
    6703 ;; The value of `gnus-button-alist' when `gnus-button-regexp' was build. 
    6704  
    67056722;;; Commands: 
    67066723