From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: new Emacs HELLO file?? Date: Tue, 08 Sep 2009 11:53:46 +0900 Message-ID: <87ab16no3p.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87fxbb7hp1.fsf%kawabata.taichi@gmail.com> <87hbvrk2df.fsf@mail.jurta.org> <87tyzr5pq4.fsf%kawabata.taichi@gmail.com> <87fxba1e92.fsf@mail.jurta.org> <87ab1if6dj.fsf%kawabata.taichi@gmail.com> <874orp82se.fsf@mail.jurta.org> <87pracvwz9.fsf@stupidchicken.com> <878wgqwaz5.fsf%kawabata.taichi@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252378000 5043 80.91.229.12 (8 Sep 2009 02:46:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 02:46:40 +0000 (UTC) Cc: Juri Linkov , Chong Yidong , Andreas Schwab , emacs-devel@gnu.org To: kawabata.taichi@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 04:46:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mkqj2-0001ld-KT for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 04:46:32 +0200 Original-Received: from localhost ([127.0.0.1]:56895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkqj1-0003Fq-Pv for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2009 22:46:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkqiw-0003DX-Cz for emacs-devel@gnu.org; Mon, 07 Sep 2009 22:46:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkqiq-00037q-2W for emacs-devel@gnu.org; Mon, 07 Sep 2009 22:46:25 -0400 Original-Received: from [199.232.76.173] (port=53961 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkqip-00037i-Vu for emacs-devel@gnu.org; Mon, 07 Sep 2009 22:46:20 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:54140) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mkqip-0000lC-Ce for emacs-devel@gnu.org; Mon, 07 Sep 2009 22:46:19 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 0FAC38210; Tue, 8 Sep 2009 11:46:18 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id AC20D1A260E; Tue, 8 Sep 2009 11:53:46 +0900 (JST) In-Reply-To: <878wgqwaz5.fsf%kawabata.taichi@gmail.com> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 891381effa11+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:115110 Archived-At: kawabata.taichi@gmail.com writes: > `iso-2022-7bit' has been adopted for HELLO file, as it could contain CJK > variants differently, but if we are to go into depth of various scripts > and symbols that ISO-2022 does not support, we could only use UTF. ISO 2022 supports Unicode via the "incompatible encodings" control sequence (I forget the exact name and escape sequence). I don't know if Emacs's iso-2022-* coding systems support it, but it's not hard to add in the unlikely case that you don't have it already. IMO, a better way to do this would be to change the HELLO file to be a Lisp library, and encode it in UTF-8. The table of greetings can simply be wrapped into a string, and add a table of "languages we have preferred fonts for" in Lisp.