Re: [lawrence mitchell] Re: [PATCH] erc: make erc-generate-log-file-name-long and erc-log-file-coding-system xemacs-compatible

"Stephen J. Turnbull" <[email protected]>
Newsgroups gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
Sorry about the repost ("fat fingers on C-c").

    APA> what is the right way to specify a catch-all coding system in
    APA> Mule and non-Mule XEmacs, supporting XEmacs 21.1 and later?

What do you mean by a "catch-all coding system"?

    >> How about something like:

    >> (if (featurep 'mule)
    >>     'emacs-mule ; or some other catchall
    >>   'buffer-file-coding-system)

This is definitely wrong.  'emacs-mule doesn't exist in XEmacs (this
is the internal coding used by Mule, and only a very few other
applications support it), and coding systems don't exist at all in
non-file-coding XEmacs.  That means almost all non-mule installations
on Unix.  I would guess that any place where coding systems are used
will have to be rewritten to test for (featurep 'mule) instead of
trying to use a generic coding system.

If you don't like that, I'd say just require file-coding.  Let's ask
Vin how he feels about it, maybe we should think about moving to
defaulting to file-coding in 21.4.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not 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.