From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harri Kiiskinen Subject: Re: Re: R: WISH: separate org-mode customization file Date: Fri, 04 Jul 2008 13:57:19 +0200 Message-ID: <486E101F.3000301@utu.fi> References: <1214914777.6519.132.camel@localhost.localdomain> <442673.75750.qm@web28308.mail.ukl.yahoo.com> <873amthd01.fsf@gollum.intra.norang.ca> <1214936469.6519.224.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEjv3-0004T3-6j for emacs-orgmode@gnu.org; Fri, 04 Jul 2008 07:57:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEjv1-0004Sh-2O for emacs-orgmode@gnu.org; Fri, 04 Jul 2008 07:57:40 -0400 Received: from [199.232.76.173] (port=58671 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEjv0-0004Sd-S4 for emacs-orgmode@gnu.org; Fri, 04 Jul 2008 07:57:38 -0400 Received: from smtp-out-01.utu.fi ([130.232.202.171]:23434) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEjv0-0001N3-H4 for emacs-orgmode@gnu.org; Fri, 04 Jul 2008 07:57:38 -0400 Received: from [129.125.167.153] by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPSA id <0K3H00H4GD7OEKQ0@smtp01.mess.utu.fi> for emacs-orgmode@gnu.org; Fri, 04 Jul 2008 14:57:24 +0300 (EEST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode list Eddward DeVilla wrote: > On Tue, Jul 1, 2008 at 1:21 PM, Harri Kiiskinen 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.