From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Byte-compiled elisp libraries on different platforms Date: Thu, 20 Nov 2008 19:08:25 +0100 Message-ID: References: <20081120104754.GE6811@groll.co.za> <010201c94b34$281dbd30$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227204543 13714 80.91.229.12 (20 Nov 2008 18:09:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 18:09:03 +0000 (UTC) Cc: Jonathan Groll , GnuEmacs Help To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 19:10:03 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L3Dyb-00054U-HV for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 19:10:01 +0100 Original-Received: from localhost ([127.0.0.1]:54999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3DxS-0002Dv-Tg for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 13:08:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3Dx7-0002BN-3I for help-gnu-emacs@gnu.org; Thu, 20 Nov 2008 13:08:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3Dx5-000280-7y for help-gnu-emacs@gnu.org; Thu, 20 Nov 2008 13:08:28 -0500 Original-Received: from [199.232.76.173] (port=55244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3Dx5-00027k-2v for help-gnu-emacs@gnu.org; Thu, 20 Nov 2008 13:08:27 -0500 Original-Received: from hs-out-0708.google.com ([64.233.178.245]:5583) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3Dx4-0001y9-Gy for help-gnu-emacs@gnu.org; Thu, 20 Nov 2008 13:08:26 -0500 Original-Received: by hs-out-0708.google.com with SMTP id 55so340349hsc.10 for ; Thu, 20 Nov 2008 10:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7fksXe4l1fPv70udKOJD0t0BOdgn7vb+jgHzhF6Gl7E=; b=p1UAGk9BhBXfRr1Abt+eOHs9X8qd+u8gtgo1xO6BKzm9ZSanxryw23fTnNGN5iQVgp G3SvthATYou9wZO7PLpB1IZ9cX4LT87xtewGm5LLvBXYe4/FGc4/6gDH6YHqZGSg1dUv q2rSCO0XJB1RKm+i77qyrs9kZ4rblCmXFVndg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tvkO//vvMiLVE2vauNZNV6k2c2LrLTLNKr4J+kCqm4cRTbf3Lklr3mxr7V7Qa622XJ f3ofrmNyM7tkqT//L7KcmIJB/D4DRinau/cMdrNcma8t8KA42JMzCb3hLnKVcxiiFHhf UcmbJARCoAKw+FG6AxG2J19zpuKSK0Ihq3aNU= Original-Received: by 10.100.164.20 with SMTP id m20mr1280987ane.121.1227204505914; Thu, 20 Nov 2008 10:08:25 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Thu, 20 Nov 2008 10:08:25 -0800 (PST) In-Reply-To: <010201c94b34$281dbd30$c2b22382@us.oracle.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59972 Archived-At: On Thu, Nov 20, 2008 at 18:19, Drew Adams wrote: > I don't agree about the last part. I have come across things that do not work in > Emacs 23 if byte-compiled with Emacs 22 (and vice versa). I was talking only about 22 -> 23, not the other way around. And of course you can have code that does fail, in subtle or not so subtle ways. If it does not satisfy the expectations of 23.X (functions with different parameter profiles, macros whose semantics has changed, whatever), for example. The only real way to have 100% compatibility is compiling the .el files with the Emacs release you're going to use them. That said, most of the time .elc files generated with 22.X work fine with 23.X Emacs. > In general, I believe, Emacs has always been platform-independent wrt > byte-compiled code, Yes. But as stated above, whether a .elc file from one Emacs works in another Emacs is not (just) about byte-code. Of course byte-code must be compatible, or you're liable to crash Emacs. Juanma