From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [RFC] Do not declare drawers to use them Date: Sun, 20 Oct 2013 20:13:40 +0200 Message-ID: <15535970-9B71-4CF7-8C89-8C9E2328D36C@gmail.com> References: <87txgc3vvb.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxVf-0002lu-Fd for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXxVX-0000WT-27 for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:13:51 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:64048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxVW-0000WN-Rg for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:13:42 -0400 Received: by mail-we0-f174.google.com with SMTP id u56so5570002wes.5 for ; Sun, 20 Oct 2013 11:13:41 -0700 (PDT) In-Reply-To: <87txgc3vvb.fsf@gmail.com> 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: Org Mode List 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 wrote: > Hello, >=20 > At the moment, in order to use a drawer, one has to declare its name > through `org-drawers' variable or DRAWERS keyword first. >=20 > 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. >=20 > 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. >=20 > This patch is backward compatible, as long as previously user-defined > drawers didn't include forbidden characters within their names. >=20 > WDYT? >=20 >=20 > Regards, >=20 > --=20 > Nicolas Goaziou > <0001-Remove-need-to-declare-drawers-before-using-them.patch>