From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: How do I create a drawer? Date: Wed, 25 Jan 2012 02:44:55 -0600 Message-ID: <20120125084455.GM3438@x201> References: <30687.1327452372@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpyTl-00065l-06 for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 03:45:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpyTZ-0003k2-Sf for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 03:45:16 -0500 Received: from jack.asmallorange.com ([74.52.119.82]:55638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpyTZ-0003hW-PR for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 03:45:05 -0500 Received: from [64.134.98.69] (helo=localhost) by jack.asmallorange.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1RpyTU-0037ee-G8 for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 03:45:00 -0500 Content-Disposition: inline In-Reply-To: <30687.1327452372@alphaville> 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 On Tue, Jan 24, 2012 at 07:46:12PM -0500, Nick Dokos wrote: > > The only way I found so far to create a drawer is to actually type the > damn thing in (I'm talking about my own drawers, not the special > drawers that org knows something about). I didn't find any utility > functions to insert drawers (except for :PROPERTIES:), and somewhat to > my surprise, completion does not seem to work for drawer names: I > expected typing a colon and M-TAB would allow me to use drawer names for > completion, but it seems to only care about property keys, even if I'm > not in the context of a :PROPERTIES: drawer. Am I missing something? Nick, I'd suggest you look at a tool like yas-snippet, which allows template insertion into any mode of all kinds of text templates. When I do drawers that follow a regular format, that's what I use. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3