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.goaz...@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>