emacs/var/elfeed/db/data/d2/d20ad2cea1619e94e9facea9a6b39b0bd19e6acd
2022-01-03 12:49:32 -06:00

1 line
2 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I can&#39;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>(&quot;t&quot; &quot;Task&quot; entry (file &quot;~/.config/emacs/journal/tasks.org&quot;)</code></p> <p><code>&quot;* TODO %?\n\n %U\n %a\n %i&quot; :empty-lines 1)</code></p> <p><code>(&quot;i&quot; &quot;Idea&quot; entry (file &quot;~/.config/emacs/journal/ideas.org&quot;)</code></p> <p><code>&quot;* IDEA %?\n\n %U\n %a\n %i&quot; :empty-lines 1)</code></p> <p><code>(&quot;j&quot; &quot;Journal&quot; entry (file+datetree &quot;~/.config/emacs/journal/journal.org&quot;)</code></p> <p><code>&quot;* %?\n %i\n&quot;)</code></p> <p><code>)</code></p> <p><code>)</code></p> <p>When I start the capture and select &#39;j&#39; 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&#39;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&#39;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 --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/rippn4/datetree_insert_extra_stars/">[comments]</a></span>