https://bugzilla.novell.com/show_bug.cgi?id=418055
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418055#c13
--- Comment #13 from Mike Fabian 2008-08-20 06:49:30 MDT ---
I’ve fixed it now with the following change to
/usr/share/xemacs/site-packages/lisp/site-start.el:
--- site-start.el (revision 134)
+++ site-start.el (working copy)
@@ -285,15 +285,12 @@
;; coding-system for XIM, it is just autodetected which
;; will work correctly only when the coding-system priorities
;; are OK.)
- (if (not (string-match "utf-8" tmp))
+ (if (coding-system-category (intern tmp))
+ ;; if coding-system-category is nil the coding-system is
+ ;; no-conversion or undecided and prefer-coding system would
+ ;; fail.
(progn (prefer-coding-system (intern tmp))
- (if (fboundp 'latin-unity-install) (latin-unity-install)))
- ;; it's strange, but (prefer-coding-system 'utf-8) doesn't
- ;; work in XEmacs.
- ;; use 'set-coding-priority-list instead, which achieves
- ;; the same and works for 'utf-8 as well:
- (set-coding-priority-list (list (intern tmp)))
- (set-coding-category-system (intern tmp) (intern tmp)))
+ (if (fboundp 'latin-unity-install) (latin-unity-install))))
(if (emacs-version>= 21 5 6)
;; XEmacs 21.5 apparently renamed this function:
(set-default-output-coding-systems (intern tmp))
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.