From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: package.el: bytecode portability across emacs versions Date: Sun, 27 May 2007 19:21:05 -0400 Message-ID: References: <20070521134747.GA14137@baal.lan> <85veemdp3s.fsf@lola.goethe.zz> <20070522001139.GA11896@baal.lan> <85tztyrfgu.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1180308085 16600 80.91.229.12 (27 May 2007 23:21:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 May 2007 23:21:25 +0000 (UTC) Cc: trentbuck@gmail.com, elpa@tromey.com, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 01:21:23 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 1HsS38-0002r7-LZ for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 01:21:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS38-0000aV-4J for ged-emacs-devel@m.gmane.org; Sun, 27 May 2007 19:21:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsS34-0000Zw-1D for emacs-devel@gnu.org; Sun, 27 May 2007 19:21:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsS33-0000Zk-KL for emacs-devel@gnu.org; Sun, 27 May 2007 19:21:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsS33-0000Zh-FJ for emacs-devel@gnu.org; Sun, 27 May 2007 19:21:17 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HsS33-0006dA-9O for emacs-devel@gnu.org; Sun, 27 May 2007 19:21:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HsS2r-0007aF-KC; Sun, 27 May 2007 19:21:05 -0400 In-reply-to: <85tztyrfgu.fsf@lola.goethe.zz> (message from David Kastrup on Sun, 27 May 2007 07:41:05 +0200) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:71856 Archived-At: 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. It also stops byte-recompile-directory from working and makes list-load-path-shadow complain. It would be a bit strange to use byte-recompile-directory on these directories, though.