bastibe / org-journal

A simple org-mode based journaling mode
BSD 3-Clause "New" or "Revised" License
1.24k stars 123 forks source link

Use full outline path for journal entries created through org-capture on org nodes #349

Open wehlutyk opened 3 years ago

wehlutyk commented 3 years ago

Is your feature request related to a problem? Please describe. When creating a journal entry through org-capture on an org node, I often would like the complete outline path of the org node to appear as description, not simply the final title. For instance:

* Tasks
** Project X
*** Item 1  <--

is currently captured in the journal as Item 1, and I would like a way to capture it as Tasks/Project X/Item 1, or Project X/Item 1.

Describe the solution you'd like I'm not knowledgeable enough in org-store-link and org-capture templates, so I can't propose an implementation. What I would like is maybe an option for org-journal which lets me activate the above behaviour, or a function to use in the org-capture templates which I could use instead of %a to get the above behaviour.

In the case of the org-journal option, maybe this could be implemented through a particular handling of links like here?

Describe alternatives you've considered The two alternatives above are the only ways I see of doing this.

bastibe commented 3 years ago

Thank you for your bug report. I believe this is an issue with org-capture, not org journal.