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: Re: Test Alternative initialize scheme Date: Wed, 4 Apr 2018 16:55:25 -0800 Organization: AkWebsoft Message-ID: <20180405005525.GA6062@mail.akwebsoft.com> References: <86o9iytrsp.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1522889648 7340 195.159.176.226 (5 Apr 2018 00:54:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 00:54:08 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 02:54:03 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 1f3tA9-0001mJ-2k for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 02:54:01 +0200 Original-Received: from localhost ([::1]:43835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3tCE-0002Ay-IP for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2018 20:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3tBb-00029A-Fp for help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 20:55:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3tBY-0006pR-D6 for help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 20:55:31 -0400 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:57640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3tBY-0006oh-2A for help-gnu-emacs@gnu.org; Wed, 04 Apr 2018 20:55:28 -0400 Original-Received: by linus (Postfix, from userid 1000) id CE106244C3D; Wed, 4 Apr 2018 16:55:25 -0800 (AKDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <86o9iytrsp.fsf@zoho.com> 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:116347 Archived-At: * Emanuel Berg [180404 16:41]: > Tim Johnson wrote: > > > 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. > > > > [...] > > > > Comments? Caveats? thanks > > Yes, it is almost always a bad idea to move > something that already is in its right place. > This applies to the computer as well as the > physical world. If you've always had a handsaw > on a hook on a wall, don't put it anywhere else > just because you now have a chainsaw! Instead, > find yet another "right place", only this time > for - you guessed it - the chainsaw. I think you're right ... there's a lot of hard coded paths showing up in .elc and .pyc files under my .emacs.d > To have "top-level clutter" in your home dir is > nothing to be ashamed or bothered about. It the > right place for init files of all kinds. > You can configure ls in different ways to > show/not show them, tho. And here we stumble > upon rule number two - the interface. So even > tho one is forbidden to change sound technology > just because it doesn't "look" right, one is > unrestricted to change the interface, or view, > so that you don't want to see, isn't shown. > Interestingly, if one does that long enough, > when one temporarily disables the interface, to > see everything you once didn't want to see, it > doesn't look wrong anymore! It looks right. > But you might still want to switch back to the > interface as that looks even better :) > > But OK, you have two versions of Emacs. So have > all config files in your home dir, separated, > for each version. If they read the same init > file, I'd recommend a branch (`if' clause) to > find out what version in particular, version A, > OK `load-file' these files, version B, > `load-file' the other files. I.e., the common > init file will just be a gateway and then > you'll have everything separated. Emanuel, do you mind providing a simple example of such a logical branch? I'm not sure how one might combine spacemacs and emacs resources under one directory. The spacemacs install directions call for installing spacemacs directly into .emacs.d and I'm presuming that will totally clobber my existing config. I guess in the meantime I will find out. thanks -- Tim Johnson http://www.akwebsoft.com, http://www.tj49.com