From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Loading souce Elisp faster Date: Mon, 25 Feb 2013 07:36:07 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361808196 25802 80.91.229.3 (25 Feb 2013 16:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 16:03:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Stefan Monnier'" , "'Richard Stallman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 17:03:39 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 1UA0Wb-0005Uo-Ng for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 17:03:33 +0100 Original-Received: from localhost ([::1]:57249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA0WG-00066w-Hd for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 11:03:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA0WD-00065P-0Y for emacs-devel@gnu.org; Mon, 25 Feb 2013 11:03:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA06G-0004Yt-KX for emacs-devel@gnu.org; Mon, 25 Feb 2013 10:36:30 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:42538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA06G-0004Yd-Br; Mon, 25 Feb 2013 10:36:20 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1PFaIUh007478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Feb 2013 15:36:19 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1PFaI1X004102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Feb 2013 15:36:18 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1PFaITp016871; Mon, 25 Feb 2013 09:36:18 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 Feb 2013 07:36:17 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac4Ta3g8YjySuxT5S7Kw8f82GkzogQAAUhcg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:157324 Archived-At: > I think the breakage would be reasonably limited, so I'd be > willing to take this risk, _You_ would not be taking any risk for third-party code that needs to work with multiple Emacs versions. You would be making others jump through hoops. They would likely need to split a file that now works across versions into two files, one that works only prior to your gratuitous change and the other that works only after it. That kind of condional test is something that we should do in software: (if X Y Z). We should not be making programmers duplicate and modify files to accommodate encoding/version differences. > but I'd rather avoid having to go > to the end of the file looking for a coding: cookie. Do whatever you need to do to find the cookie. Demand that the cookie be in the first line, if you want. No big deal. But please do use a cookie (some kind of explicit declaration that is tolerated by older Emacs versions). Please do not make things hard for 3rd-party code that works cross-version.