From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolfo Aramayo Subject: Re: Problems Setting Drawers in .emacs Date: Mon, 27 Aug 2012 14:26:38 -0500 Message-ID: References: <21081.1346044216@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64y2-0006Qb-9Y for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 15:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T64y1-0007vW-0h for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 15:27:22 -0400 Received: from mail-gg0-f169.google.com ([209.85.161.169]:49379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64y0-0007vS-Su for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 15:27:20 -0400 Received: by ggnf4 with SMTP id f4so936696ggn.0 for ; Mon, 27 Aug 2012 12:27:20 -0700 (PDT) Received: by qcsd16 with SMTP id d16so3480228qcs.0 for ; Mon, 27 Aug 2012 12:27:18 -0700 (PDT) In-Reply-To: <21081.1346044216@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Thanks Nick You are right, something in my .emacs file was causing this --Rodolfo On Mon, Aug 27, 2012 at 12:10 AM, Nick Dokos wrote: > Rodolfo Aramayo wrote: > >> 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? >> > > I cannot reproduce this. With the appended minimal .emacs, > I get completion on the drawer names and as far as I can tell > everything works. > > Nick > > Org-mode version 7.8.11 (release_7.8.11-605-g5f273b @ /home/nick/elisp/org-mode/lisp/) > > --8<---------------cut here---------------start------------->8--- > ;;; -*- mode: emacs-lisp -*- > ;;; constant part > (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) > (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/contrib/lisp")) > > (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) > > (require 'org-install) > > (setq debug-on-error t) > (setq debug-on-quit t) > (setq eval-expression-print-length nil) > (setq eval-expression-print-level nil) > > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > > ;; Define some default drawers. > (setq org-drawers (quote ("PROPERTIES" "SETUP" "NOTES"))) > --8<---------------cut here---------------end--------------->8--- >