From: Adam Spiers <orgmode@adamspiers.org>
To: emacs-orgmode@gnu.org
Subject: Re: Drawers
Date: Sat, 22 Dec 2007 12:16:21 +0000 [thread overview]
Message-ID: <20071222121621.GI13112@atlantic.linksys.moosehall> (raw)
In-Reply-To: <87ve98hqxa.fsf@bzg.ath.cx>
On Tue, Oct 16, 2007 at 12:57:37AM +0100, Bastien wrote:
> Richard G Riley <rileyrgdev@googlemail.com> 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.
next prev parent reply other threads:[~2007-12-22 12:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 21:54 Drawers Richard G Riley
2007-10-15 23:57 ` Drawers Bastien
2007-12-22 12:16 ` Adam Spiers [this message]
2008-01-03 17:01 ` Drawers Carsten Dominik
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=20071222121621.GI13112@atlantic.linksys.moosehall \
--to=orgmode@adamspiers.org \
--cc=emacs-orgmode@gnu.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).