From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: running multiple Emacs versions Date: Sat, 13 Feb 2010 08:16:44 -0800 Message-ID: <0C1E68A9E1C24CCB9E8253C4822F0E51@us.oracle.com> References: <87sk966mzd.fsf@lion.rapttech.com.au> <38846b90-512e-4321-84a3-18b34fff8330@o3g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266077866 23312 80.91.229.12 (13 Feb 2010 16:17:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2010 16:17:46 +0000 (UTC) To: "'nchubrich'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 13 17:17:44 2010 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.69) (envelope-from ) id 1NgKgh-0005ms-Kd for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Feb 2010 17:17:43 +0100 Original-Received: from localhost ([127.0.0.1]:58824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgKgg-0008WA-Lv for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Feb 2010 11:17:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgKgJ-0008Vr-8h for help-gnu-emacs@gnu.org; Sat, 13 Feb 2010 11:17:19 -0500 Original-Received: from [140.186.70.92] (port=55519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgKgI-0008VO-CP for help-gnu-emacs@gnu.org; Sat, 13 Feb 2010 11:17:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgKgH-0006If-M9 for help-gnu-emacs@gnu.org; Sat, 13 Feb 2010 11:17:18 -0500 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:51111) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgKgH-0006Ia-FJ for help-gnu-emacs@gnu.org; Sat, 13 Feb 2010 11:17:17 -0500 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o1DGHEd4025065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 13 Feb 2010 16:17:15 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o1DG0wWY005671; Sat, 13 Feb 2010 16:17:13 GMT Original-Received: from abhmt008.oracle.com by acsmt355.oracle.com with ESMTP id 26298591266077804; Sat, 13 Feb 2010 08:16:44 -0800 Original-Received: from dradamslap1 (/10.175.212.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Feb 2010 08:16:43 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <38846b90-512e-4321-84a3-18b34fff8330@o3g2000yqb.googlegroups.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcqswJeQAIV2EzaTSPqQHaXN/g4R0wABVqbQ X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4B76D08A.0054:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71847 Archived-At: > Drew--- > > Regarding .elc files, aren't most of these placed in the individual > App directories on Mac OS X, i.e. Aquamacs.app, Emacs.app? I have no idea. In the GNU Emacs distributions I use, the distributed *.elc files are in directory `lisp' or one of its subdirectories. `lisp' itself is in the directory where Emacs is installed. > When you refer to "byte compiling", do you mean Emacs LISP > packages you have written, or are you talking about installing > external packages say from Elpa? Most of what I wrote was about "byte-compiled" files, which includes those distributed by GNU. It doesn't matter who byte-compiled a file, what kind of *.el file was byte-compiled, or where the *.elc is stored. My point was about compatibility among different Emacs versions with respect to byte-compiled files. When I spoke of byte-compiling files myself, I meant any files for which I have a *.el and no *.elc or a *.el that is more up-to-date than the *.elc. That includes files I've written and files from others. (I don't modify the files distributed with Emacs, so I don't need to byte-compile them again.) The main points were: 1. You can generally use a *.elc produced (byte-compiled) using an older Emacs version. 2. You can use `emacs-major-version', `(require ... nil t)' or `featurep', `fboundp', and `boundp' to check which version of Emacs, a feature, a function, or a variable you are using.