emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dieter Schoen <dieter@schoen.or.at>
To: Steven Arntson <steven@stevenarntson.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: new to drawers
Date: Sun, 11 May 2014 00:38:15 +0200	[thread overview]
Message-ID: <87lhu9tg2w.wl%dieter@schoen.or.at> (raw)
In-Reply-To: <87a9apzbwm.fsf@stevenarntson.com>

At Sat, 10 May 2014 12:11:53 -0700,
Steven Arntson wrote:
> 
> I'm having trouble getting drawers to collapse, and am wondering if I'm
> misunderstanding their nature. I make an active region in an org-mode
> doc on, for instance, "sample text" and invoke C-c C-x d, which invites
> me to name the drawer. I name it "test," and RET, which gives me:
> 
> :test:
> sample text
> :END:
>  
> 
> ":END:" is colored green by org-mode, but "test" isn't.
> 
> And it won't go through any kind of visibility cycle. I've tried [TAB]
> and shift+TAB, and shift+arrowkey, and don't get any response. Using
> emacs 24.3.1 and org 7.9.3f. What am I doing wrong?

i can confirm this behaviour, it's the same over here.
something is recognised as drawer if its name is either in the list
'org-drawers or defined in the current file with #+DRAWERS.

try to add "test" either to org-drawers
e.g.
(setq org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "test2"))

or add it to the file's headers:
#+DRAWERS: HIDDEN STATE PROPERTIES BIG  low

and revert the buffer, if it's already open.
as a hint: in my settings, a drawer is colored green.
if you use an undefined string for a drawer name, it is white. so you quickly
see, if your string is a defined drawer.
and another, you can get completetions with TAB when you do C-c C-x d, your
string should be in the list.

kind regards,
dieter

  reply	other threads:[~2014-05-10 22:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10 19:11 new to drawers Steven Arntson
2014-05-10 22:38 ` Dieter Schoen [this message]
2014-05-10 22:43   ` Dieter Schoen
2014-05-11  5:37     ` Steven Arntson
2014-05-11  6:06       ` Achim Gratz
2014-05-11 12:02         ` Nick Dokos
2014-05-11 14:44           ` Dieter Schön
2014-05-11 14:45           ` Dieter Schön
2014-05-21 13:31           ` Bastien
2014-05-21 13:42             ` Nick Dokos

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=87lhu9tg2w.wl%dieter@schoen.or.at \
    --to=dieter@schoen.or.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=steven@stevenarntson.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).