From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Mon, 25 Feb 2013 17:52:50 +0200 Message-ID: <8338wkjsq5.fsf@gnu.org> References: <877glwtt5i.fsf@gnu.org> <20130225215038.ab62ebb7b21a755178fb2848@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361807598 20100 80.91.229.3 (25 Feb 2013 15:53:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 15:53:18 +0000 (UTC) Cc: handa@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Xue Fuqiao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 16:53:40 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UA0Mx-0005hc-I5 for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 16:53:35 +0100 Original-Received: from localhost ([::1]:50278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA0Ma-0001ex-CO for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 10:53:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA0MT-0001bI-Co for emacs-devel@gnu.org; Mon, 25 Feb 2013 10:53:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA0MN-0001Lu-S3 for emacs-devel@gnu.org; Mon, 25 Feb 2013 10:53:05 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:34228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA0MN-0001KN-Jd; Mon, 25 Feb 2013 10:52:59 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MIS007009DYDS00@a-mtaout22.012.net.il>; Mon, 25 Feb 2013 17:52:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIS006UF9G9XXB0@a-mtaout22.012.net.il>; Mon, 25 Feb 2013 17:52:57 +0200 (IST) In-reply-to: <20130225215038.ab62ebb7b21a755178fb2848@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157323 Archived-At: > Date: Mon, 25 Feb 2013 21:50:38 +0800 > From: Xue Fuqiao > Cc: Stefan Monnier , emacs-devel@gnu.org > > > We can have "coding: utf-8;" tag at the first line. Isn't it > > enough? > > Yes, we can. But most Elisp source files have already been in utf-8 encoding. > > In (info "(elisp) Coding Conventions"): > > If your program contains non-ASCII characters in string or > character constants, you should make sure Emacs always decodes > these characters the same way, regardless of the user's settings. > The easiest way to do this is to use the coding system > `utf-8-emacs' (*note Coding System Basics::), and specify that > coding in the `-*-' line or the local variables list. utf-8-emacs and utf-8 are not the same encoding. The former is a variant used by Emacs internally, it won't be 100% recognizable by any program except Emacs.