emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: Sven Bretfeld <sven.bretfeld@ntnu.no>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Feature request: Maintaining multiple init files with one org file
Date: Mon, 30 Jul 2018 09:07:24 +0200	[thread overview]
Message-ID: <87k1pddwwj.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <87effmjpbg.fsf@ntnu.no> (Sven Bretfeld's message of "Sun, 29 Jul 2018 12:42:27 +0200")

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	other threads:[~2018-07-30  7:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28  9:25 Feature request: Maintaining multiple init files with one org file Sven Bretfeld
2018-07-28 13:53 ` Amin Bandali
2018-07-29 10:49   ` Sven Bretfeld
2018-07-29  0:06 ` Tim Cross
2018-07-29 10:42   ` Sven Bretfeld
2018-07-30  7:07     ` Eric S Fraga [this message]
2018-07-30 12:15       ` Sven Bretfeld
2018-07-30 19:25 ` Diego Zamboni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1pddwwj.fsf@delle7240.chemeng.ucl.ac.uk \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sven.bretfeld@ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).