* mime-en.sgml, mime-ja.sgml: Update for CVS via SSH.
+2000-05-09 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * smtp.el (smtp-deduce-address-list): Set `case-fold-search' to `t'
+ in the working buffer.
+
+2000-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * Makefile, mime-en.sgml, mime-ja.sgml: Update for the new CVS
+ server.
+
+1999-12-20 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * mel-b-el.el (base64-encode-region): Allow the optional second arg
+ `no-line-break'.
+ (base64-external-encode-region): Likewise.
+ (base64-internal-encode-region): Likewise.
+ (base64-encode-string): Likewise.
+
1999-12-13 Katsumi Yamaoka <yamaoka@jpl.org>
* README.en,README.ja,mime-en.sgml,mime-en.texi,mime-ja.sgml,
- mime-ja.texi: Update fot the recent ML address and ftp site.
+ mime-ja.texi: Update for the recent ML address and ftp site.
1999-10-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
\f
1999-05-31 MORIOKA Tomohiko <tomo@m17n.org>
- * FLIM: Version 1.12.7 (Y\e-D\ e~\ fzaki) released.
+ * FLIM: Version 1.12.7 (Y\e-Dþzaki)\e-A released.
1999-05-31 MORIOKA Tomohiko <tomo@m17n.org>
\f
1999-05-11 MORIOKA Tomohiko <tomo@m17n.org>
- * FLIM: Version 1.12.6 (Family-K\e-D\ er\ fenmae) released.
+ * FLIM: Version 1.12.6 (Family-K\e-Dòenmae)\e-A released.
1999-04-27 Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp>
\f
1999-01-23 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.12.3 (Kintetsu-K\e-D\ er\ friyama) released.
+ * FLIM: Version 1.12.3 (Kintetsu-K\e-Dòriyama)\e-A released.
1999-01-23 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1999-01-21 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.12.2 (Kuj\e-D\ er\ f) released.
+ * FLIM: Version 1.12.2 (Kuj\e-Dò)\e-A released.
1999-01-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-12-02 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.12.1 (Nishinoky\e-D\ er\ f) released.
+ * FLIM: Version 1.12.1 (Nishinoky\e-Dò)\e-A released.
1998-11-30 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-10-26 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.11.2 (Heij\e-D\ er\ f) was released.
+ * FLIM: Version 1.11.2 (Heij\e-Dò)\e-A was released.
* NEWS (Abolish variable `mime-temp-directory'): New subsection.
\f
1998-10-12 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.10.4 (Shin-H\e-D\ er\ fsono) was released.
+ * FLIM: Version 1.10.4 (Shin-H\e-Dòsono)\e-A was released.
1998-10-12 Katsumi Yamaoka <yamaoka@jpl.org>
\f
1998-09-29 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.10.0 (K\e-D\ er\ fdo) was released.
+ * FLIM: Version 1.10.0 (K\e-Dòdo)\e-A was released.
* README.en (What's FLIM): Add mel-ccl.el.
\f
1998-08-31 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.9.1 (Tonosh\e-D\ er\ f) was released.
+ * FLIM: Version 1.9.1 (Tonosh\e-Dò)\e-A was released.
* mime-en.sgml (mm-backend): Translate a little.
\f
1998-07-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM-Chao: Version 1.8.0 (Shij\e-D\ er\ f) was released.
+ * FLIM-Chao: Version 1.8.0 (Shij\e-Dò)\e-A was released.
1998-07-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-07-01 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.8.0 (\e-D\ eR\ fkubo) was released.
+ * FLIM: Version 1.8.0 (\e-DÒkubo)\e-A was released.
* README.en: Delete `How to use'.
\f
1998-06-28 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM-Chao: Version 1.7.0 (Goj\e-D\ er\ f) was released.
+ * FLIM-Chao: Version 1.7.0 (Goj\e-Dò)\e-A was released.
1998-06-26 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-06-19 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.4.1 (Momoyama-Gory\e-D\ er\ fmae) was released.
+ * FLIM: Version 1.4.1 (Momoyama-Gory\e-Dòmae)\e-A was released.
1998-06-18 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-05-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.2.0 (J\e-D\ e~\ fj\ er\ f) was released.
+ * FLIM: Version 1.2.0 (J\e-Dþjò)\e-A was released.
* README.en (What's FLIM): Delete description about
std11-parse.el; add description about mailcap.el.
\f
1998-05-05 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.1.0 (T\e-D\ er\ fji) was released.
+ * FLIM: Version 1.1.0 (T\e-Dòji)\e-A was released.
1998-05-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
\f
1998-04-17 MORIOKA Tomohiko <morioka@jaist.ac.jp>
- * FLIM: Version 1.0.1 (Ky\e-D\ er\ fto) was released.
+ * FLIM: Version 1.0.1 (Ky\e-Dòto)\e-A was released.
* mime-def.el (mime-spadework-module-version-string): New
constant.
(ash (logand (car pack) 3) 4))))
buf))
-(defun-maybe base64-encode-string (string)
- "Encode STRING to base64, and return the result."
+(defun-maybe base64-encode-string (string &optional no-line-break)
+ "Base64-encode STRING and return the result.
+Optional second argument NO-LINE-BREAK means do not break long lines
+into shorter lines."
(let* ((len (length string))
(b 0)(e 57)
(dest ""))
(function base64-encode-1)
(pack-sequence (substring string b e) 3)
"")
- "\n"))
+ (if (not no-line-break) "\n")))
(setq b e
e (+ e 57)))
(concat dest
(pack-sequence (substring string b) 3)
""))))
-(defun base64-internal-encode-region (beg end)
+(defun base64-internal-encode-region (beg end &optional no-line-break)
(save-excursion
(save-restriction
(narrow-to-region beg end)
(insert
(prog1
- (base64-encode-string
- (buffer-substring beg end))
- (delete-region beg end)))
- (or (bolp) (insert ?\n)))))
+ (base64-encode-string (buffer-substring beg end) no-line-break)
+ (delete-region beg end))))))
;;; @ internal base64 decoder
;;; @ external encoder/decoder
;;;
-(defun base64-external-encode-region (beg end)
+(defun base64-external-encode-region (beg end &optional no-line-break)
(save-excursion
(save-restriction
(narrow-to-region beg end)
;; regularize line break code
(goto-char (point-min))
(while (re-search-forward "\r$" nil t)
- (replace-match "")))))
+ (replace-match ""))
+ (if no-line-break
+ (progn
+ (goto-char (point-min))
+ (while (search-forward "\n" nil t)
+ (replace-match "")))))))
(defun base64-external-decode-region (beg end)
(save-excursion
;;; @ application interfaces
;;;
-(defun-maybe base64-encode-region (start end)
- "Encode current region by base64.
-START and END are buffer positions.
+(defun-maybe base64-encode-region (start end &optional no-line-break)
+ "Base64-encode the region between START and END.
+Return the length of the encoded text.
+Optional third argument NO-LINE-BREAK means do not break long lines
+into shorter lines.
This function calls internal base64 encoder if size of region is
smaller than `base64-internal-encoding-limit', otherwise it calls
external base64 encoder specified by `base64-external-encoder'. In
(interactive "*r")
(if (and base64-internal-encoding-limit
(> (- end start) base64-internal-encoding-limit))
- (base64-external-encode-region start end)
- (base64-internal-encode-region start end)))
+ (base64-external-encode-region start end no-line-break)
+ (base64-internal-encode-region start end no-line-break)))
(defun-maybe base64-decode-region (start end)
"Decode current region by base64.
(mime-write-decoded-region start end filename (nil "base64"))
'base64-write-decoded-region)
-
+
;;; @ end
;;;