From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: org-insert-drawer completion targets Date: Wed, 29 Oct 2014 11:10:18 -0700 Message-ID: <87r3xqd9x1.fsf@ericabrahamsen.net> References: <1414604159.555450.184772725.66DDD784@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXcg-0008RE-1z for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 14:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjXcZ-0002tt-O1 for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 14:05:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:35459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXcZ-0002th-Gi for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 14:05:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XjXcY-0007JI-DU for emacs-orgmode@gnu.org; Wed, 29 Oct 2014 19:05:22 +0100 Received: from c-76-28-195-250.hsd1.wa.comcast.net ([76.28.195.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Oct 2014 19:05:22 +0100 Received: from eric by c-76-28-195-250.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Oct 2014 19:05:22 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Tyler Smith 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