2021年3月10日星期三

How to get org file "Title" and other file-level properties from an arbitrary file?

I have files with this format

#+TITLE: Magit Cheatsheet  :PROPERTIES:  :Status: Open  :Tags: tools, emacs, org, magit  :Creation: [2021-03-03 Wed]  :END:  

I'd like to be able to read the title and these properties for a given file name (not the currently open file) with elisp. I found this but it isn't working for me and seems too complex for something as simple as this.

https://stackoverflow.com/questions/66574715/how-to-get-org-file-title-and-other-file-level-properties-from-an-arbitrary-fi March 11, 2021 at 08:11AM

没有评论:

发表评论