From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Russian letters Date: Fri, 7 Jul 2006 22:59:40 +0300 Message-ID: <200607072259.40276.pogonyshev@gmx.net> References: <200607052110.21816.pogonyshev@gmx.net> <200607070048.15559.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152302098 9587 80.91.229.2 (7 Jul 2006 19:54:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 19:54:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 21:54:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FywPb-0006AC-Sk for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 21:54:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FywPb-0007mS-Fm for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 15:54:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FywP4-0007dF-L6 for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:54:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FywP4-0007ct-32 for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:54:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FywP3-0007cn-UO for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:54:17 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FywPX-0000nX-EA for emacs-devel@gnu.org; Fri, 07 Jul 2006 15:54:47 -0400 Original-Received: (qmail invoked by alias); 07 Jul 2006 19:54:14 -0000 Original-Received: from dialup.194.158.192.60.belpak.by (EHLO dialup.194.158.192.60.belpak.by) [194.158.192.60] by mail.gmx.net (mp035) with SMTP; 07 Jul 2006 21:54:14 +0200 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org, Eli Zaretskii User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56743 Archived-At: Eli Zaretskii wrote: > > From: Paul Pogonyshev > > Date: Fri, 7 Jul 2006 00:48:15 +0300 > > > > $ emacs -Q > > M-x customize-variable RET utf-fragment-on-decoding RET > > [set to t, set for current session] > > C-x C-f test.text RET > > > > Now, the characters from the file are decoded into `cyrillic-iso8859-5', > > while new, typed characters are in `mule-unicode-0100-24ff'. > > This is exactly what is expected. Here's the doc string of > utf-fragment-on-decoding: > > utf-fragment-on-decoding's value is nil > > Whether or not to decode some chars in UTF-8/16 text into iso8859 charsets. > [...] Why not do the same to the typed characters? Current behavior is inconsistent---some characters are decoded (into iso-8859 charsets), some are not. > The reason why the default value is nil is precisely that most users > will not want the fragmentation, they will want the characters to > belong to a single character set. I understand you, but actually, most users do not bother. Emacs should work `out of the box' and display the characters. Apparently, it can show Cyrillic letters, but won't show them, uh? Why doesn't Emacs try to decode characters on displaying? This can be done only once just to check if the decoded characters can be shown normally, not as boxes. > Did you set this variable to a non-nil value in your .emacs? If so, > how about removing that customization? If the reason is that you > don't have Unicode fonts installed, I think installing them is a > better solution. I use Debian Sarge which is only 1 year old. And Emacs doesn't work with its standard font and Cyrillic letters as is. (Well, I didn't try the standard package, but CVS `emacs -Q' shows boxes.) I had enough persistence to find the reason (here, thank you), but most users won't. Especially since Emacs cannot even list font families (at least I don't know how.) Paul