[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to have two parallel emacs environments?
From: |
Guido Van Hoecke |
Subject: |
Re: How to have two parallel emacs environments? |
Date: |
Tue, 25 Mar 2014 21:08:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Hi Nicolas,
Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:
> Hello,
>
> Guido Van Hoecke <guivho@gmail.com> writes:
>> I was hoping that I could start an alternate emacs using the -u option so
>> that I could get a separate instance using the growing new setup file.
>
> You can start emacs with a modified HOME variable~:
> HOME=/tmp/a-new-home emacs
>
> Then emacs will look for /tmp/a-new-home/.emacs. One advantage is that
> the package initialization happens normally. One advantage or
> disadvantage (depending on your POV) is be that if you refer to files
> relative to ~/ in /tmp/a-new-home/.emacs, they'll in fact be relative to
> /tmp/a-new-home and not /home/yourusername/
That's a clever way to solve the problem. The ~ problem neds to be taken
into account but that's easily solvable.
Thanks for the suggestion :)
Guido
--
Thus spake the master programmer:
"When program is being tested, it is too late to make design changes."
-- Geoffrey James, "The Tao of Programming"