-
Notifications
You must be signed in to change notification settings - Fork 9
[Feature request] parse the content of outline level 0 #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How are 2 and 3 different? They both provide a toplevel "YEAR" property to any headline in the buffer if queried with
I'm not sure what you mean by this
Good to know, I didn't realize this. I don't have lots of time to prioritize writing code for this now but if you want to continue this feel free to do so. |
You are right they are just different ways to tell the same.
By that I meant other elements like links, timestamps, paragraphs, bullet lists, clocks. By including the top level into the table
I understand, thanks for the answers. I am not an experienced in elisp but at least I can try, the issue you mentioned is good hint. |
Hi! I'm the developer of org-node, very similar to org-roam. I empathize with the issue; having to support the content-before-first-heading increases the amount of LoC everywhere. Upstream Org actually lacks some helper code for this case. For example, If I could wind back time, I might actually skip ever supporting the content-before-first-heading, and require that users put in at least one heading. It costs users little (they just have to run Anyway. Hit me up if you get stuck at any point, I can probably give pointers! |
Hello,
some of my org files have some content before the first headline:
Now everything above the first heading ends inside the column
outline_preamble
of the tableoutlines
.I would say the content before the first heading is "officialy" approved from the org-mode 9.6 and it is named as the level 0:
I have read your comment and I understand the reasoning related to finding the proper schema for properties on the top level. I think there are three ways of properties/attributes/metadata declaration on the level zero and they are not equivalent to my knowledge (Setting Properties for org-mode whole buffers).
But it seems to me that the other content fits quite good as the level zero to the current schema of org-sql tables (at least that is my naive point of view). Hey I know it is not for free so the label 'feature request'.
My other argument is that it used to be quite a niche (to have content on the top level) but it seems to me there is a rising community of users around org-roam or denote who use it rudimentary (many small level zero like org-mode files rather than several files with dense headings). These are potential users of org-sql. I myself use both denote and the classical org style with headings.
Thanks for potentially considering this.
The text was updated successfully, but these errors were encountered: