[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XEmacs, Gnus and mm-coding-system-priorities.
From: |
Reiner Steib |
Subject: |
Re: XEmacs, Gnus and mm-coding-system-priorities. |
Date: |
Thu, 02 Dec 2004 13:37:23 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
On Thu, Dec 02 2004, Aidan Kehoe wrote:
> Further to my message of the 26th, lvmzx4a1vb.fsf@ns5.nestdesign.com , I’ve
> made a patch to mm-util.el that takes advantage of Stephen Turnbull’s Latin
> Unity to remap messages’ characters and to take notice of the
> mm-coding-system-priorities variable under XEmacs.
Unfortunately you don't mention with which Gnus version you tested it.
In the current trunk and in the stable branch (v5-10), Katsumi Yamaoka
recently improved handling of charsets for XEmacs:
--8<---------------cut here---------------start------------->8---
2004-11-02 Katsumi Yamaoka <yamaoka@jpl.org>
[...]
* mm-util.el (mm-mime-mule-charset-alist): Add the windows-1251
entry. From Ilya N. Golubev <gin@mo.msk.ru>.
(mm-enrich-utf-8-by-mule-ucs): New function run when Mule-UCS is
loaded under XEmacs.
(): Don't make duplicated entries in mm-mime-mule-charset-alist.
* mm-util.el (mm-coding-system-p): Return a coding-system.
(mm-mime-mule-charset-alist): Use shift_jis instead of
iso-2022-jp-2 for the katakana-jisx0201 mule charset; add new
entries for the mime charsets iso-2022-jp-3 and shift_jis.
(mm-coding-system-priorities): Use shift_jis and iso-8859-1
instead of japanese-shift-jis and iso-latin-1 respectively in
order to share the default value with both Emacs and XEmacs-mule.
(mm-mule-charset-to-mime-charset): Make
mm-coding-system-priorities effective.
(mm-sort-coding-systems-predicate): Canonicalize coding-systems
while predicating of candidates upon the priorities.
--8<---------------cut here---------------end--------------->8---
> What do I have to do get this included in the standard Gnus?
Please write to the Gnus mailing list (ding@gnus.org) which is also
available as a newsgroup (nntp://news.gmane.org/gmane.emacs.gnus.general).
Could you please check if (or which parts of) your patch are needed in
a current Gnus CVS version (trunk or stable branch (v5-10) won't make
much difference, I think).
If the remaining addition to `mm-find-mime-charset-region' is quite
long (as your current patch) I think this part should be separated
into a new helper function so that `mm-find-mime-charset-region'
remains readable.
If your patch is more than a "tiny change" (approximately 15 line of
new code, IIRC), we need a copyright assignment.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/