emacs-devel
[Top][All Lists]
Advanced

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

Unify on encoding


From: Stefan Monnier
Subject: Unify on encoding
Date: Sun, 17 Mar 2002 17:28:57 -0500

Is there any objection to the patch below ?

It turns on unify-8859-on-encoding-mode by default (in loadup.el) which has
the effect of allowing a wider choice of coding-systems when saving a file.
It should not have any other effect (i.e. if you choose one of the
coding-systems which would be available even without unification-on-encoding,
the resulting output is exactly the same).

With it, you can load a latin-9 file and save it as latin-1 or utf-8.

A second request (but separate) is whether there is any objection to removing
the ability to turn off unify-8859-on-encoding-mode.


        Stefan


Index: loadup.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/loadup.el,v
retrieving revision 1.118
diff -u -u -b -r1.118 loadup.el
--- loadup.el   20 Jan 2002 15:35:09 -0000      1.118
+++ loadup.el   17 Mar 2002 22:26:04 -0000
@@ -112,6 +121,10 @@
 (load "language/misc-lang")
 (load "language/utf-8-lang")
 (load "language/georgian")
+
+(load "international/ucs-tables")
+(unify-8859-on-encoding-mode 1)
+
 (update-coding-systems-internal)
 
 (load "indent")




reply via email to

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