From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Proposal for new document-level syntax Date: Mon, 03 Jun 2019 22:39:57 +0200 Message-ID: <87ftoqv1wi.fsf@nicolasgoaziou.fr> References: <87r28dvx4p.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXtka-0003HA-7k for emacs-orgmode@gnu.org; Mon, 03 Jun 2019 16:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXtkZ-0000gR-5V for emacs-orgmode@gnu.org; Mon, 03 Jun 2019 16:40:12 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40963) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXtkY-0000N5-Uh for emacs-orgmode@gnu.org; Mon, 03 Jun 2019 16:40:11 -0400 In-Reply-To: ("Gustav =?utf-8?Q?Wikstr=C3=B6m=22's?= message of "Sat, 1 Jun 2019 23:08:52 +0000") 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" To: Gustav =?utf-8?Q?Wikstr=C3=B6m?= Cc: "emacs-orgmode@gnu.org" Hello, Gustav Wikstr=C3=B6m writes: > No worries. I think I explained but it can be further detailed. What I > mean is that any property you can think of should be possible to add > to a document as a keyword with the syntax: > > #+{PROPERTY}: {Value} IIRC, Org uses #+PROPERTY: {key} {value} Why "should" it be possible to use a different syntax? > But only at the beginning of a file, before any other content. The > only reason for defining properties like that is for them to be > visible outside of the property drawer. I'm thinking mostly of > =3D#+TITLE=3D and similar keywords. > > I'd like to depricate =3D#+PROPERTY:=3D since it breaks the outline > hierarchy and doens't follow the convention for how properties are > defined inside headlines. So the reason for this change is that keywords break the outline hierarchy? Well, keywords do not belong to the outline hierarchy in the first place. But syntax is not very different, either. > Removing the "old" way of defining properties for the whole buffer > will make property-syntax defined the same for documents and > headlines. With the slight extention of allowing arbitrary keywords to > stand for properties at the beginning of the buffer. Note that we > already have "document property keywords" in org-mode. Less limited > since they're not positionally contained. And only for a limited set > of keywords; the "export keywords". (See [[info:org#Export Settings]]) "Document property keyword" has no syntactical meaning. It is used for fontification. > In my opinion property drawers is the improvement which in time will=20 > make the existing property-keyword redundant. I still don't get how this is an improvement. What would you be able to do with properties drawers that you cannot do currently with regular keywords? This is a genuine question: I don't want to turn down your suggestion, but I think it entails a lot of changes, and I want to be sure there is a real benefit to it. Regards, --=20 Nicolas Goaziou