From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Fri, 5 May 2006 20:33:56 +0200 Message-ID: <17499.39572.251467.969570@parhasard.net> References: <17491.34779.959316.484740@parhasard.net> <87odyfnqcj.fsf-monnier+emacs@gnu.org> <17498.27200.911709.330947@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146853976 28534 80.91.229.2 (5 May 2006 18:32:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 18:32:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 05 20:32:49 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 1Fc56b-0003Te-Ue for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 20:32:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fc56b-0007Pp-Jy for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 14:32:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fc55u-0006yA-46 for emacs-devel@gnu.org; Fri, 05 May 2006 14:32:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fc55s-0006wy-7O for emacs-devel@gnu.org; Fri, 05 May 2006 14:32:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fc55r-0006wl-VJ for emacs-devel@gnu.org; Fri, 05 May 2006 14:31:59 -0400 Original-Received: from [66.111.49.30] (helo=icarus.asclepian.ie) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fc564-0002MJ-Sr for emacs-devel@gnu.org; Fri, 05 May 2006 14:32:13 -0400 Original-Received: by icarus.asclepian.ie (Postfix, from userid 1003) id EBFAE8008D; Fri, 5 May 2006 19:31:58 +0100 (IST) Original-To: Oliver Scholz In-Reply-To: X-Mailer: VM 7.17 under 21.5 (beta26) "endive" (+CVS-20060429) XEmacs Lucid X-NS5-file-as-sent: t X-Echelon-distraction: AK-47 arrangements Ft. Meade $400 million in gold bullion militia clones 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:53960 Archived-At: Ar an c=C3=BAigi=C3=BA l=C3=A1 de m=C3=AD Bealtaine, scr=C3=ADobh Oliver= Scholz>:=20 > > > What happens when a Lisp file is byte-compiled--do we want the re= sult > > > to depend on the local settings? > > [...] > > > It does currently, to the extent of local settings preventing succes= sful > > compilation. Cf. this code (on Unix): >=20 > [...] > > (insert (concat > > ";; -*- coding: utf-8 -*-\n\n" > > "(require 'cl)\n\n" > > "(defun describe-our-string ()\n" > > " (let ((our-char ?" > > (format "%c%c%c" ?\345 ?\215 ?\227) > [...] > > (utf-translate-cjk-mode 0) > [...] > > (byte-compile-file our-test-file-name) > [...] >=20 > I am afraid that is not relevant here. This just tells Emacs to not > deal with UTF-8 encoded CJK characters and then tell it to deal with > such an character. It byte compiles a file, changes a local setting, and byte-compiles the f= ile again with a different result. That is relevant to Eli=E2=80=99s question= .=20 --=20 Aidan Kehoe, http://www.parhasard.net/