From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Customizing coding priority Date: Thu, 18 Jan 2007 06:20:57 +0200 Message-ID: References: <17837.26945.133317.830421@kamaloka.dhatu> <17837.55152.906774.97483@relwi-sven.unibe.ch> <17838.42714.915656.255057@relwi-sven.unibe.ch> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1169094085 4331 80.91.229.12 (18 Jan 2007 04:21:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2007 04:21:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 18 05:21:23 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H7Om1-0001gS-Co for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jan 2007 05:21:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7Om1-00024u-Ul for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 23:21:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7Olo-00024M-W7 for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 23:21:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7Olo-000248-Dw for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 23:21:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7Olo-000245-Bj for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 23:21:00 -0500 Original-Received: from [213.8.233.24] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7Olo-0003Vw-0v for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 23:21:00 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-115-3.inter.net.il [84.229.115.3]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GWO53868 (AUTH halo1); Thu, 18 Jan 2007 06:20:59 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <17838.42714.915656.255057@relwi-sven.unibe.ch> (message from Sven Bretfeld on Wed, 17 Jan 2007 23:44:42 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40407 Archived-At: > From: Sven Bretfeld > Date: Wed, 17 Jan 2007 23:44:42 +0100 > Cc: help-gnu-emacs@gnu.org > > > > How did you insert those umlauts, exactly? And what does Emacs > > display if you go to one of those characters and type "C-u C-x ="? > > I've already tried this today. It's quite interesting. The umlauts in > the quotations are displayed in a font different from the rest > (somewhat smaller and bolder). These are said to be part of the > iso-8859-15 charset when I type C-u C-x = (just as expected). All > other characters are plain ascii (ASCII (ISO646 IRV)). It is different > outside of quotations. When I add my own text after a quotation all > umlauts I type belong to latin-iso8859-1. You didn't answer my first question: how these umlauts were produced. Did you copy them from another text, perhaps? And how is the way you produced those umlauts differs from the way you type the latin-iso8859-1 characters after the quotation? Anyway, this mixing of latin-iso8859-1 and iso-8859-15 _is_, most probably, your problem. Assuming you use Emacs 21.x (is that right?), Emacs is trying to do what it cannot do in v21.x: encode 8859-1 and 8859-15 characters in the same message. That is why you get iso-2022-jp encoding. > To my understanding this means that Emacs is unable to translate > umlauts belonging to iso-8859-15 to the default charset I use for > umlauts when writing replies, i.e. iso-8859-1. In v21.x, it cannot. > Therefore the umlauts > in quotations are kept untranslated in the coding system of the > original sender, i.e. iso-8859-15. This mixture of iso-8859-15 in > quotations and iso-8859-1 in the text typed by myself seems to disturb > Emacs so that it encodes the entire umlauts of my reply as iso-2022-jp > when sending it. Correct. > I concluded that I have to avoid iso-8859-1 completely in replies and > use umlauts belonging to iso-8859-15 also for my own part of the > text. But this doesn't work for some reason. I've tried to change the > coding system and the input method of the reply buffer manually to > iso-8859-15 (using C-x f RET and C-x RET C-\) but the umlauts I type > always come as iso-8859-1. C-x RET f does not affect the characters you type. You should try to set an input method (with C-u C-\) that produces iso-8859-15 characters, if there is such an input method in Emacs 21.x.