Yoshiki Hayashi <g740685(a)komaba.ecc.u-tokyo.ac.jp> writes:
When you change this line to
(unless window-system (set-terminal-coding-system 'euc-jp))
the error message will go away.
Then this is a bug in XEmacs. Although set-terminal-coding-system is
very broken by concept under XEmacs (who says the coding system is the
same on all TTY devices), it should never ever be needed to use the
window-system variable under XEmacs.
Jan
P.S. Does this patch help
Index: coding.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/lisp/coding.el,v
retrieving revision 1.2
diff -u -r1.2 coding.el
--- coding.el 1998/02/28 21:34:56 1.2
+++ coding.el 1999/05/21 16:22:06
@@ -115,7 +115,9 @@
(interactive "zterminal-coding-system: ")
(get-coding-system coding-system) ; correctness check
(setq terminal-coding-system coding-system)
- (set-console-tty-coding-system (device-console) terminal-coding-system)
+ ; ### should this affect all current tty consoles ?
+ (if (eq (device-type) 'tty)
+ (set-console-tty-coding-system (device-console) terminal-coding-system))
(redraw-modeline t))
(defun set-pathname-coding-system (coding-system)