|
From: | Stefan Monnier |
Subject: | Re: [PATCH] Unicode Lisp reader escapes |
Date: | Sun, 14 May 2006 20:55:50 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> Handa says that telling people "don't use utf-8" solves the problem. > Additionally to "don't use unify-8859-on-decoding" which causes > similar problems (which we already bumped into a few years ago when we > included unify-8859-on-decoding) with iso8859 chars and coding systems > like iso-2022. > There is a way for a Lisp file to specify a coding system which isn't > utf-8. Is there a way for a Lisp file to specify that > unify-8859-on-decoding should not be used when reading it? > If not, maybe we should make one. > Here's one idea: if the -*- line specifies `coding' and specifies > the mode `emacs-lisp' then force unify-8859-on-decoding to nil > for that file. Forcing it to nil for a particular file is maybe too much work to implement compared to th benefit. Maybe an easier solution is to add a file-local variable `no-8859-unification' such that if that file is loaded in an Emacs which is configured to use unify-8859-on-decoding it signals an error. It could then be added to files like ucs-tables.el. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |