From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7962: 23.2; capitalize / ISO 8859 / UNIBYTE / utf-8 backward compatibility Date: Fri, 04 Feb 2011 10:48:56 +0200 Message-ID: <83aaicb2x3.fsf@gnu.org> References: <4D493388.2070801@ens2m.fr> <4D4AAEE7.9040509@ens2m.fr> <4D4AF8B2.6090108@ens2m.fr> <83oc6sbyum.fsf@gnu.org> <4D4BB21D.6050504@ens2m.fr> <4D4BB441.6010804@ens2m.fr> <4D4BB736.408@ens2m.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1296810530 13614 80.91.229.12 (4 Feb 2011 09:08:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2011 09:08:50 +0000 (UTC) Cc: 7962@debbugs.gnu.org To: Emmanuel Bigler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 04 10:08:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PlHem-00018b-8R for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Feb 2011 10:08:44 +0100 Original-Received: from localhost ([127.0.0.1]:43303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlHel-0003PW-CJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Feb 2011 04:08:43 -0500 Original-Received: from [140.186.70.92] (port=52665 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlHcG-000228-A1 for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 04:06:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlHbx-0004zR-Uj for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 04:06:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlHbx-0004zD-RZ for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 04:05:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PlHDx-0005AY-Qx; Fri, 04 Feb 2011 03:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Feb 2011 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7962 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7962-submit@debbugs.gnu.org id=B7962.129680883019829 (code B ref 7962); Fri, 04 Feb 2011 08:41:01 +0000 Original-Received: (at 7962) by debbugs.gnu.org; 4 Feb 2011 08:40:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlHDS-00059l-Hx for submit@debbugs.gnu.org; Fri, 04 Feb 2011 03:40:30 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlHDP-00059X-Om for 7962@debbugs.gnu.org; Fri, 04 Feb 2011 03:40:29 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LG30070045FSZ00@a-mtaout22.012.net.il> for 7962@debbugs.gnu.org; Fri, 04 Feb 2011 10:48:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.97.124]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LG3007WC4HC40C0@a-mtaout22.012.net.il>; Fri, 04 Feb 2011 10:48:49 +0200 (IST) In-reply-to: <4D4BB736.408@ens2m.fr> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 04 Feb 2011 03:41:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43911 Archived-At: > Date: Fri, 04 Feb 2011 09:22:14 +0100 > From: Emmanuel Bigler >=20 > Le 04/02/2011 09:09, Emmanuel Bigler a =E9crit : > > Now the last test is to enter fresh letters in 2-byte, capitalize= them, > > do not switch bak to unibyet display, save the file, exits emacs,= and > > see what happens when re-loaded/displayed as unibyte. >=20 >=20 > I just did this test. >=20 > After loading the old unibyte file, toggling 2-byte display on, I= =20 > entered freshly typed letters with a diacritic sign. Did not toggle= back=20 > to unibyte, and saved buffer - killed emacs. > Re-loaded emacs ; note that in my .emacs I have nothing to= =20 > force emacs to be unibyte. If there's nothing in your .emacs to force Emacs to be unibyte, then what do you mean by "loading the old unibyte file"? What exactly do you type to do that? Btw, perhaps it is better that you use "emacs -Q" for these experiments, until we figure out what's wrong with editing these file= s in multibyte mode. > However, new letters added at the end of the file in the previous= =20 > 2-byte session show as 2-byte in unibyte displayed What do you mean by "unibyte display"? How did you manage to force Emacs to display the text as unibyte? It does not do that by default= . > and were stored as 2-byte when stores under the "2-byte display" > setting. Nothing but normal, after all. No, this isn't "normal". Your procedure for using multibyte Emacs is incorrect. I will sugges= t the correct procedure once I understand how you force the buffer that visits a file be unibyte. There should be no problems with editing buffers with ISO-8859-1 text in multibyte mode.