From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Newsgroups: gmane.emacs.devel Subject: Re: Vietnamese update [Re: Your papers came] Date: Sun, 28 Apr 2002 16:59:31 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204241755.g3OHtGd03364@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1020006017 6623 127.0.0.1 (28 Apr 2002 15:00:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2002 15:00:17 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171q9w-0001ii-00 for ; Sun, 28 Apr 2002 17:00:16 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 171qDb-0001OY-00 for ; Sun, 28 Apr 2002 17:04:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171q9y-0004Zd-00; Sun, 28 Apr 2002 11:00:18 -0400 Original-Received: from p0097.as-l043.contactel.cz ([194.108.242.97] helo=SnowWhite.SuSE.cz) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171q70-0004O9-00 for ; Sun, 28 Apr 2002 10:57:14 -0400 Original-Received: by SnowWhite.SuSE.cz (PJ, from userid 500) id 5EE8A183C5; Sun, 28 Apr 2002 16:59:37 +0200 (CEST) Original-To: "Triet H. Lai" X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z In-Reply-To: ("Triet H. Lai"'s message of "Mon, 29 Apr 2002 00:42:30 +1000") User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i386-suse-linux-gnu) Original-Lines: 47 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3348 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3348 From: "Triet H. Lai" Date: Mon, 29 Apr 2002 00:42:30 +1000 > I cannot build the source from CVS, the error was: > ,---- > | gcc -c -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 -DEMACS_BITM= AP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/mnt/hda11/tmp/emacs/lwlib = -I/mnt/hda11/tmp/emacs/lwlib/../src xlwmenu.c > | In file included from /usr/X11R6/include/X11/Xos.h:284, > | from xlwmenu.c:38: > | /usr/X11R6/include/X11/Xarch.h:48: sys/byteorder.h: No such file or = directory > | make[2]: *** [xlwmenu.o] Error 1 > | make[2]: Leaving directory `/mnt/hda11/tmp/emacs/lwlib' > | make[1]: *** [really-lwlib] Error 2 > | make[1]: Leaving directory `/mnt/hda11/tmp/emacs/src' > | make: *** [bootstrap-src] Error 2 > `---- > Just in case, I'm running GNU/Linux-2.4.18-rc4, XFree-4.2.0. Hmm, byteorder.h is part of glibc. On my system it is in glibc-devel package. > Though, I successfully built Emacs-21.2 with vntelex.el (copied from > CVS) and can type "Vietnamese" characters with telex input method. > However, Emacs pop ups the following message when saving the buffer to > file: > ,---- > | These default coding systems were tried: > | vietnamese-viscii-unix > | However, none of them safely encodes the target text. > | ... > `---- > and it prompts for utf-16-le-unix as the default coding system. >=20 > I don't really understand how MULE works, but I guess Werner would use > a wrong charset (It seems ISO-8859-? rather than > vietnamese-lower/upper--these character sets share many accent > characters) for translation characters in `quail-define-rules'. I > re-edited the table and the problem has gone. Below is the changes. This is something for Werner, I think. --=20 Pavel Jan=EDk It's entirely untested, but it looks good and compiles. Ship it! -- Linus Torvalds in linux-kernel