From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Change .emacs directory in Ubuntu Date: Thu, 5 Sep 2013 02:35:06 +0200 Message-ID: <20130905003506.GD19491@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1378341345 3140 80.91.229.3 (5 Sep 2013 00:35:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 00:35:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 05 02:35:47 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHNY3-0007Ud-5k for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 02:35:47 +0200 Original-Received: from localhost ([::1]:56434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHNY2-00021p-Nk for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Sep 2013 20:35:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHNXb-00021F-HA for help-gnu-emacs@gnu.org; Wed, 04 Sep 2013 20:35:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHNXT-0001T1-21 for help-gnu-emacs@gnu.org; Wed, 04 Sep 2013 20:35:19 -0400 Original-Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:42083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHNXS-0001Sw-RQ for help-gnu-emacs@gnu.org; Wed, 04 Sep 2013 20:35:11 -0400 Original-Received: by mail-ee0-f44.google.com with SMTP id b47so537356eek.17 for ; Wed, 04 Sep 2013 17:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=47+V0OxNKUH5FVnKs4razaNilKUuLUdsjStw8WdM9KI=; b=B4KBy4dBbVdsdgwbhXnTKCXzNBP90LHgMmvwi43EQYha5/PxVps1mVDMDew9F9qr/k e1+lHocc7c/zHkPVe2YO+JcX2kow0HQR7rDxP1+MfQ0oGx87MfWtGLw5fLyxVlRkB3ii NCwqovof79xDUxDvchrpe0Fc1+EalUIo0YcTOYyvC/mGTcZeJBfwcACoKluGBt2z7MQN 6NXsv1MAKaJ3RC6OCWK+y6x3Qq0Ap3yHy75+6LucWxRzD6fsv+b5n6wKgTXUmfNYdfpC /rIosBHHZevlpgSaBLxxeuMC9os/rMyohu49HILQkYGAZWRmAJp732Q93CKb5aKTg9EJ wLXQ== X-Received: by 10.15.77.199 with SMTP id p47mr8760814eey.50.1378341310075; Wed, 04 Sep 2013 17:35:10 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id t6sm44158547eel.12.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Sep 2013 17:35:08 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93256 Archived-At: 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.