all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Change .emacs directory in Ubuntu
Date: Thu, 5 Sep 2013 02:35:06 +0200	[thread overview]
Message-ID: <20130905003506.GD19491@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <f08309cd-741d-4757-84ce-8371f07eadbf@googlegroups.com>

On Wed, Sep 04, 2013 at 01:37:23PM -0700, kishore.r.318@gmail.com wrote:
> 
> Currently my .emacs file is found in /home So is my .emacs.d folder
> and I suppose some other files like diary, notes etc will be created
> in this folder.
> 
> I find this really messy and I want all my emacs related
> files(including the .emacs) and folders in a single folder, say
> /home/EmacsHome
> 
> How do I do that in Ubuntu 12.04? In windows I did this by setting an
> environment variable HOME to the path of EmacsHome. But, in Ubuntu,
> the HOME variable will be used for several other programs as well, so
> I dont want to change that.

May I ask why you want this?  On Linux systems, all user specific
application settings go wherever $HOME points to.  So Emacs respects
that.  From the perspective of security, and administering a system,
this makes a lot of sense.  Unless your username is EmacsHome, and you
are running Emacs as that user, I find your choice quite odd.  It might
cause you conflicts with many other utilities.

That said, you could try symbolic links:

  # ln -s /home/EmacsHome/.emacs ~/.emacs
  # ln -s /home/EmacsHome/.emacs.d ~/.emacs.d

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



  parent reply	other threads:[~2013-09-05  0:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04 20:37 Change .emacs directory in Ubuntu kishore.r.318
2013-09-04 22:24 ` Peter Dyballa
2013-09-04 22:45   ` Kishore Rathinavel
2013-09-04 22:58     ` Peter Dyballa
2013-09-04 23:12       ` Kishore Rathinavel
2013-09-05  0:22         ` Peter Dyballa
2013-09-05  1:43           ` Kishore Rathinavel
2013-09-05  8:40             ` Peter Dyballa
2013-09-05 16:34             ` Suvayu Ali
     [not found]           ` <mailman.1329.1378345390.10748.help-gnu-emacs@gnu.org>
2013-09-05  2:47             ` Rustom Mody
2013-09-04 23:35 ` Steven Knight
2013-09-05  0:35 ` Suvayu Ali [this message]
     [not found] ` <mailman.1321.1378333498.10748.help-gnu-emacs@gnu.org>
2013-09-05  9:11   ` Joost Kremers
2013-09-05  9:19 ` Joost Kremers
2013-09-05  9:31   ` Eli Zaretskii
2013-09-05  9:32   ` Peter Dyballa
2013-09-05 16:58     ` Kishore Rathinavel
  -- strict thread matches above, loose matches on Subject: below --
2013-09-05 10:41 Vilibald Wanca

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=20130905003506.GD19491@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.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.