From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: How to speed up emacs start time? Date: Fri, 31 Jul 2009 10:33:45 +0200 Organization: Freie Universitaet Berlin Message-ID: <87iqh98d5i.wl%anselm.helbig+news2009@googlemail.com> References: <87ljm5669a.fsfhello@somewhere.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1249029709 303 80.91.229.12 (31 Jul 2009 08:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 08:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 10:41:43 2009 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 1MWngM-0000qg-4j for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 10:41:42 +0200 Original-Received: from localhost ([127.0.0.1]:59278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWngL-0006a9-K2 for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 04:41:41 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-X-Trace: news.uni-berlin.de SPdE1NH1GnJK6FNegaU5+gJdsd4JF/T93ljEbJROSOY3CzGmCawD6mg4TF Cancel-Lock: sha1:6jKD+CtSi+D/rcRq8+ESVoW0p1Q= In-Reply-To: Mail-Followup-To: anselm.helbig+news2009@googlemail.com Original-Xref: news.stanford.edu gnu.emacs.help:171373 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:66558 Archived-At: Hi! > Thank you. Emacs 23.1 on Mac OSX works. > But when I start emacs at terminal (instead of running Emacs.app), > emacs (in /usr/bin/emacs version 22) complains that the .elc are > compiled for version 23. > > Can you please tell me what can I do to fix this? The easy way is to also use emacs 23 in the terminal, /path/to/your/emacs -nw should do it. Or just fix your PATH environment variable so that your emacs 23 bin directory comes first. Otherwise you'd have to use different directories for different emacs version + one directory with the .el sources. You'd symlink your source files over to the directories for your different emacs versions and compile them there. This is more or less how debian's emacs packaging works when you have multiple emacsen installed. In your .emacs you'd to something like this: (add-to-list 'load-path (format "/path/to/emacs-lisp/emacs-%s" emacs-major-version)) But I'd rather use emacs 23 on the console as well. With the new multi-tty feature you should also be able to use the same instance for this, issue M-x server-start and then connect with `emacsclient -t'. I heard that multi-tty doesn't yet work well on OS X, though. HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com