unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Unify on encoding
@ 2002-03-17 22:28 Stefan Monnier
  2002-03-18  6:29 ` Eli Zaretskii
  2002-03-18 20:06 ` Richard Stallman
  0 siblings, 2 replies; 12+ messages in thread
From: Stefan Monnier @ 2002-03-17 22:28 UTC (permalink / raw)



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")


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Unify on encoding
@ 2002-03-20  2:49 Kenichi Handa
  0 siblings, 0 replies; 12+ messages in thread
From: Kenichi Handa @ 2002-03-20  2:49 UTC (permalink / raw)
  Cc: monnier+gnu/emacs, emacs-devel

Eli Zaretskii <eliz@is.elta.co.il> writes:
> On Sun, 17 Mar 2002, Stefan Monnier wrote:

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

> FWIW, I object in principle to removing user options, especially for 
> brand-new features we never tested in a public release.  I think we 
> should revisit this specific issue after Emacs 21.3 is released and
> used for a while, based on user reports.

I agree on turning on unify-8859-on-encoding-mode by default.

As for removing the ability of turning off
unify-8859-on-encoding-mode, I'm not sure.

If we remove it, that means all Emacs codes can assume
unify-8859-on-encoding-mode unconditionally.  If that
decreases some cost of maintaining some code, I agree with
removing it.

If keeping it just means that keeping a few variables and
functions, we don't have to remove it now.  We can remove it
after confirming that there's no case that
unify-8859-on-encoding-mode does something bad through the
pretest period of 21.3.

---
Ken'ichi HANDA
handa@etl.go.jp


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-03-20 12:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-17 22:28 Unify on encoding Stefan Monnier
2002-03-18  6:29 ` Eli Zaretskii
2002-03-18 14:33   ` Stefan Monnier
2002-03-18 16:10     ` Eli Zaretskii
2002-03-19  8:44       ` Richard Stallman
2002-03-19 11:17         ` Eli Zaretskii
2002-03-19 19:19           ` Jason Rumney
2002-03-19 21:12             ` Stefan Monnier
2002-03-20  5:56             ` Eli Zaretskii
2002-03-20 12:23               ` Stefan Monnier
2002-03-18 20:06 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-03-20  2:49 Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).