emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-insert-drawer completion targets
Date: Wed, 29 Oct 2014 11:10:18 -0700	[thread overview]
Message-ID: <87r3xqd9x1.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 1414604159.555450.184772725.66DDD784@webmail.messagingengine.com

Tyler Smith <tyler@plantarum.ca> writes:

> Hello,
>
> I'm trying to figure out how drawers work. I see that `C-c C-x d`
> provides automatic drawer insertion, and wraps around the region if
> active. However, `LOGBOOK` is explicitly excluded from the completion
> targets. However, I don't see another way to add a LOGBOOK without
> typing the word out manually. This seems strange - is there another
> shortcut for adding LOGBOOK drawers? If not, why isn't it allowed as a
> completion target?
>
> I'm not complaining, just confused about the preferred workflow for
> LOGBOOK drawers.

If you've got org-log-into-drawer set to a non-nil value, the drawer
should be created automatically for you the first time you take a note
on the heading (org-add-note), or switch TODO states in such a way that
records a state-change note. Those are the two purposes of the LOGBOOK
drawer, so you might as well use one or the other to create the drawer.

HTH,
Eric

  reply	other threads:[~2014-10-29 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 17:35 org-insert-drawer completion targets Tyler Smith
2014-10-29 18:10 ` Eric Abrahamsen [this message]
2014-10-30 15:07   ` Tyler Smith

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=87r3xqd9x1.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).