From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Test Alternative initialize scheme Date: Wed, 4 Apr 2018 15:12:11 -0800 Organization: AkWebsoft Message-ID: <20180404231211.GB31955@mail.akwebsoft.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1522883648 17449 195.159.176.226 (4 Apr 2018 23:14:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2018 23:14:08 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 01:14:04 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3rbP-0004Sj-Tt for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 01:14:04 +0200 Original-Received: from localhost ([::1]:37801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3rdV-0007B5-4E for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2018 19:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3rZj-0004So-JI for Help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 19:12:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3rZg-00047w-4b for Help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 19:12:19 -0400 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:53980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3rZf-00045W-ST for Help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 19:12:16 -0400 Original-Received: by linus (Postfix, from userid 1000) id BE689244C3D; Wed, 4 Apr 2018 15:12:11 -0800 (AKDT) Mail-Followup-To: Emacs Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:116345 Archived-At: On emacs GNU Emacs 25.3.2, ubuntu 16.04 --------------------------------------- I use an .emacs.d directory with init.el. I'm contemplating making a permanent move for this directory so that I can try out alternative configurations such as spacemacs. It might also reduce clutter at the top-level of /home/$USER/ I can't tell from reading the instructions for setting spacemacs that it would be as easy to put the spacemacs configuration in a different location. I have the following ~/.em_init.el as a bootstrapper ;; code follows (setq user-emacs-directory "~/.emacs.d") (load (concat user-emacs-directory "/" "init.el")) ;; code ends and I then start emacs with the following bash script named my_emacs #!/bin/bash emacs -Q --load ~/.em_init.el If this is deemed to be a workable solution, then I would then move .emacs.d to ~/prj/emacs.d (as an example) and change the the path for user-emacs-directory accordingly. Of course since I have added to the clutter with .em_init.el at the top /home/$USER, that bootstrapper could then also be moved. (A review of my elisp code indicates that it would be a minimal effort to edit some hard-coded load paths, so portability is not a big issue.) Comments? Caveats? thanks -- Tim Johnson http://www.akwebsoft.com, http://www.tj49.com