org-journal icon indicating copy to clipboard operation
org-journal copied to clipboard

Journal into org datetree file (like capture mode does)

Open timoc opened this issue 6 years ago • 10 comments

I would like to be able to use datetree's for journaling, rather than per day note files. Or at least support datetrees generation from a note file folder.

timoc avatar Nov 24 '17 15:11 timoc

What are datetrees?

bastibe avatar Nov 24 '17 17:11 bastibe

They are note very well documented, but they are a part of a capture process. In the org manual they are mentioned as a capture type: http://orgmode.org/org.html#Template-elements

In essence they generate a 'tree of dates':

* 2017
** December
*** Friday December 1st 
Captured text.

This and subtree hiding is what i was using for journaling into a single document before. I am getting more used to your scheme though.

timoc avatar Dec 01 '17 12:12 timoc

It would be relatively easy to implement this structure in every daily file by modifying org-journal-date-format. But I guess this structure makes more sense if you have one big file instead of many daily files. I guess you could modify org-journal-file-format to always refer to the same file, but that would kind of defeat the purpose of org-journal.

bastibe avatar Dec 01 '17 12:12 bastibe

I have a requirement, i want to be able to journal into a date tree file as a way of tracking the contents of regular meetings, as a form of meeting minutes or log. The advantage of a single file, is that the meeting history is in one buffer i can also embed a separate todo_seq workflow and publishing strategy. Nice too if i can have a journal entry with a link!

timoc avatar Jan 17 '18 15:01 timoc

Honestly, I am not sure if org-journal is the right tool for the job. As I said before, you can probably make it do what you want, but it would probably be much easier to write a short function that inserts a new header in your date tree file.

bastibe avatar Jan 17 '18 19:01 bastibe

You may be able to use my org-reverse-datetree package for this purpose.

akirak avatar Oct 13 '19 05:10 akirak

@akirak Thanks for pointing that out. Your package requires Emacs 26.1 but org-journal supports Emacs 25.2+. Anyway, I'll have a look at this.

casch-at avatar Oct 13 '19 08:10 casch-at

I think the datatree is much more 'organized' than current format

BobCromwell avatar Dec 29 '19 08:12 BobCromwell

This is an old issue but I would like to add my support for having a datetree as an option for the journaling structure. It would make it much easier to navigate the journal file(s) manually which I sometimes like to do. In org-roam-dailies, you can also choose to organize the tree by year-weeknumber-weekday which is nice, but I want the carryover function of org-journal. Datetrees are neat and nice and don't give me panic attacks from overwhelm because of long lists.

thriveth avatar Mar 07 '23 14:03 thriveth

If anyone wants to contribute a pull request, we'll be happy to review and merge it!

bastibe avatar Mar 08 '23 07:03 bastibe