[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: buttons in forms don't work anymore for XEmacs



Katsumi Yamaoka <yamaoka@xxxxxxx> さんは書きました:


[...]

> I guess I used the old mm-util.el mistakenly.  It doesn't use
> the `unicode-precedence-list' function that adds the utf-8
> charset set containing `jit-ucs-charset-0'.  But now it's been
> solved:

[...]

> However, I wonder why your Gnus v5.10.6 encodes it correctly.
> Because the date that I added `unicode-precedence-list' to
> `mm-mime-mule-charset-alist' was 2006-06-06 and it should be
> neither in Gnus v5.10.6 nor the Gnus XEmacs package. ;-)

I have a local installation of Gnus in my home directory with
a small patch:

Index: mm-util.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-util.el,v
retrieving revision 6.53
diff -u -r6.53 mm-util.el
--- mm-util.el	6 Jan 2003 04:31:23 -0000	6.53
+++ mm-util.el	31 Jan 2003 21:35:17 -0000
@@ -541,7 +541,9 @@
     (if (and (memq 'iso-2022-jp-2 charsets)
 	     (memq 'iso-2022-jp-2 hack-charsets))
 	(setq charsets (delq 'iso-2022-jp charsets)))
-    charsets))
+    (if (> (length charsets) 1)
+	'(utf-8) 
+      charsets)))
 
 (defmacro mm-with-unibyte-buffer (&rest forms)
   "Create a temporary buffer, and evaluate FORMS there like `progn'.

I added the same patch to the Gnus XEmacs package in openSUSE.

I should probably update to a more recent version of Gnus soon.

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode