2001-10-30 23:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 31 Oct 2001 04:15:04 +0000 (04:15 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 31 Oct 2001 04:15:04 +0000 (04:15 +0000)
commit18f689485e63d1f4f9c476dd4d2549f2e705bf28
tree82f12e55283bb0300f2a65dc54f77f8144e2d94e
parent28820059592015896ca089df7ed5b693c27736ff
2001-10-30 23:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>

* mm-util.el (mm-mime-mule-charset-alist): Move down and call
mm-coding-system-p. Don't correct it only in XEmacs.
(mm-charset-to-coding-system): Use mm-coding-system-p and
mm-get-coding-system-list.
(mm-emacs-mule, mm-mule4-p): New.
(mm-enable-multibyte, mm-disable-multibyte,
mm-enable-multibyte-mule4, mm-disable-multibyte-mule4,
mm-with-unibyte-current-buffer,
mm-with-unibyte-current-buffer-mule4): Use them.
(mm-find-mime-charset-region): Treat iso-2022-jp.

2001-10-27  Dave Love  <fx@gnu.org>

* mm-util.el (mm-mime-mule-charset-alist): Make it correct by
construction.
(mm-charset-synonym-alist): Remove windows-125[02].  Make other
entries conditional on not having a coding system defined for
them.
(mm-mule-charset-to-mime-charset): Use
find-coding-systems-for-charsets if defined.
(mm-charset-to-coding-system): Don't use
mm-get-coding-system-list.  Look in mm-charset-synonym-alist
later.  Add last resort search of coding systems.
(mm-enable-multibyte-mule4, mm-disable-multibyte-mule4)
(mm-with-unibyte-current-buffer-mule4): Just treat Mule 5 like
Mule 4.
(mm-find-mime-charset-region): Re-write.
(mm-with-unibyte-current-buffer): Restore buffer as well as
multibyteness.
lisp/ChangeLog
lisp/lpath.el
lisp/mm-util.el