[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Problems Setting Drawers in .emacs
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Problems Setting Drawers in .emacs |
Date: |
Mon, 15 Feb 2010 20:47:53 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Ian Barton <address@hidden> writes:
> Recently I have noticed a problem setting up Drawers. In my .emacs I have:
>
> (add-to-list 'load-path "~/.emacs.d/src/lisp")
> (add-to-list 'load-path "~/.emacs.d/src/org-mode/contrib/lisp")
> (require 'org-install)
> (require 'org-babel-init)
> (org-babel-load-file "~/.emacs.d/blacky.org")
>
> In ~/.emacs.d/blacky.el I have:
>
> ;; Define some default drawers.
> (setq org-drawers (quote ("PROPERTIES" "SETUP")))
>
> However, PROPERTIES and SETUP aren't recognised as drawers in my org
> files. They don't close and open using tab and the fontification of
> them indicated that org isn't recognising them as drawers.
>
Does it help if you (setq org-drawers ...) before the (require
'org-install). I seem to recall that setq's need to be done before you
load org-mode.
The other alternative is to keep the variables via customize.
HTH,
Bernt