+2000-12-22 Keiichi Suzuki <keiichi@mdcnet.co.jp>
+
+ * mel-q.el: Require `poem' for `string-to-char-list' when
+ compiling.
+
+2000-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * eword-decode.el (eword-decode-header): Revert to obsolete alias.
+
+2000-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mmgeneric.el: Add comment for eword-decode.
+
2000-12-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* mailcap.el: Require `poe' for `define-obsolete-function-alias'.
(mime-header-lexical-analyzer): Renamed from
`eword-lexical-analyzer'; switch to variable.
+ * FLIM-ELS (flim-modules): Add `raw-io'.
+
2000-12-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* eword-encode.el (eword-encode-default-start-column): Switch to
variable.
+2000-12-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * raw-io.el (start-process): New function.
+ (binary-start-process-shell-command): New function.
+
2000-12-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* mime-parse.el: Require `luna'.
(eword-encode-header): Use `find-charset-region' instead of
`find-non-ascii-charset-string'.
+2000-12-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * raw-io.el: New file.
+
2000-12-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* mime/eword-decode.el: Don't use
** decoder
-[Function] mime-decode-header-in-buffer (&optional code-conversion separator)
+[Function] mime-decode-header-in-buffer (&optional code-conversion
+ separator)
Decode MIME encoded-words in header fields.
If CODE-CONVERSION is nil, it decodes only encoded-words. If it is
[Suggest]
+[Function] [Function] eword-decode-header (&optional code-conversion
+ separator)
+ As same as `mime-decode-header-in-buffer', q.v.
+
+ Note that
+
+ (require 'eword-decode)
+
+ is necessary to use this function.
+
+ [Optional]<Obsolete> (Usage: cmail 2.61)
+
+
[Function] mime-decode-header-in-region (start end
&optional code-conversion)
Decode MIME encoded-words in region between START and END.
mmbuffer mmcooked mmdbuffer mmexternal
mime-conf
sasl sasl-cram sasl-digest
- smtp qmtp smtpmail))
+ smtp qmtp smtpmail
+ raw-io))
(setq flim-version-specific-modules '(mailcap))
1.13.1 Tawaramoto \e$(BED86K\\e(B ; <=> \e$(B6aE4\e(B \e$(B@>ED86K\\e(B
1.13.2 Kasanui \e$(B3^K%\e(B
1.14.0 Ninokuchi \e$(B?7%N8}\e(B
------- Yagi \e$(BH,LZ\e(B ; = \e$(B6aE4\e(B \e$(BBg:e@~\e(B
+1.14.1 Yagi \e$(BH,LZ\e(B ; = \e$(B6aE4\e(B \e$(BBg:e@~\e(B
------ Yagi-Nishiguchi \e$(BH,LZ@>8}\e(B
------ Unebigory\e-Dòmae\e-A \e$(B@&K58fNMA0\e(B
------ Kashiharajingu-mae \e$(B3`86?@5\A0\e(B ; = \e$(B6aE4\e(B \e$(BFnBg:e@~!"5HLn@~\e(B
(point-max)))
code-conversion))
-;; (define-obsolete-function-alias 'eword-decode-header
-;; 'mime-decode-header-in-buffer)
+(defalias 'eword-decode-header 'mime-decode-header-in-buffer)
+(make-obsolete 'eword-decode-header 'mime-decode-header-in-buffer)
;;; @ encoded-word decoder
(require 'mime-def)
(require 'path-util)
-
+(eval-when-compile
+ ;; XXX: should provide char-list instead of string-to-char-list.
+ (require 'poem))
;;; @ Quoted-Printable encoder
;;;
(require 'luna)
+(eval-when-compile
+ (require 'eword-decode) ; mime-find-field-presentation-method
+ )
+
;;; @ MIME entity
;;;
--- /dev/null
+;;; raw-io.el --- input/output without code-conversion
+
+;; Copyright (C) 1997,1998,1999,2000 Free Software Foundation, Inc.
+
+;; Author: MORIOKA Tomohiko <tomo@m17n.org>
+;; Keywords: definition, MIME, multimedia, mail, news
+
+;; This file is part of APEL (A Portable Emacs Library).
+
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 2, or (at
+;; your option) any later version.
+
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+;;; Code:
+
+(eval-when-compile (require 'static))
+(require 'pces)
+
+(static-if (and (featurep 'xemacs)
+ (not (featurep 'utf-2000)))
+ (defalias 'binary-insert-file-contents 'insert-file-contents-as-binary)
+ (defalias 'binary-insert-file-contents 'insert-file-contents-literally))
+
+(defalias 'binary-write-region 'write-region-as-binary)
+
+(defalias 'binary-find-file-noselect 'find-file-noselect-as-binary)
+
+(defalias 'binary-open-network-stream 'open-network-stream-as-binary)
+
+(defun binary-start-process (name buffer program &rest program-args)
+ "Like `start-process', q.v., but don't code conversion."
+ (as-binary-process
+ (apply (function start-process) name buffer program program-args)))
+
+(defun binary-start-process-shell-command (name buffer &rest args)
+ "Like `start-process-shell-command', q.v., but don't code conversion."
+ (static-if (fboundp 'start-process-shell-command)
+ (as-binary-process
+ (apply (function start-process-shell-command) name buffer args))
+ (as-binary-process
+ (start-process name buffer shell-file-name shell-command-switch
+ (mapconcat #'identity args " ")))))
+
+(defalias 'raw-text-insert-file-contents 'insert-file-contents-as-raw-text)
+
+(defalias 'raw-message-write-region 'write-region-as-raw-text-CRLF)
+
+
+;;; @ end
+;;;
+
+(provide 'raw-io)
+
+;;; raw-io.el ends here