[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Unicode Lisp reader escapes

From: Richard Stallman
Subject: Re: [PATCH] Unicode Lisp reader escapes
Date: Sat, 20 May 2006 20:57:25 -0400

    (1) use emacs-mule coding system

    (2) use one of iso-2022 based coding systems (they include
    iso-8859-X) with setting enable-character-translation to nil
    in "Local Variables" section.

    (1) works now.  (2) doens't work now but easy to make it
    work as I wrote in the previous mail.

People have pointed out disadvantages of (1).

Maybe (2) is a good solution.  Iwant to check, though.  It would turn
off *all* character translation.  We need to verify that this is ok.

Supposing that unify-8859-on-decoding-mode is off, and you read a file
in an iso-2022 coding system.  What character translation is done, or
might be done, and in what cases?

In this code,

    (defun ucs-fragment-8859 (for-encode for-decode)
      "Undo the unification done by `ucs-unify-8859'.
    With prefix arg, undo unification on encoding only, i.e. don't undo
    unification on input operations."
      (when for-decode
        ;; Don't Unify 8859 on decoding.
        ;; For non-CCL coding systems (e.g. iso-latin-2).
        (set-char-table-parent standard-translation-table-for-decode nil)

we turn off the parent of standard-translation-table-for-decode.
But what else might standard-translation-table-for-decode do
for some of these coding systems?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]