karlicoss / orgparse

Python module for reading Emacs org-mode files
https://orgparse.readthedocs.org
BSD 2-Clause "Simplified" License
371 stars 43 forks source link

Allow to pass a custom OrgEnv instance when loading content #19

Closed schlagenhauf closed 4 years ago

schlagenhauf commented 4 years ago

In the current implementation the OrgEnv instance is created inside the parse_lines() method with the only customizable argument being the filename. In this change the methods load()/loads()/loadi() are extended by an optional env argument to pass it in when loading content.

Fixes #18

karlicoss commented 4 years ago

Sweet, looks great, thanks!

I'll release it on pypi later tonight/tomorrow morning!

karlicoss commented 4 years ago

Done! Feels good to finally automate releases from CI based on git tags.

schlagenhauf commented 4 years ago

Awesome, thank you for your super fast response time! Just noticed the CI additions, great stuff!