From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Problems Setting Drawers in .emacs Date: Mon, 15 Feb 2010 20:47:53 -0500 Message-ID: <87bpfqrlx2.fsf@gollum.intra.norang.ca> References: <4B758082.2060007@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhCXr-0002kt-LA for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 20:48:11 -0500 Received: from [140.186.70.92] (port=50858 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhCXr-0002ke-3o for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 20:48:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhCXq-0004XY-0P for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 20:48:11 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:62450) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhCXp-0004XE-Uq for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 20:48:09 -0500 In-Reply-To: <4B758082.2060007@manor-farm.org> (Ian Barton's message of "Fri\, 12 Feb 2010 16\:23\:30 +0000") 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: lists@manor-farm.org Cc: emacs-orgmode@gnu.org Ian Barton 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