From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: package.el: bytecode portability across emacs versions Date: Mon, 28 May 2007 08:33:39 +0200 Message-ID: <85tztxo3ss.fsf@lola.goethe.zz> References: <20070521134747.GA14137@baal.lan> <85veemdp3s.fsf@lola.goethe.zz> <20070522001139.GA11896@baal.lan> <85tztyrfgu.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180334043 4429 80.91.229.12 (28 May 2007 06:34:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 06:34:03 +0000 (UTC) Cc: trentbuck@gmail.com, elpa@tromey.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 08:34:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HsYnp-0002En-CI for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 08:34:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsYnn-0007bO-Vm for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 02:34:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsYnk-0007bJ-JR for emacs-devel@gnu.org; Mon, 28 May 2007 02:33:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsYni-0007b7-65 for emacs-devel@gnu.org; Mon, 28 May 2007 02:33:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsYni-0007b4-1B for emacs-devel@gnu.org; Mon, 28 May 2007 02:33:54 -0400 Original-Received: from mail-in-13.arcor-online.net ([151.189.21.53]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HsYne-0003hz-EL; Mon, 28 May 2007 02:33:50 -0400 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 021571E5F2C; Mon, 28 May 2007 08:33:43 +0200 (CEST) Original-Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id E5A45134BF1; Mon, 28 May 2007 08:33:42 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-032-053.pools.arcor-ip.net [84.61.32.53]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id B8FEB3425F6; Mon, 28 May 2007 08:33:42 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 09BE81C46118; Mon, 28 May 2007 08:33:40 +0200 (CEST) In-Reply-To: (Richard Stallman's message of "Sun\, 27 May 2007 19\:21\:05 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:71873 Archived-At: Richard Stallman writes: > Emacs is not well-equipped to have source and byte code in different > directories. For example, it messes with the load path order: Emacs > will prefer loading an .el file in an earlier place in the load-path > over a .elc file in a later place. > > That is not a problem for this approach, because the directory for the > specific version always comes before the version-independent directory. You are talking about "the directory". load-path establishes an _order_, and we can have repetitive elements in this order when the user installs his own version of some packages intended to override the system version. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum