From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Basile Starynkevitch Newsgroups: gmane.emacs.help Subject: Re: multiple configuration files_ is this correct method? Date: Mon, 23 Oct 2023 15:31:20 +0200 Message-ID: <8498c9dd-bc25-4997-8d66-a0f6c4225451@starynkevitch.net> References: <1bf77a68-2610-4aab-84cb-c9f8ef116005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35144"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 23 15:32:23 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1quv2d-0008vf-D0 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 Oct 2023 15:32:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quv1t-0004bW-Q6; Mon, 23 Oct 2023 09:31:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quv1l-0004Xc-Do for help-gnu-emacs@gnu.org; Mon, 23 Oct 2023 09:31:29 -0400 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quv1i-00051H-T0 for help-gnu-emacs@gnu.org; Mon, 23 Oct 2023 09:31:29 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 417FDC0002 for ; Mon, 23 Oct 2023 13:31:21 +0000 (UTC) Content-Language: en-US In-Reply-To: <1bf77a68-2610-4aab-84cb-c9f8ef116005@gmail.com> X-GND-Sasl: basile@starynkevitch.net Received-SPF: pass client-ip=2001:4b98:dc4:8::226; envelope-from=basile@starynkevitch.net; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145357 Archived-At: On 10/23/23 14:07, Nikolay Kudryavtsev wrote: > No, it's not, -l flag still loads your init. > > If you're using 29.1, there's now '--init-directory' flag for doing that. > > Another well tested option for multiple inits is using the > emacs-distribution script form here: > > https://www.emacswiki.org/emacs/emacs-distribution > > For the RefPerSys open source inference engine project (see GPLv3+ code on https://github.com/RefPerSys/RefPerSys/ ...) I find convenient to have two emacs processes (one running the latest emacs, installed as /usr/local/bin/emacs-trunk so 30.0.50 compiled every day after a git pull, another being the Ubuntu default emacs, so GNU Emacs 29.1). The other emacs is started by the following zsh function function bisemacs() {     emacs -bg azure --no-desktop --name bisemacs -q -l $HOME/.bisemacs & } with emacs-trunk started in a terminal as emacs-trunk -bg ivory & My .emacs file being on https://github.com/bstarynk/misc-basile/blob/master/.emacs Regards from near Paris in France -- Basile Starynkevitch (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/