emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Drawers and visibility cycling
Date: Mon, 29 Dec 2014 20:08:17 +0800	[thread overview]
Message-ID: <878uhqy7ym.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87y4pr0w5r.fsf@stevenarntson.com

Steven Arntson <steven@stevenarntson.com> writes:

> Steven Arntson <steven@stevenarntson.com> writes:
>
>> Bob Newell <bobnewell@bobnewell.net> writes:
>>
>>> Steven Arntson <steven@stevenarntson.com> writes:
>>>
>>>> Here's my "not working" process:
>>>>
>>>> + type some sample text.
>>>> + select the region and do `C-c C-x d'
>>>> + I'm queried for the title of the drawer and type "test"
>>>>
>>>> The result looks like this:
>>>>
>>>> :testdrawer:
>>>> test content
>>>> :END:
>>>
>>> I've always had to put the drawer title in a line with all the drawer
>>> names like this:
>>>
>>> #+DRAWERS: EXPANSION PROPERTIES CLOCK LOGBOOK TESTDRAWER
>>
>> I gave this a try, adding
>>
>> #+DRAWERS: DATA
>>
>> and then created a drawer:
>>
>> :DATA:
>> test data
>> :END:
>>
>> and I still can't get it to do anything when I put point on `DATA'. I
>> did `C-h k' just to verify that TAB is running `org-cycle', which it is.
>> I'm perplexed!
>
>
> For the list: Bob wrote me the solution over email:
>
>> Try closing the file and reopening. You have to force a re-read and
>>         re-eval. There is another way to do this but I can't recall it
>> quickly.

C-c C-c on any of the header lines at the top of the file! In this case,
in particular, the #+DRAWERS line.

> It worked perfectly.
>
> Thank you!
> steven

      reply	other threads:[~2014-12-29 12:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29  0:59 Drawers and visibility cycling Steven Arntson
2014-12-29  1:29 ` Bob Newell
2014-12-29  1:47   ` Steven Arntson
2014-12-29  7:09     ` Steven Arntson
2014-12-29 12:08       ` Eric Abrahamsen [this message]

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=878uhqy7ym.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).