From: yamaoka Date: Mon, 16 Sep 2002 04:19:47 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_8-04-quimby~41 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=dc9c7ad693699ae99d91ff163c8fc4c10fe07d6e;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2855146..acfa109 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-09-15 John Paul Wallington + + * gnus-sum.el (gnus-summary-toggle-header): The article window may + not exist. Toggle it anyway. + 2002-09-13 ShengHuo ZHU * gnus-msg.el (gnus-copy-article-buffer): Bind mail-header-separator. diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index c513e7e..9ae9cef 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -8482,37 +8482,37 @@ If ARG is a negative number, hide the unwanted header lines." (interactive "P") (let ((window (and (gnus-buffer-live-p gnus-article-buffer) (get-buffer-window gnus-article-buffer t)))) - (when window - (with-current-buffer gnus-article-buffer + (with-current-buffer gnus-article-buffer + (widen) + (article-narrow-to-head) + (let* ((buffer-read-only nil) + (inhibit-point-motion-hooks t) + (hidden (if (numberp arg) + (>= arg 0) + (gnus-article-hidden-text-p 'headers))) + s e) + (delete-region (point-min) (point-max)) + (with-current-buffer gnus-original-article-buffer + (goto-char (setq s (point-min))) + (setq e (if (search-forward "\n\n" nil t) + (1- (point)) + (point-max)))) + (insert-buffer-substring gnus-original-article-buffer s e) + (article-decode-encoded-words) + (if hidden + (let ((gnus-treat-hide-headers nil) + (gnus-treat-hide-boring-headers nil)) + (gnus-delete-wash-type 'headers) + (gnus-treat-article 'head)) + (gnus-treat-article 'head)) (widen) - (article-narrow-to-head) - (let* ((buffer-read-only nil) - (inhibit-point-motion-hooks t) - (hidden (if (numberp arg) - (>= arg 0) - (gnus-article-hidden-text-p 'headers))) - s e) - (delete-region (point-min) (point-max)) - (with-current-buffer gnus-original-article-buffer - (goto-char (setq s (point-min))) - (setq e (if (search-forward "\n\n" nil t) - (1- (point)) - (point-max)))) - (insert-buffer-substring gnus-original-article-buffer s e) - (article-decode-encoded-words) - (if hidden - (let ((gnus-treat-hide-headers nil) - (gnus-treat-hide-boring-headers nil)) - (gnus-delete-wash-type 'headers) - (gnus-treat-article 'head)) - (gnus-treat-article 'head)) - (widen) - (set-window-start window (goto-char (point-min))) - (setq gnus-page-broken - (when gnus-break-pages - (gnus-narrow-to-page) - t)) - (gnus-set-mode-line 'article)))))) + (if window + (set-window-start window (goto-char (point-min)))) + (setq gnus-page-broken + (when gnus-break-pages + (gnus-narrow-to-page) + t)) + (gnus-set-mode-line 'article))))) (defun gnus-summary-show-all-headers () "Make all header lines visible." diff --git a/texi/ChangeLog b/texi/ChangeLog index a6f638f..d3c5612 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2002-09-15 Kai Gro,A_(Bjohann + + * gnus.texi (Mail Source Specifiers): Say "one-to-one + correspondence" in the description of `directory'. + 2002-09-11 Kai Gro,b_(Bjohann * gnus.texi (Top, Summary Buffer): Add info to "Delayed Articles" diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index cc292b3..669ca7b 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -12120,7 +12120,8 @@ rm -f $TMP; $MOVEMAIL $MAIL $TMP >/dev/null && cat $TMP @vindex nnmail-scan-directory-mail-source-once $B%G%#%l%/%H%j!