FKtPp writes:
well, the problem is coding-system-p in XEmacs always return nil
when
invoked using the form of:
(coding-system-p 'us-ascii)
(coding-system-p 'cn-gb-2312)
That's correct; those are symbols. If you have a symbol naming a
coding system, you have to get the corresponding coding system first
using (get-coding-system name). But you won't get anywhere with
us-ascii, because it isn't a coding system. For ASCII use the coding
system `iso-8859-1'.
But why do you need to check whether something is a coding system or
not? Application code shouldn't be doing that.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta