From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ChangeLog and unification Date: Wed, 20 Feb 2002 08:25:45 +0200 (IST) Message-ID: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: quimby2.netfonds.no 1014186471 28873 195.204.10.66 (20 Feb 2002 06:27:51 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 20 Feb 2002 06:27:51 GMT Cc: Kai =?iso-8859-1?q?Gro=DFjohann?= , Andreas Schwab , emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16dQEJ-0007Vb-00 for ; Wed, 20 Feb 2002 07:27:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16dQDh-0006oa-00; Wed, 20 Feb 2002 01:27:13 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16dQDQ-0006nj-00 for ; Wed, 20 Feb 2002 01:26:56 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA21777; Wed, 20 Feb 2002 08:25:45 +0200 (IST) X-Sender: eliz@is Original-To: Stefan Monnier In-Reply-To: <200202181706.g1IH6ii10640@rum.cs.yale.edu> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1353 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1353 On Mon, 18 Feb 2002, Stefan Monnier wrote: > The unify-on-encode is safe and does not do unification. What will it do if you yank a string with Latin-2 characters and then save the buffer? Assuming that buffer-file-coding-system is iso-2022-7bit, will it save those Latin-2 characters as Latin-2 or as Latin-1? Also, what if I type characters with a latin-2 input method, or with keyboard-coding-system set to latin-2--will the characters be saved as Latin-2 or Latin-1? > All it does is to allow saving latin-1 chars into a latin-2 file (as long > as the latin-1 chars also exist in latin-2, of course). In a file encoded with one of the iso8859-x encodings, this is indeed a no-op. The plot might thicken when you use iso-2022-derived encodings, which tag characters with their charset id. (I say ``might'' because I really don't know what happens: I didn't yet have time to give unify-on-* modes a serious test ride.) > I really think unify-on-encode should be turned ON by default > because I still haven't heard of any reasonable scenario where it can > do anything undesirable. You may be right, but the bitter experience with Mule-related issues teaches me that we should be extra-cautious with turning features on by default. > Actually, I can't even think of any reason > why we should try to make it possible to turn it off. That is almost certainly a bad idea: it should be possible to turn off _any_ feature, certainly a Mule-related one. Someone, some day, will want that. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel