From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How do I create a drawer? Date: Thu, 26 Jan 2012 09:28:37 +0100 Message-ID: <87y5sug956.fsf@gnu.org> References: <30687.1327452372@alphaville> <8739b4p30t.fsf@gnu.org> <874nvjgbbn.fsf@gmail.com> <87zkdbeuji.fsf@gmail.com> <878vkvg8m5.fsf@gnu.org> <87vcnzeo8d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqKgB-0004kL-MJ for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 03:27:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqKg5-0008Jt-Tb for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 03:27:35 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:43520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqKg5-0008Jk-OY for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 03:27:29 -0500 Received: by wgbds1 with SMTP id ds1so210497wgb.30 for ; Thu, 26 Jan 2012 00:27:28 -0800 (PST) In-Reply-To: <87vcnzeo8d.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 25 Jan 2012 17:33:22 +0100") 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: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Carsten Dominik Hi Nicolas, Nicolas Goaziou writes: > Therefore, I suggest the following draft of a patch, that mostly reverts > commit splitting `org-insert-property-drawer' and makes > `org-insert-drawer' more user friendly. It provides the following > facilities: > > - headline inclusion check, > - drawer insertion without requiring an headline above, > - skip trailing blank lines (i.e. to wrap buffer around a just marked > paragraph), > - Ignore system drawer's names in completion list. > > What do you think? I think it's good -- thanks for the patch. I just pushed a slightly modified version of it, adding `C-c C-x d' as a keybinding for `org-insert-drawer', and adding the possibility to call `org-insert-property-drawer' from `org-insert-drawer' directly using a prefix argument. I agree special drawers should not be offered in the completion table, but it's still using to be able to quickly insert a property drawer, especially in combination with property completion. Anyway, I think we moved in the right direction. Thanks again! -- Bastien