unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Test Alternative initialize scheme
@ 2018-04-04 23:12 Tim Johnson
  2018-04-05 21:43 ` Nikolay Kudryavtsev
       [not found] ` <mailman.11759.1522964625.27995.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 27+ messages in thread
From: Tim Johnson @ 2018-04-04 23:12 UTC (permalink / raw)
  To: Emacs

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



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2018-04-09 23:41 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.11717.1522883541.27995.help-gnu-emacs@gnu.org>
2018-04-05  0:34 ` Test Alternative initialize scheme Emanuel Berg
2018-04-05  0:55   ` Tim Johnson
2018-04-05  1:09   ` Emanuel Berg
     [not found]   ` <mailman.11718.1522889734.27995.help-gnu-emacs@gnu.org>
2018-04-05  1:15     ` Emanuel Berg
2018-04-05  1:28     ` Emanuel Berg
2018-04-05 15:15       ` Tim Johnson
2018-04-05 21:46       ` Tim Johnson
     [not found]       ` <mailman.11760.1522964821.27995.help-gnu-emacs@gnu.org>
2018-04-06 18:57         ` Emanuel Berg
2018-04-04 23:12 Tim Johnson
2018-04-05 21:43 ` Nikolay Kudryavtsev
2018-04-05 21:57   ` Tim Johnson
     [not found] ` <mailman.11759.1522964625.27995.help-gnu-emacs@gnu.org>
2018-04-06 19:06   ` Emanuel Berg
2018-04-06 21:15     ` Nikolay Kudryavtsev
2018-04-07  6:41       ` Eli Zaretskii
2018-04-07 12:38         ` Nikolay Kudryavtsev
2018-04-07 12:53           ` Eli Zaretskii
     [not found]     ` <mailman.11799.1523049339.27995.help-gnu-emacs@gnu.org>
2018-04-06 21:55       ` Emanuel Berg
2018-04-07 12:20         ` Nikolay Kudryavtsev
2018-04-08  1:43           ` Emanuel Berg
2018-04-08 12:31             ` Nikolay Kudryavtsev
     [not found]             ` <mailman.11861.1523190672.27995.help-gnu-emacs@gnu.org>
2018-04-08 14:48               ` Emanuel Berg
2018-04-09 17:42                 ` Nikolay Kudryavtsev
     [not found]                 ` <mailman.11937.1523295742.27995.help-gnu-emacs@gnu.org>
2018-04-09 18:56                   ` Emanuel Berg
2018-04-09 22:24                     ` Nikolay Kudryavtsev
     [not found]                     ` <mailman.11951.1523312688.27995.help-gnu-emacs@gnu.org>
2018-04-09 22:44                       ` Emanuel Berg
2018-04-09 23:15                         ` Nikolay Kudryavtsev
     [not found]                         ` <mailman.11953.1523315732.27995.help-gnu-emacs@gnu.org>
2018-04-09 23:41                           ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).