emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: How do I create a drawer?
Date: Thu, 26 Jan 2012 09:28:37 +0100	[thread overview]
Message-ID: <87y5sug956.fsf@gnu.org> (raw)
In-Reply-To: <87vcnzeo8d.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 25 Jan 2012 17:33:22 +0100")

Hi Nicolas,

Nicolas Goaziou <n.goaziou@gmail.com> 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

  reply	other threads:[~2012-01-26  8:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25  0:46 How do I create a drawer? Nick Dokos
2012-01-25  8:29 ` Olaf Dietsche
2012-01-25 14:25   ` Bastien
2012-01-25  8:44 ` Russell Adams
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 [this message]
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87y5sug956.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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