all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to have two parallel emacs environments?
Date: Tue, 25 Mar 2014 21:08:48 +0100	[thread overview]
Message-ID: <m2ob0um46n.fsf@gmail.com> (raw)
In-Reply-To: <874n2m9n68.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 25 Mar 2014 18:57:03 +0100")

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"



  reply	other threads:[~2014-03-25 20:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24 22:46 How to have two parallel emacs environments? Guido Van Hoecke
2014-03-24 22:54 ` Michael Heerdegen
2014-03-24 23:02   ` Guido Van Hoecke
2014-03-25 12:41   ` Luca Ferrari
     [not found]   ` <mailman.18153.1395751287.10748.help-gnu-emacs@gnu.org>
2014-03-25 12:54     ` Pascal J. Bourguignon
2014-03-25 16:05       ` Guido Van Hoecke
2014-03-25 17:57 ` Nicolas Richard
2014-03-25 20:08   ` Guido Van Hoecke [this message]
2014-03-27  7:52     ` Luca Ferrari
2014-03-27 10:45       ` Guido Van Hoecke

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=m2ob0um46n.fsf@gmail.com \
    --to=guivho@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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.