From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24092 Path: main.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Mule Emacs 20.3 w/enable-multibyte-characters set to nil Date: Fri, 09 Jul 1999 19:57:45 GMT Organization: Carnegie Mellon University : KANTOO Project Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035161720 6873 80.91.224.250 (21 Oct 2002 00:55:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:55:20 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA27138 for ; Fri, 9 Jul 1999 15:58:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB23258; Fri, 9 Jul 1999 14:58:44 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Jul 1999 14:59:35 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA16379 for ; Fri, 9 Jul 1999 14:58:55 -0500 (CDT) Original-Received: from sunsite.auc.dk (sunsite.auc.dk [130.225.51.30]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id PAA27104 for ; Fri, 9 Jul 1999 15:57:47 -0400 (EDT) Original-Received: (qmail 7962 invoked by uid 509); 9 Jul 1999 19:57:46 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding Mail-Copies-To: never Original-Lines: 31 User-Agent: Gnus/5.070093 (Pterodactyl Gnus v0.93) Emacs/20.3.10 Original-NNTP-Posting-Host: 128.2.110.42 Original-X-Complaints-To: news@sunsite.auc.dk Original-X-Trace: sunsite.auc.dk 931550265 128.2.110.42 (Fri, 09 Jul 1999 21:57:45 MET DST) Original-NNTP-Posting-Date: Fri, 09 Jul 1999 21:57:45 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24092 Lars Magne Ingebrigtsen writes: > Bill White writes: > > > lmi> (insert (prin1-to-string "høa")) > > lmi> => "h\370a" > > > > I get exactly that with "GNU Emacs 20.3.11.1 (i586-pc-linux-gnu, X > > toolkit)" in *scratch* after M-x toggle-enable-multibyte-characters. > > Darn. Then I guess it's supposed to be that way. Er... Are there no > Emacs-MULE people on this mailing list? This is normal. Here is the situation: "høa" has a internal multibyte representation of "\201\370". When inserting in the unibyte buffer, it correctly uses \370 instead of \201\370 to represent the character `ø'. However, the display-table is still set to display `\370' instead of `ø'. In order to set up the display table properly, you will need to do something similar to what `standard-display-european-internal' does. Depending on your situation, you may want to do it to the buffer's display-table rather than the standard-display-table. -- Michael Duggan (md5i@cs.cmu.edu)