all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to speed up emacs start time?
Date: Fri, 31 Jul 2009 10:33:45 +0200	[thread overview]
Message-ID: <87iqh98d5i.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <mailman.3561.1249026712.2239.help-gnu-emacs@gnu.org>

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


  parent reply	other threads:[~2009-07-31  8:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3539.1248999408.2239.help-gnu-emacs@gnu.org>
2009-07-31  0:33 ` How to speed up emacs start time? Rafael
2009-07-31  7:51   ` n179911
2009-07-31  8:11     ` Jonatan Andersson
2009-07-31  8:29     ` X fonts handling in 23.1 Dmitry Antipov
     [not found]     ` <mailman.3580.1249050271.2239.help-gnu-emacs@gnu.org>
2009-08-01  0:51       ` Tim X
     [not found]   ` <mailman.3561.1249026712.2239.help-gnu-emacs@gnu.org>
2009-07-31  8:33     ` Anselm Helbig [this message]
2009-07-31  9:23       ` How to speed up emacs start time? Peter Dyballa
     [not found]       ` <mailman.3567.1249032229.2239.help-gnu-emacs@gnu.org>
2009-07-31 10:02         ` Anselm Helbig
2009-07-31 15:53           ` Peter Dyballa
2009-08-02 16:12     ` Rugxulo
2009-07-31  0:16 n179911
2009-07-31  0:30 ` Drew Adams
     [not found] ` <mailman.3540.1249000245.2239.help-gnu-emacs@gnu.org>
2009-07-31  7:44   ` Elena
2009-07-31 14:34     ` Drew Adams
2009-08-01 20:09       ` Johan Bockgård
2009-08-01 20:26         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iqh98d5i.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.