From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emmanuel Bigler Newsgroups: gmane.emacs.bugs Subject: bug#7962: 23.2; capitalize letters ISO-8859-1 with diacritic signs in emacs 23.2.1 Date: Fri, 04 Feb 2011 09:00:29 +0100 Message-ID: <4D4BB21D.6050504@ens2m.fr> References: <4D493388.2070801@ens2m.fr> <4D4AAEE7.9040509@ens2m.fr> <4D4AF8B2.6090108@ens2m.fr> <83oc6sbyum.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296809863 10381 80.91.229.12 (4 Feb 2011 08:57:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2011 08:57:43 +0000 (UTC) To: Eli Zaretskii , lennart.borgman@gmail.com, monnier@iro.umontreal.ca, 7962@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 04 09:57:35 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 1PlHTz-0004bH-7H for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Feb 2011 09:57:35 +0100 Original-Received: from localhost ([127.0.0.1]:43775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlH3o-0005Cc-M5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Feb 2011 03:30:32 -0500 Original-Received: from [140.186.70.92] (port=49696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlGfu-0004AN-I6 for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 03:05:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlGft-0001tI-Ip for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 03:05:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlGft-0001tE-GM for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 03:05:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PlGTV-000471-Qf; Fri, 04 Feb 2011 02:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Emmanuel Bigler 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 07:53: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.129680593115744 (code B ref 7962); Fri, 04 Feb 2011 07:53:01 +0000 Original-Received: (at 7962) by debbugs.gnu.org; 4 Feb 2011 07:52:11 +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 1PlGSh-00045s-68 for submit@debbugs.gnu.org; Fri, 04 Feb 2011 02:52:11 -0500 Original-Received: from mercure.ens2m.fr ([194.167.45.241]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlGSd-00045f-LI for 7962@debbugs.gnu.org; Fri, 04 Feb 2011 02:52:09 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mercure.ens2m.fr (Postfix) with ESMTP id 927AC7B909; Fri, 4 Feb 2011 09:00:37 +0100 (CET) Original-Received: from mercure.ens2m.fr ([127.0.0.1]) by localhost (mercure.ens2m.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21565-08; Fri, 4 Feb 2011 09:00:36 +0100 (CET) Original-Received: from ebigler.femto-dtf.ens2m.fr (unknown [172.16.120.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mercure.ens2m.fr (Postfix) with ESMTP id 831617B8EA; Fri, 4 Feb 2011 09:00:35 +0100 (CET) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 In-Reply-To: <83oc6sbyum.fsf@gnu.org> X-Virus-Scanned: by amavisd-new at ens2m.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 04 Feb 2011 02:53: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:43909 Archived-At: Le 03/02/2011 22:19, Eli Zaretskii a =E9crit : >> Date: Thu, 03 Feb 2011 19:49:22 +0100 >> From: Emmanuel Bigler >> Cc: >> >> However I am reluctant to switch to UTF-8 for all my texts in English, >> German, French, even Icelandic etc... i.e. Western European languages, >> the only ones I'll ever typeset, which are perfectly handled in >> unibyte iso-8859-1. > > You seem to assume that going multibyte requires that your files be > encoded in UTF-8. That simply isn't true. The files can continue be > encoded in ISO-8859-1 or ISO-8859-15; Emacs will decode them into its > internal representation when you visit the file and encode it back > when you save it. You lose nothing. > OK Eli. I'm trying to understand and this is a bit tricky. Now I'm entering into **very** strange things ; I hope somebody can=20 explain what's going on. This is emacs 23.2.93.1 1/ in an emacs buffer I load a test-file created years ago with a=20 program, a list of unibyte characters that I display as iso-8859-1. All=20 characters are displayed properly. 2/ I (toggle-enable-multibyte-characters nil) : unibyte characters=20 already present in the files do not change and are displayed correctly. I type a fresh sequence of letters with diacritic signs at the end of=20 the buffer : OK. I toggle back to unibyte : freshly entered letters=20 appear as 2-byte sequences. OK 3/ now I cut-paste a line of the old unibyte file and enter a fresh=20 letter with diacritic sign in thye middel of this line ; I'm still in=20 2-byte codeing/display : the letter entered in the middle of unibytes=20 seems to stay unibyte !! Is this a bug, a feature, or misconceptions / misunderstandings on my=20 side ?? ------------ From Sven : > IMO offering to convert them to UTF-8 would be more helpful. The > legacy encodings ought to die some day. Exactly like legacy software should die some day ; (ahem) : who said :=20 "exacty like emacs, an old and obsolete software, that I've been using=20 for 25 years..." ;-);-) -- Emmanuel