From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Eric Schulte" <schulte.eric@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: allow loading initialization from .org file -- would be breaking change
Date: Mon, 22 Nov 2010 11:40:11 -0500 [thread overview]
Message-ID: <jwvwro571wk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87oc9h2wvf.fsf@gmail.com> (Eric Schulte's message of "Mon, 22 Nov 2010 08:36:52 -0700")
> It is now possible to load a user's initialization from emacs-lisp code
> blocks embedded in Org-mode files using the `org-babel-load-file'
> command. Currently users of this setup must still have an elisp init.el
> function which loads up their .org files. See for example this fairly
> widely used configuration [1] which uses this init file [2].
>
> Would it make sense to begin loading .init.org and .emacs.org files by
> default. This would be a breaking change for any users who have both
> .init.el and .init.org, and what's worse it would overwrite the .init.el
> file when the embedded elisp is tangled out of the Org-mode file.
I don't think we want to hook Org so deeply in the startup code.
And note that org-babel-load-file is autoloaded, so the init.el file can
be reduced down to just:
(org-babel-load-file (locate-user-emacs-file "init.org"))
Stefan
prev parent reply other threads:[~2010-11-22 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 16:48 allow loading initialization from .org file -- would be breaking change Eric Schulte
2010-11-22 15:36 ` Eric Schulte
2010-11-22 16:40 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvwro571wk.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=schulte.eric@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.