From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: Test Alternative initialize scheme Date: Fri, 6 Apr 2018 00:43:38 +0300 Message-ID: <6ce75f69-276e-35af-fd51-5b75bfa9dcb0@gmail.com> References: <20180404231211.GB31955@mail.akwebsoft.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1522964538 20545 195.159.176.226 (5 Apr 2018 21:42:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 21:42:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 23:42:14 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 1f4Ce5-0005Cx-JV for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 23:42:13 +0200 Original-Received: from localhost ([::1]:56667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4Cg9-0000RD-Ad for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2018 17:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4CfX-0000PM-AQ for Help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 17:43:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4CfW-0007oN-CX for Help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 17:43:43 -0400 Original-Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:39325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4CfW-0007nx-5B for Help-gnu-emacs@gnu.org; Thu, 05 Apr 2018 17:43:42 -0400 Original-Received: by mail-wr0-x230.google.com with SMTP id c24so30752708wrc.6 for ; Thu, 05 Apr 2018 14:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=94WCquZUxIvQtaOBGYNkJ0QNCyRvaJiT3e6qkCj2veE=; b=Ml4/DV/7Lu+In2kqxYYXk6yJmd+nFc/bc80uvcs1g6ReVdnFyT0gQ/S2NR9eJKjdot zzOM/ABeRbX1/dwp/Oa7NSnP1qbjYnvy/AU1AZv0PHrMGqLOL7zxgXhfTOxKQ0JbI7rH HTjBlAd+bN0cKhkJh+UK1cBJARHG1nr6KIE3xJseqrvyO24NDEheY1o0Kh35qT7u8Zw0 Q/XWdi+b6AgeuqI8g1R2HbvPGMMJOql262sEz++w1fZHiZJVjM21bo3qVghHgFq1f+Dg uydK9GMT/RUNZTDc9VcLhGRX3vzjb99MH+vLCBnUPvwXRF65kPlFLXh45UPDC9CucYwa 9cHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=94WCquZUxIvQtaOBGYNkJ0QNCyRvaJiT3e6qkCj2veE=; b=SI1MEa8pDw10fOjANrm3b+NzHBMrCwCh6RHTH5g8VIm9Y5wcHFbZCyqEsTYG9qC4Lq mtPgoWAQb6XmVeoujgES3K+pEl6+MeWNklk2rm2d5kNVLIkYFQiZ+VbAFgXSumtgTYS9 NkV/yRIe+96pmMf216ltWPi+a2qPXxyoadPxvZITb7oTDj0/+aGhOfm3OnmlT2YJUkoY v9IVDBnOnK8yxH5L6/1v0kaWug+uHlu65wlisAh8RbuFHZ913NDlFHOJQhxhLyB82vAK dz8w+8/vT1Ub4lD7uNYgYDlkf7Rm9Tgj1ZSLnI/KOCkAMVvm3czsP8txid+CO2kaS2H7 aARw== X-Gm-Message-State: ALQs6tB6vfsBhbgLNsm9nnxngbhvmI/fFauWqdLkNBeLZN3UD9YCnaux UYDYkSkEdKop+fSKRb1YIswmAQ== X-Google-Smtp-Source: AIpwx49t6QYA5DT6iu97Gvesd8N7UBIP70ylmJtn0Ef3RsDnM7V3Wt+I/ZSa+SsVWmN/R4NToQTRjg== X-Received: by 2002:a19:e511:: with SMTP id c17-v6mr14909996lfh.106.1522964620538; Thu, 05 Apr 2018 14:43:40 -0700 (PDT) Original-Received: from ?IPv6:2a02:2168:2634:7100:5995:b6ac:b41b:2ba? ([2a02:2168:2634:7100:5995:b6ac:b41b:2ba]) by smtp.gmail.com with ESMTPSA id h13-v6sm1089659lfg.90.2018.04.05.14.43.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 14:43:39 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev In-Reply-To: <20180404231211.GB31955@mail.akwebsoft.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::230 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:116361 Archived-At: There's a script called emacs-distribution on EmacsWiki: https://www.emacswiki.org/emacs/emacs-distribution It achieves the same thing you're trying to do, but using a different method - it presets HOME env variable. Advantage over your setup - configs get ran normally, so even Customize, which gets disabled by -q would work. Disadvantage - you can't refer to subfolders in your ~ from inside of Emacs, I usually symlink the ones I need. -- Best Regards, Nikolay Kudryavtsev