[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Feature request: Maintaining multiple init files with one org fi

From: Eric S Fraga
Subject: Re: [O] Feature request: Maintaining multiple init files with one org file
Date: Mon, 30 Jul 2018 09:07:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]