emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Do not declare drawers to use them
Date: Sun, 20 Oct 2013 20:13:40 +0200	[thread overview]
Message-ID: <15535970-9B71-4CF7-8C89-8C9E2328D36C@gmail.com> (raw)
In-Reply-To: <87txgc3vvb.fsf@gmail.com>

Hello Nicolas,

I think one objection agains this patch is that, I think, MobileOrg relies on #+DRAWERS lines to be present to define drawers.  Maybe the MobileOrg maintainers for both Android and iOS can chime in here?

Otherwise I don't have a significant objection against this change.
I am wondering if it is going to introduce spurious drawers and parsing errors if someone happens to have a string :xxx: on a line by itself in the buffer.  This might be unlikely, but I am not really sure.
Comments?

- Carsten

On 20.10.2013, at 15:38, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
> 
> At the moment, in order to use a drawer, one has to declare its name
> through `org-drawers' variable or DRAWERS keyword first.
> 
> I'd like to simplify a bit the process and let the user create drawers
> on the fly instead. A valid name includes any word constituent, hyphen
> and underscore characters. Case isn't significant.
> 
> It also cleans the internals (i.e. some dynamically scoped variables are
> removed) and makes syntax more portable. But we lose completion for
> drawer names.
> 
> This patch is backward compatible, as long as previously user-defined
> drawers didn't include forbidden characters within their names.
> 
> WDYT?
> 
> 
> Regards,
> 
> -- 
> Nicolas Goaziou
> <0001-Remove-need-to-declare-drawers-before-using-them.patch>

  reply	other threads:[~2013-10-20 18:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20 13:38 [RFC] Do not declare drawers to use them Nicolas Goaziou
2013-10-20 18:13 ` Carsten Dominik [this message]
2013-10-21 10:03   ` Nicolas Goaziou
2013-10-21 10:21     ` Carsten Dominik
2013-10-31 20:43       ` Nicolas Goaziou
2013-10-21 17:37 ` Achim Gratz
2013-10-23 18:14   ` Nicolas Goaziou
2013-11-02 21:45 ` Samuel Wales
2013-11-02 21:48   ` Samuel Wales
2013-11-02 21:52     ` Nicolas Goaziou
2013-11-02 22:44       ` Samuel Wales
2013-11-02 22:47         ` Nicolas Goaziou
2013-11-02 22:56           ` Samuel Wales
2013-11-02 23:01             ` Nicolas Goaziou

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=15535970-9B71-4CF7-8C89-8C9E2328D36C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.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).