From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?Windows-1252?Q?Gustav_Wikstr=F6m?= Subject: Re: [RFC] Document level property drawer Date: Wed, 23 Oct 2019 08:59:43 +0000 Message-ID: References: , <844kzzc0n3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52234) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNCUg-0005dW-LV for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 04:59:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNCUe-0002Cp-Rr for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 04:59:50 -0400 Received: from mail-eopbgr20117.outbound.protection.outlook.com ([40.107.2.117]:21894 helo=EUR02-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNCUe-0002Cb-Eu for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 04:59:48 -0400 In-Reply-To: <844kzzc0n3.fsf@gmail.com> Content-Language: en-US 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: Marco Wahl Hi,=0A= =0A= > One issue for me is the positioning of the level 0 property drawer.=0A= > Having the requirement for that drawer starting in the very first=0A= > line is too strong for me. I guess one would at least like to have=0A= > the option to add some configuration with the =91-*-...-*-=92 construct= =0A= > which currently only works in the first line.=0A= =0A= Hmm, that should work right now. 0..n comment lines are supposed to be=0A= allowed anyways. I can debug that a bit later to see if something has=0A= gone amiss.=0A= =0A= > Further I think one would also like to place #+: configuration lines=0A= > there in particular the #+title: line. What about allowing lines=0A= > starting with character # above the level 0 property drawer? And put=0A= > a newly created level 0 property drawer below the first line in the=0A= > file that does not start with #?=0A= =0A= The first patch allowed both coments ("# "-lines) and keyword lines=0A= (#+...:) as well. But I removed keyword lines for now to start with a=0A= bit more strict definition, per request from Nicolas. I think the=0A= parser will be happy if there is as little information abouve the=0A= drawer as possible, since it will have to retrace itself from the=0A= first line of the buffer every time it needs to verify that the drawer=0A= actually is the "proper" property drawer. If that makes sense. So the=0A= more restrictive we can allow us to be, the better the performance and=0A= the easier it will be to understand where the drawer goes. And less=0A= complexity.=0A= =0A= Happy to get more feedback on that decision though!=0A= =0A= Thanks! Gustav=