From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Feature request: Maintaining multiple init files with one org file Date: Mon, 30 Jul 2018 09:07:24 +0200 Message-ID: <87k1pddwwj.fsf@delle7240.chemeng.ucl.ac.uk> References: <87va8ziuem.fsf@ntnu.no> <87in4yucra.fsf@gmail.com> <87effmjpbg.fsf@ntnu.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk2HH-0004z6-Ra for emacs-orgmode@gnu.org; Mon, 30 Jul 2018 03:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk2HC-0006dF-Sl for emacs-orgmode@gnu.org; Mon, 30 Jul 2018 03:07:35 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:44296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk2HC-0006bW-LR for emacs-orgmode@gnu.org; Mon, 30 Jul 2018 03:07:30 -0400 Received: by mail-wr1-x444.google.com with SMTP id r16-v6so11568728wrt.11 for ; Mon, 30 Jul 2018 00:07:30 -0700 (PDT) In-Reply-To: <87effmjpbg.fsf@ntnu.no> (Sven Bretfeld's message of "Sun, 29 Jul 2018 12:42:27 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Sven Bretfeld Cc: Org-mode On Sunday, 29 Jul 2018 at 12:42, Sven Bretfeld wrote: [...] > At the moment I have a separate .emacs for the tablet and have to > remember changing this file, for ex. whenever I include a new file in > the org-agenda-files list. This could be much more tidy with an org > approach. The approach I take, trying to use the same init file for 4 quite different systems (including termux on Android at one point), is to have a very small .emacs for each which sets up system specific variables (e.g. paths and default face) and then loads the common init file. The latter is managed/written in org but the .emacs (or equivalently .emacs.d/init.el) files for each system are not as they are typically just a few lines long. > I'm trying to use customize as little as possible, since AFAIK there is > no way to let customize use an org file instead of a "real" init file. I also try to minimize the use of customize but I do use it. For this, I make sure that emacs doesn't use the init file for saving customization information but uses a custom-file I specify. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3