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: Is it possible to use new Emacsen with non-ASCII? Date: Fri, 16 May 2008 11:55:48 +0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1210928367 22603 80.91.229.12 (16 May 2008 08:59:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 08:59:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 11:00:03 2008 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 1JwvnE-0008Lp-6z for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 11:00:00 +0200 Original-Received: from localhost ([127.0.0.1]:57391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwvmU-0003wF-Mf for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 04:59:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwvkB-0003aN-FZ for help-gnu-emacs@gnu.org; Fri, 16 May 2008 04:56:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwvk8-0003Zq-54 for help-gnu-emacs@gnu.org; Fri, 16 May 2008 04:56:49 -0400 Original-Received: from [199.232.76.173] (port=46986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwvk5-0003Ze-7L for help-gnu-emacs@gnu.org; Fri, 16 May 2008 04:56:45 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:60868) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jwvk4-0000JA-Lg for help-gnu-emacs@gnu.org; Fri, 16 May 2008 04:56:44 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K0Y000TUETAZGD6@i_mtaout5.012.net.il> for help-gnu-emacs@gnu.org; Fri, 16 May 2008 12:10:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:54038 Archived-At: > From: Ilya Zakharevich > Date: Fri, 16 May 2008 07:28:04 +0000 (UTC) > Bcc: ilya@gnu.org > Originator: ilya@powdermilk.math.berkeley.edu > > > You need to decide whether you want Emacs or cat. Emacs is not cat, > > and cannot be convinced to work like cat. > > Well, with --unibyte it does act as cat. No, it does not. What it does is jumping through the hoops to try very hard to make you _think_ it does. There's no way to force the current versions of Emacs not to transform the bytestream it read from a file on their way to the display. And since --unibyte is a bastard option as far as Emacs developers are concerned, it gets almost no attention in testing and maintenance, and therefore tends to be buggy. I recommend to stay away of it. > > Let Emacs work like it was designed to: decode characters when you > > visit a file and encode them back when it displays them on the screen. > > Try it, it really works. > > Thanks. I did. It did not. Well, let's hear what you did to customize Emacs, and what problems you saw. But again, to give you efficient advice, I need to know what scripts can your display and keyboard support. For example, I assume that you are using a text-mode terminal that can display Cyrillic letters if it receives them KOI8-R encoded -- is that right? What about the keyboard -- how do you type Cyrillic characters, and what 8-bit codes does your keyboard setup produce? are they also KOI8-R encoded?