From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How do I create a drawer? Date: Wed, 25 Jan 2012 14:09:31 +0000 Message-ID: References: <30687.1327452372@alphaville> <8739b4p30t.fsf@gnu.org> <874nvjgbbn.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq3Xs-0001B3-2G for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 09:10:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq3Xb-0007n2-VD for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 09:09:51 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:58436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq3Xb-0007mY-Qd for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 09:09:35 -0500 Received: by wera13 with SMTP id a13so2800819wer.0 for ; Wed, 25 Jan 2012 06:09:35 -0800 (PST) In-Reply-To: <874nvjgbbn.fsf@gmail.com> 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: Nicolas Goaziou Cc: Bastien , nicholas.dokos@hp.com, emacs-orgmode@gnu.org On 25.1.2012, at 13:29, Nicolas Goaziou wrote: > 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. Meaning it should insert the drawer in every headline in the region? - Carsten > > > Regards, > > -- > Nicolas Goaziou