help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JIT Emacs parallel world


From: Andreas Röhler
Subject: Re: JIT Emacs parallel world
Date: Fri, 26 Oct 2018 08:04:08 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 20.10.2018 12:04, Emanuel Berg wrote:
Phillip Lord wrote:

First, move your stuff from Emacs-24 to
Emacs-26 -- either one you build or
a pre-compiled version.

OK, but this implies the same problem, only
Emacs-27 JIT is replaced by Emacs-26. I'm happy
to download and build Emacs-26 from Git but,
again, how do I give it its own .emacs file and
.emacs.d directory so not to interfere with my
repository Emacs-24?


I'm using .emacs only to dispatch

(cond
 ((string-match "^23" emacs-version)
  (load (expand-file-name "~/.gnu-emacs23-all-cvs"))
  (setq custom-file (expand-file-name "~/.gnu-emacs23-cvs-custom")))
 ((string-match "^24" emacs-version)
  (load (expand-file-name "~/.gnu-emacs24"))
  (setq custom-file (expand-file-name "~/.gnu-emacs24-custom")))
 ((string-match "^25" emacs-version)
  (load (expand-file-name "~/.gnu-emacs25"))
  (setq custom-file (expand-file-name "~/.gnu-emacs25-custom")))
 ((string-match "^26" emacs-version)
  (load (expand-file-name "~/.gnu-emacs25"))
  (setq custom-file (expand-file-name "~/.gnu-emacs25-custom")))
 ((string-match "^27" emacs-version)
  (load (expand-file-name "~/.gnu-emacs25"))
  (setq custom-file (expand-file-name "~/.gnu-emacs25-custom"))
  ))

With emacs.d, that's another thing. De facto often loading from git-repos setting load-path and require, not from package-manager.

HTH,
Andreas






reply via email to

[Prev in Thread] Current Thread [Next in Thread]