emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems Setting Drawers in .emacs
@ 2010-02-12 16:23 Ian Barton
  2010-02-12 19:14 ` Matt Lundin
  2010-02-16  1:47 ` Bernt Hansen
  0 siblings, 2 replies; 6+ messages in thread
From: Ian Barton @ 2010-02-12 16:23 UTC (permalink / raw)
  To: emacs-orgmode

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.

If I define a drawer in my org file like:

#+DRAWERS: NOTES

this works correctly. Clearly something has got messed up in my setup, 
but I can't work out what it might be.  have moved the org-drawers 
definition near to the top of blacky.el to no effect.

I have also tried deleting my git repo and doing a new checkout.

Before I take the axe to my org configuration and start chopping bits 
off to find out where the problem is, can anyone suggest any reason why 
this might happen?

Ian.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Problems Setting Drawers in .emacs
@ 2012-08-27  4:39 Rodolfo Aramayo
  2012-08-27  5:10 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Rodolfo Aramayo @ 2012-08-27  4:39 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I am having essentially the same problem described on the following thread:

http://thread.gmane.org/gmane.emacs.orgmode/22263

Which is essentially:

when I define in my .emacs file:

;; Define some default drawers.
(setq org-drawers (quote ("PROPERTIES" "SETUP")))

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
indicates that org isn't recognising them as drawers.
If I however define a drawer in my org file like:
#+DRAWERS: NOTES
this works correctly

I am using Org-mode version 7.8.11 and GNU Emacs 24.1.1
(x86_64-apple-darwin10.8.0)

Are there any known fixes for this issue?

Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-27 19:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

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).