From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How do I create a drawer? Date: Wed, 25 Jan 2012 14:29:16 +0100 Message-ID: <874nvjgbbn.fsf@gmail.com> References: <30687.1327452372@alphaville> <8739b4p30t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq2wb-00079q-51 for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 08:31:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq2wZ-0007Zs-Kh for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 08:31:21 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:43273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq2wZ-0007Zm-6M for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 08:31:19 -0500 Received: by wera13 with SMTP id a13so2757722wer.0 for ; Wed, 25 Jan 2012 05:31:18 -0800 (PST) In-Reply-To: (Carsten Dominik's message of "Wed, 25 Jan 2012 13:16:12 +0000") 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: Carsten Dominik Cc: Bastien , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Hello, Carsten Dominik writes: > On 25.1.2012, at 09:03, Bastien wrote: > >> Nick Dokos writes: >> >>> 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. >> >> You can now complete drawer names using M-TAB. It will insert the >> drawer name and the ":END:" string. > > This is nice. But I think Olaf's patch would still be useful to > apply. And while we're at suggestions, it would be even better if the `org-insert-drawer' function supported regions. Regards, -- Nicolas Goaziou