From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Sun, 24 Feb 2013 21:53:04 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361760789 30920 80.91.229.3 (25 Feb 2013 02:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 02:53:09 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 03:53:32 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 1U9oC2-0004qU-OL for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 03:53:30 +0100 Original-Received: from localhost ([::1]:43565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9oBi-0002WL-2T for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2013 21:53:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9oBe-0002WB-Lz for emacs-devel@gnu.org; Sun, 24 Feb 2013 21:53:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9oBd-0000va-Jz for emacs-devel@gnu.org; Sun, 24 Feb 2013 21:53:06 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9oBd-0000vS-Fl for emacs-devel@gnu.org; Sun, 24 Feb 2013 21:53:05 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+KLv/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSQuh3AGwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFHO+KLv/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSQuh3AGwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="2254394" Original-Received: from 206-248-162-239.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([206.248.162.239]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 Feb 2013 21:53:03 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 0F842AE2C6; Sun, 24 Feb 2013 21:53:04 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Mon, 25 Feb 2013 02:53:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:157301 Archived-At: >> So basically, all we need to do is to be able to easily recognize "Elisp >> source in utf-8 encoding". One way to do that would be to use >> a BOM-like marker, e.g. start utf-8 Elisp files with "\ufeff" either at >> the very beginning of the file or right after a semi-colon (for better >> backward compatibility). > Why not the normal comment about utf-8? The "normal comment" can also be at the end of the file, which is not an option. But yes, the "-*- coding: utf-8 -*-" is another option (although properly supporting it is kind of a pain, and I'd like to find a more discrete solution for the "99% utf-8 future"). Stefan