From: Carsten Dominik <dominik@science.uva.nl>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Drawers for plain old stuff
Date: Sat, 3 May 2008 12:42:27 +0200 [thread overview]
Message-ID: <BC3F7C8E-8712-480A-A603-FA68171EFB5F@science.uva.nl> (raw)
In-Reply-To: <7bef1f890805030219p28401e30y93ecf10a3421c206@mail.gmail.com>
On May 3, 2008, at 11:19 AM, Alan E. Davis wrote:
> I finally got drawers to work to hide some plain old stuff that is
> too massive to be in the way all the time. Is it me, or are drawers
> somewhat capricious? I had a drawer working, then moved more
> stuff into it, and it cannot find the :END: line anymore. So here
> are a few questions.
>
> - Can I have two drawers by the same name in a file
Yes.
>
> - What kind of information is forbidden in a drawer (that will not
> enable the finding of the :END: line)?
You cannot nest drawers, a drawer ends at the first :END: line, the
end must
be before the next headline.
> - Can I make up names for Drawers on the fly? Maybe a regular
> expression name would be configured?
You can globally define the drawers using the variable `org-drawers'.
Or you can have a
#+DRAWERS: CLOCK PROPERTIES HIDETHIS HIDETHAT TOOBIG TOOUGLY
line in the buffer. Just press C-c C-c after changing
the line and you are good do go.
There is currently no way to define a regular expression for this.
Possible, but you would need to come up with a convincing
use case before I would implement this.
> - Are blank lines anethema to drawers?
No.
> - Is there a size limit?
No.
However, the drawer cannot contain a headline, i.e. a line starting with
one or several stars followed by a space character. Most likely,
this is what was causing you problems?
- Carsten
> Thank you, as I think this is a great feature. Org-mode is becoming
> more and more interesting as I begin to understand some of the
> complexities.
>
> Alan
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-05-03 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-03 9:19 Drawers for plain old stuff Alan E. Davis
2008-05-03 10:42 ` Carsten Dominik [this message]
2008-05-05 13:29 ` Alan E. Davis
2008-05-06 7:24 ` Carsten Dominik
2008-05-06 22:01 ` Daniel J. Sinder
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=BC3F7C8E-8712-480A-A603-FA68171EFB5F@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=lngndvs@gmail.com \
/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).