From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik <carsten.dominik@gmail.com> Subject: Re: How do I create a drawer? Date: Wed, 25 Jan 2012 14:09:31 +0000 Message-ID: <E3542C71-443C-4F63-B57C-1FAD67D8EAB2@gmail.com> References: <30687.1327452372@alphaville> <8739b4p30t.fsf@gnu.org> <DB556B6D-1571-47A4-B8B4-8833B40A1CF4@gmail.com> <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: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([140.186.70.92]:34995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <carsten.dominik@gmail.com>) 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 <carsten.dominik@gmail.com>) 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 <carsten.dominik@gmail.com>) 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 <emacs-orgmode@gnu.org>; Wed, 25 Jan 2012 06:09:35 -0800 (PST) In-Reply-To: <874nvjgbbn.fsf@gmail.com> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <n.goaziou@gmail.com> Cc: Bastien <bzg@altern.org>, nicholas.dokos@hp.com, emacs-orgmode@gnu.org On 25.1.2012, at 13:29, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik <carsten.dominik@gmail.com> writes: > >> On 25.1.2012, at 09:03, Bastien wrote: >> >>> Nick Dokos <nicholas.dokos@hp.com> 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