emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: lists@manor-farm.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Problems Setting Drawers in .emacs
Date: Mon, 15 Feb 2010 20:47:53 -0500	[thread overview]
Message-ID: <87bpfqrlx2.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <4B758082.2060007@manor-farm.org> (Ian Barton's message of "Fri\, 12 Feb 2010 16\:23\:30 +0000")

Ian Barton <lists@manor-farm.org> 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

  parent reply	other threads:[~2010-02-16  1:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 16:23 Problems Setting Drawers in .emacs Ian Barton
2010-02-12 19:14 ` Matt Lundin
2010-02-16  1:47 ` Bernt Hansen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-27  4:39 Rodolfo Aramayo
2012-08-27  5:10 ` Nick Dokos
2012-08-27 19:26   ` Rodolfo Aramayo

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpfqrlx2.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@manor-farm.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).