From: Harri Kiiskinen <harri.kiiskinen@utu.fi>
To: Org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Re: R: WISH: separate org-mode customization file
Date: Fri, 04 Jul 2008 13:57:19 +0200 [thread overview]
Message-ID: <486E101F.3000301@utu.fi> (raw)
In-Reply-To: <b71b18520807021450u1cc3f24bt99a7a21957ca91a2@mail.gmail.com>
Eddward DeVilla wrote:
> On Tue, Jul 1, 2008 at 1:21 PM, Harri Kiiskinen <harkiisk@utu.fi> wrote:
>> Thank you all for the answers, but it seems that I was not quite clear
>> enough. I'm quite able to set the 'custom-file' to whatever I want, and
>> I can (load "myconfig.el") - which is what I currently do. Lets restate
>> the problem:
>>
>> 1. I cannot and do not want to share _all_ customizations, since many of
>> them are system specific - absolute paths, modes which function on Linux
>> but not on XP (e.g. whizzy-tex), face settings etc.
>> 2. I want to share org-mode customization, which is system independent,
>> in my case. This I can do with (load "myconfig.el"), but the file has to
>> be edited by hand, as the Emacs Customize for org-mode saves everything
>> where 'custom-file' points to.
>> 3. If I set 'custom-file' to "myconfig.el", then I contradict no. 1.
>>
> Sorry for not responding sooner. I've had init split
> (http://www.emacswiki.org/cgi-bin/wiki/InitSplit) suggested to me for
> the same problem. The thread might be in the archive. I haven't had
> a chance to set this up yet, so I can say if it is really usable.
>
> Edd
Thanks all,
InitSplit did just the trick I was looking for.
As the documentation of it is quite bad, I'll include my current setup
as an usage example, just in case someone else is interested.
from .emacs:
---
(load "initsplit")
(load "~/emacs_customs/font-latex")
(load "~/emacs_customs/bibtex")
(load "~/emacs_customs/org")
(custom-set-variables
;; This you can do with customize:
;; M-x customize-variable initsplit-customizations-alist
'(initsplit-customizations-alist (quote (("org-"
"~/emacs_customs/org.el" t) ("bibtex-" "~/emacs_customs/bibtex.el" t)
("font-latex-" "~/emacs_customs/font-latex.el" t))))
)
---
The code can be abstracted more, but then it gets unclear to beginners
like me...
Best Wishes,
Harri K.
next prev parent reply other threads:[~2008-07-04 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 12:19 WISH: separate org-mode customization file Harri Kiiskinen
2008-07-01 12:30 ` R: " Giovanni Ridolfi
2008-07-01 14:19 ` Manish
2008-07-01 14:53 ` Bernt Hansen
2008-07-01 18:21 ` Harri Kiiskinen
2008-07-01 20:26 ` John Rakestraw
2008-07-02 2:08 ` Sebastian Rose
2008-07-02 21:50 ` Eddward DeVilla
2008-07-02 22:14 ` Tim O'Callaghan
2008-07-04 11:57 ` Harri Kiiskinen [this message]
2008-07-01 15:04 ` Giovanni Ridolfi
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=486E101F.3000301@utu.fi \
--to=harri.kiiskinen@utu.fi \
--cc=emacs-orgmode@gnu.org \
/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.