From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Drawers Date: Sat, 22 Dec 2007 12:16:21 +0000 Message-ID: <20071222121621.GI13112@atlantic.linksys.moosehall> References: <87ve98hqxa.fsf@bzg.ath.cx> Reply-To: Adam Spiers 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 1J63HF-0004nm-SK for emacs-orgmode@gnu.org; Sat, 22 Dec 2007 07:16:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J63HE-0004mi-CI for emacs-orgmode@gnu.org; Sat, 22 Dec 2007 07:16:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J63HE-0004mf-5k for emacs-orgmode@gnu.org; Sat, 22 Dec 2007 07:16:24 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J63HE-00012M-91 for emacs-orgmode@gnu.org; Sat, 22 Dec 2007 07:16:24 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lBMCGMlZ017206 for ; Sat, 22 Dec 2007 06:16:22 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lBMCGLj0017200 for emacs-orgmode@gnu.org; Sat, 22 Dec 2007 12:16:21 GMT Content-Disposition: inline In-Reply-To: <87ve98hqxa.fsf@bzg.ath.cx> 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: emacs-orgmode@gnu.org On Tue, Oct 16, 2007 at 12:57:37AM +0100, Bastien wrote: > Richard G Riley writes: > > > Is is possible to specify file specific drawers? > > Put this at the end of your .org file: > > # Local Variables: > # org-drawers: '("PROPERTIES" "CLOCK" "MYDRAW") > # End: > > This is a general Emacs mechanism for setting local variable: check it > out here: (info "(emacs)Specifying File Variables") I only just noticed that since 5.13 #+DRAWERS is available for per-file customization - very nice. However, I still had the above syntax in my files, and it appears that quoting the list breaks a number of things including export: Debugger entered--Lisp error: (wrong-type-argument sequencep quote) mapconcat(identity (quote ("HIDE" "STATE" "PROPERTIES" "CLOCK")) "\\|") org-cleaned-string-for-export(#("\n* [... snip ...] org-export-as-ascii(nil) call-interactively(org-export-as-ascii) org-export() call-interactively(org-export) M-x set-variable also spots something is wrong if you include the quote: set-variable: Value `(quote ("HIDE" "STATE" "PROPERTIES" "CLOCK"))' does not match type repeat of org-drawers In other words, if you wanted to use Local Variables rather than #+DRAWERS (though I can't think why you would now that #+DRAWERS is available), then presumably it should be: # Local Variables: # org-drawers: ("PROPERTIES" "CLOCK" "MYDRAW") # End: However, even that doesn't work for me. Oh well, I'm scrapping it anyway in favour of #+DRAWERS. On a related note, please could HIDE or HIDDEN be included in the default org-drawers list? Seems like a common enough use case to justify being a default, and I can't imagine it annoying anyone who doesn't need it.