1 line
2 KiB
Plaintext
1 line
2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I can't figure this out...</p> <p>I use a basic org-capture template:</p> <p><code>(setq</code> </p> <p><code>org-capture-templates</code></p> <p><code>\</code>(`</p> <p><code>("t" "Task" entry (file "~/.config/emacs/journal/tasks.org")</code></p> <p><code>"* TODO %?\n\n %U\n %a\n %i" :empty-lines 1)</code></p> <p><code>("i" "Idea" entry (file "~/.config/emacs/journal/ideas.org")</code></p> <p><code>"* IDEA %?\n\n %U\n %a\n %i" :empty-lines 1)</code></p> <p><code>("j" "Journal" entry (file+datetree "~/.config/emacs/journal/journal.org")</code></p> <p><code>"* %?\n %i\n")</code></p> <p><code>)</code></p> <p><code>)</code></p> <p>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:</p> <p>* Year<br/> ** Year-Month<br/> *** Year-Month-Day<br/> **** new journal entry goes here</p> <p>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.</p> <p>Any ideas why so many stars? Thanks in advance for looking at this!</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Personal-Heat-8980"> /u/Personal-Heat-8980 </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/rippn4/datetree_insert_extra_stars/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/rippn4/datetree_insert_extra_stars/">[comments]</a></span> |