all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: running multiple Emacs versions
Date: Sat, 13 Feb 2010 10:41:26 +1100	[thread overview]
Message-ID: <87sk966mzd.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: da74e92e-edcd-4362-a920-0d4d5458975f@c28g2000vbc.googlegroups.com

nchubrich <nicholas.chubrich@gmail.com> writes:

> I would like to run both Aquamacs and a compiled version of Emacs 23,
> for different purposes.  Presumably they will need different
> configurations.  How can I do this, seeing as there is one .emacs
> file?
>
> Thanks,
>
> Nick Chubrich.

Using one .emacs file is probably not going to be the big issue. Your
problem is likely to be byte code incompatibility, especially as emacs
23 moved to utf-8 encoding, which makes the *.elc files incompatible
with versions prior to 23. Emacs 23 can read older *.elc files, but it
does a translation/conversion process 'on the fly' which can
substantially slow down file loading etc.

There are ways around all of this, but take a bit of work. As an
example, you cold look at how Debian/Ubuntu handle running multiple
emacs versions at the same time. For your init file, look at initz (see
emacs wiki). I htink there is some other info on this in the wiki as
well. 

For your .emacs, you may be able to just get by using simple 'when'
blocks for the version specific stuff i.e.

(when (= emacs-major-version 23)
  ;; do 23 specific stuff
)

HTH

Tim

 


-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2010-02-12 23:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 19:47 running multiple Emacs versions nchubrich
2010-02-12 23:00 ` Peter Dyballa
2010-02-12 23:41 ` Tim X [this message]
2010-02-13  1:04   ` Drew Adams
     [not found]   ` <mailman.1186.1266023178.14305.help-gnu-emacs@gnu.org>
2010-02-13  5:55     ` nchubrich
2010-02-13 16:10       ` Tim X
2010-02-13 16:16       ` Drew Adams
2010-02-13 18:58 ` Pascal J. Bourguignon

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=87sk966mzd.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.