From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: elisp code location? Date: Mon, 19 Jan 2009 22:19:33 +0530 Message-ID: References: <4974A6AB.2080905@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOxJi-0004sp-30 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:49:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOxJg-0004qk-4p for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:49:37 -0500 Received: from [199.232.76.173] (port=57480 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOxJf-0004qa-ST for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:49:35 -0500 Received: from ti-out-0910.google.com ([209.85.142.191]:12177) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOxJf-0005tU-AW for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 11:49:35 -0500 Received: by ti-out-0910.google.com with SMTP id u5so2060962tia.10 for ; Mon, 19 Jan 2009 08:49:33 -0800 (PST) In-Reply-To: <4974A6AB.2080905@iro.umontreal.ca> Content-Disposition: inline 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: David St-Hilaire Cc: emacs-orgmode@gnu.org On Mon, Jan 19, 2009 at 9:43 PM, David St-Hilaire wrote: > Hi all! > > I am new to the org-mode, but its been very helpfull so far :). I was > wondering though, where should I put the elisp code that is sometime > required? > > For example, when creating a project I have to set the > org-publish-project-alist variable, but where that setq should be? > I've put it in my ~/.emacs, but I am sure that there must be a better > alternative :). Can it be somehow put directly in the org file? Some of the publishing options can be kept in the org file itself but some others would need to defined as part of org-publish-project-alist itself only. Is there a reason why you do not wish to keep the settings in .emacs file? -- Manish