Re: [O] Proposal for new document-level syntax

2019-06-06 Thread Marco Wahl
Norman Walsh writes: > Gustav Wikström writes: >> I propose a "document" element in org-element, a property-drawer on >> document-level, a setting-drawer on document-level and >> property-keywords (slightly different than what already exist). And >> would like your comments regarding tha

Re: [O] Proposal for new document-level syntax

2019-06-06 Thread Gustav Wikström
Hi again, This became a bit long, so the most important thing is repeated here in the top: I think there is merit to the idea of a file/document/buffer being seen as a level-0 node. I think we'd benefit by adhering to the principles for outline nodes also for the document-node (level-0 node) as m

Re: [O] Proposal for new document-level syntax

2019-06-03 Thread Nicolas Goaziou
Hello, Gustav Wikström 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

Re: [O] Proposal for new document-level syntax

2019-06-02 Thread Samuel Wales
if the question is properties and settings, and not anything else, then perhaps a solution could be to put them on a dedicated header, and then the user can move them to top or bottom as desired. the name of this meta or level 0 header could be set in a variable. perhaps alraedy considered or sug

Re: [O] Proposal for new document-level syntax

2019-06-02 Thread Norman Walsh
Gustav Wikström writes: > I propose a "document" element in org-element, a property-drawer on > document-level, a setting-drawer on document-level and > property-keywords (slightly different than what already exist). And > would like your comments regarding that! When I started searching

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Gustav Wikström
Hi Nicolas, > -Original Message- > From: Nicolas Goaziou > Sent: den 1 juni 2019 23:01 > To: Gustav Wikström > Cc: emacs-orgmode@gnu.org > Subject: Re: Proposal for new document-level syntax > > I only skimmed over your proposal, as I don't have much time. I'm sorry > if you answered th

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Nicolas Goaziou
Hello, Gustav Wikström writes: > I propose to allow properties to be defined also as document property > keywords. All keywords in the top of a buffer, before any non-comment > line, are document-level keywords. In effect, they are properties that > apply in exactly the same way as prope

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Gustav Wikström
Hi Eric! > -Original Message- > From: Fraga, Eric > Sent: den 1 juni 2019 15:18 > To: Gustav Wikström > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] Proposal for new document-level syntax > > For me, however, your proposed structure would clash strongly with my

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Fraga, Eric
On Saturday, 1 Jun 2019 at 15:45, Achim Gratz wrote: > If the customization data isn't visible by default, does that address > your concerns? It might indeed. Depends on how intrusive it is and how easy it is to manage. But having said this, and my previous email, don't take my views too much i

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Achim Gratz
Fraga, Eric writes: > For me, however, your proposed structure would clash strongly with my > usual working practice. Specifically, I put all customizations and > settings at the end of my documents, along with, for instance, Emacs > file local variables. These are things I do not change often an

Re: [O] Proposal for new document-level syntax

2019-06-01 Thread Fraga, Eric
On Saturday, 1 Jun 2019 at 10:15, Gustav Wikström wrote: > I propose a "document" element in org-element, a property-drawer on > document-level, a setting-drawer on document-level and > property-keywords (slightly different than what already exist). And > would like your comments regarding