I can't figure this out...
I use a basic org-capture template:
(setq
org-capture-templates
\
(`
("t" "Task" entry (file "~/.config/emacs/journal/tasks.org")
"* TODO %?\n\n %U\n %a\n %i" :empty-lines 1)
("i" "Idea" entry (file "~/.config/emacs/journal/ideas.org")
"* IDEA %?\n\n %U\n %a\n %i" :empty-lines 1)
("j" "Journal" entry (file+datetree "~/.config/emacs/journal/journal.org")
"* %?\n %i\n")
)
)
When I start the capture and select 'j' to create a Journal entry, my first line has 7 stars. This causes the entry to start too far to the right and it looks weird. I can't figure out why so many stars? Instead of 7, I expect maybe 4 stars:
* Year
** Year-Month
*** Year-Month-Day
**** new journal entry goes here
In an effort to learn elisp and try to fix the problem, I tried to modify org-datetree.el in the ~/.emacs/elpa/org-9.5.1 directory and recompile via emacs-lisp-recompile function after visiting the file. My modifications change the output (I removed tabs for example), but then it removes all of the dates! I don't want to mess too much with the el file as my configuration is getting to a nice stable state.
Any ideas why so many stars? Thanks in advance for looking at this!