* nnheader.el (mail-header-fold-field): Alias to `std11-fold-field'.
(std11-fold-field): New function.
(mail-narrow-to-head): Alias to `std11-narrow-to-header'.
(mail-header-narrow-to-field): Alias to `std11-narrow-to-field'.
(std11-narrow-to-field): New function.
and a few fixes.
2002-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
+ * lisp/gnus-picon.el: Don't require `mail-parse'.
+
+2002-01-07 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * lisp/nnheader.el (mail-header-fold-field): Alias to
+ `std11-fold-field'.
+ (std11-fold-field): New function.
+ (mail-narrow-to-head): Alias to `std11-narrow-to-header'.
+ (mail-header-narrow-to-field): Alias to `std11-narrow-to-field'.
+ (std11-narrow-to-field): New function.
+
+2002-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
+
* lisp/gnus-vers.el (gnus-revision-number): Increment to 10.
* lisp/gnus-picon.el: Require `mail-parse'.
- * lisp/gnus-fun.el: Autoload "compface" for `uncompface'.
-
* lisp/sha1-el.el (sha1-use-external): Replace `executable-find'
with `exec-installed-p'.
(gnus-xmas-put-image): Use end-glyph. Make text invisible.
(gnus-xmas-remove-image): Make text visible, remove glyph.
+2002-01-01 02:32:53 Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
+
+ * gnus.el: Oort Gnus v0.04 is released.
+
2002-01-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-delay.el (gnus-delay-send-queue): Renamed.
;;; Code:
-(eval-and-compile
- (autoload 'uncompface "compface"))
-
(defcustom gnus-x-face-directory (expand-file-name "x-faces" gnus-directory)
"*Directory where X-Face PBM files are stored."
:group 'gnus-fun
(require 'gnus)
(require 'custom)
(require 'gnus-art)
-(require 'mail-parse)
;;; User variables:
gnus-unplugged gnus-agentize gnus-agent-batch)
("gnus-vm" :interactive t gnus-summary-save-in-vm
gnus-summary-save-article-vm)
+ ("compface" uncompface)
("gnus-draft" :interactive t gnus-draft-mode gnus-group-send-queue)
("gnus-mlspl" gnus-group-split gnus-group-split-fancy)
("gnus-mlspl" :interactive t gnus-group-split-setup
(message "%s(Y/n) Yes" prompt)
t)))
+;; mm- stuff.
(unless (featurep 'mm-util)
(defun nnheader-image-load-path (&optional package)
(let (dir result)
'multibyte-string-p
'ignore)))
+;; rfc-2047 stuff.
+(unless (featurep 'mail-parse)
+ (defun-maybe std11-narrow-to-field ()
+ "Narrow the buffer to the header on the current line."
+ (forward-line 0)
+ (narrow-to-region (point)
+ (progn
+ (std11-field-end)
+ (when (eolp) (forward-line 1))
+ (point)))
+ (goto-char (point-min)))
+
+ (defalias 'mail-header-narrow-to-field 'std11-narrow-to-field)
+
+ (defalias 'mail-narrow-to-head 'std11-narrow-to-header)
+
+ (defun-maybe std11-fold-field ()
+ "Fold the current line."
+ (save-excursion
+ (save-restriction
+ (std11-narrow-to-field)
+ (let ((str (std11-unfold-string
+ (buffer-substring (point-min) (point-max)))))
+ (delete-region (point-min) (point-max))
+ (insert str)))))
+
+ (defalias 'mail-header-fold-field 'std11-fold-field))
+
(when (featurep 'xemacs)
(require 'nnheaderxm))