emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: How do I create a drawer?
Date: Wed, 25 Jan 2012 02:44:55 -0600	[thread overview]
Message-ID: <20120125084455.GM3438@x201> (raw)
In-Reply-To: <30687.1327452372@alphaville>

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?


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

  parent reply	other threads:[~2012-01-25  8:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25  0:46 Nick Dokos
2012-01-25  8:29 ` Olaf Dietsche
2012-01-25 14:25   ` Bastien
2012-01-25  8:44 ` Russell Adams [this message]
2012-01-25  9:03 ` Bastien
2012-01-25  9:17   ` Rainer M Krug
2012-01-25 13:16   ` Carsten Dominik
2012-01-25 13:29     ` Nicolas Goaziou
2012-01-25 14:09       ` Carsten Dominik
2012-01-25 14:17         ` Nicolas Goaziou
2012-01-25 14:27           ` Bastien
2012-01-25 16:33             ` Nicolas Goaziou
2012-01-26  8:28               ` Bastien
2012-01-25 14:26     ` Bastien
2012-01-25 14:34       ` Nick Dokos
2012-01-26  1:46         ` François Pinard

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:

  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=20120125084455.GM3438@x201 \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: How do I create a drawer?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).