From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Tue, 26 Feb 2013 22:47:51 +0100 Message-ID: References: <87zjyrugsq.fsf@Rainer.invalid> <87k3puvjhu.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1361915306 10041 80.91.229.3 (26 Feb 2013 21:48:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 21:48:26 +0000 (UTC) Cc: Achim Gratz , Emacs-Devel devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 22:48:47 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 1UASOF-0003Mg-C0 for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2013 22:48:47 +0100 Original-Received: from localhost ([::1]:40670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UASNu-0000L6-Ju for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2013 16:48:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UASNr-0000Kp-DW for emacs-devel@gnu.org; Tue, 26 Feb 2013 16:48:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UASNp-0002Vc-Sc for emacs-devel@gnu.org; Tue, 26 Feb 2013 16:48:23 -0500 Original-Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]:61192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UASNp-0002VP-OO for emacs-devel@gnu.org; Tue, 26 Feb 2013 16:48:21 -0500 Original-Received: by mail-ie0-f172.google.com with SMTP id c10so5034533ieb.17 for ; Tue, 26 Feb 2013 13:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=SSgdDrxT/5SG5H2J2ybX7zAZsCWlK92Dzl0p5uNAfyM=; b=VQtmYccXS6mP8u4VQitMmkQR4hmaNDmnOrU5m+6BQ7d7dBk8NVC+WoTKPHgSUSXLF9 2QFsMycJCdq7ysLZD8SKbaip3Mo2s/xEDG7SQ45nAZGucmbh7qTRi+6Di6BAHZ7egxPn 7RvMVIJ3r7ACIPM/hFB82VQpnFKdqvznX+rTmHNgmUt1UNu8Ki3eNonI3n3QJm68xdmp +eDcivfBTWS71bd1AubVV0G6Z/QOteb2RvkQwHSkNEeGa4Ezemba/Ugh5G4OpdT3qxr5 3kPXMGYZB3aYFY9vYwPxrZviCHOVv7C6HOoDa7eewqtJrXZfF8dsp7haakXGsbzz0FRH LNwg== X-Received: by 10.42.92.72 with SMTP id s8mr6904562icm.0.1361915301207; Tue, 26 Feb 2013 13:48:21 -0800 (PST) Original-Received: by 10.42.58.69 with HTTP; Tue, 26 Feb 2013 13:47:51 -0800 (PST) In-Reply-To: <87k3puvjhu.fsf@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22c 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:157408 Archived-At: On Tue, Feb 26, 2013 at 10:43 PM, Dmitry Gutov wrote: > Lennart Borgman writes: > >> On Tue, Feb 26, 2013 at 6:27 PM, Achim Gratz wrote: >>> Lennart Borgman writes: >>>> Hm. What is needed to learn old Emacsen to load .el8 files? (Just as >>>> they load .el files.) >>> >>> If they should pick up the new files before the "ordinary" ones: >>> >>> (setq load-suffixes '(".elc" ".el8" ".el")) >> >> Thanks Achim. If the .el8 files contains a "coding" comment too then >> compatibility does not seem to be a problem. > > And where will this `setq' instruction reside? In each user's init file? Somewhere... ;-) Stefan gave as an example packages written to be used by both new and old Emacsen. It should be possible to handle it in the package or the package handler.