escape-quoted problem in byte-compiled files

"Stephen J. Turnbull" <[email protected]>
Newsgroups gmane.xemacs.mule
Organization The XEmacs Project
Message-ID <[email protected]>
If you

(1) create a private 96-charset
(2) create a library which uses that charset in Lisp code (eg, in a
    string)
(3) byte-compile the library

then it seems the resulting file cannot be loaded by XEmacs.  The
error you get is "Symbol's value as variable is void: -A".

The problem seems to be that the escape-quoted coding system doesn't
grok the ESC - b ("designate Latin-9 to G1") sequence, leaving it
verbatim in the file, and then assumes that the ESC - A ("designate
Latin-1 to G1") sequence is equally bogus.

The problem does not occur if you ensure that relevant charset is
defined before you load the offending file.

;;;###autoload
(unless (find-charset 'latin-iso8859-15) (make-charset ...))

seems to work for me.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
              Don't ask how you can "do" free software business;
              ask what your business can "do for" free software.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.