<rss xmlns:source="http://source.scripting.com/" version="2.0">
  <channel>
    <title>The Art Of Not Asking Why</title>
    <link>https://taonaw.com/</link>
    <description></description>
    
    <language>en</language>
    
    <lastBuildDate>Wed, 05 Aug 2026 09:46:28 -0400</lastBuildDate>
    <item>
      <title></title>
      <link>https://taonaw.com/2026/08/05/here-is-a-niche-tip.html</link>
      <pubDate>Wed, 05 Aug 2026 09:46:28 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/08/05/here-is-a-niche-tip.html</guid>
      <description>&lt;p&gt;Here is a niche tip: if you’re tired of correcting the word “Emacs” whenever you dictate on your iPhone, Add Emacs to your contact list.&lt;/p&gt;
</description>
      <source:markdown>Here is a niche tip: if you’re tired of correcting the word “Emacs” whenever you dictate on your iPhone, Add Emacs to your contact list. 
</source:markdown>
    </item>
    
    <item>
      <title>Emacs Config Gems - Part 3</title>
      <link>https://taonaw.com/2026/08/05/emacs-config-gems-part.html</link>
      <pubDate>Wed, 05 Aug 2026 09:06:09 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/08/05/emacs-config-gems-part.html</guid>
      <description>&lt;p&gt;My actual configs start with pretty usual stuff you&amp;rsquo;d see across many other Emacs configs. As I was going through these however, I started to wonder how things work and why they ended up the way we have them today. In turn, that led to reading about the intention behind those, which led to more options I didn&amp;rsquo;t think about. Also, it&amp;rsquo;s kind of fun. I&amp;rsquo;ve made two more passes for this part alone in the last couple of weeks, and I could probably go for a third. When reading this post, if you want the good stuff (in my opinion), get lost in the footnotes as I did. There&amp;rsquo;s a lot to explore. I just scratched the surface.&lt;/p&gt;
&lt;h3 id=&#34;load-melpa&#34;&gt;Load Melpa&lt;/h3&gt;
&lt;p&gt;Melpa is where many Emacs packages live. The story behind it (from what I can tell) revolves around one of Emacs&amp;rsquo; maintainers, Bozhidar Batsov, who pointed to &lt;a href=&#34;https://batsov.com/articles/2012/04/06/melpa-homebrew-emacs-edition/&#34;&gt;Melpa at some point in 2012, when Emacs&amp;rsquo;s then go-to third-party package repository went offline&lt;/a&gt;. He is not its creator — Melpa has been around before this post — but this seems to be the turning point where Emacs package maintainers started to really use it. I don&amp;rsquo;t have good coder/repository maintainer knowledge, but from what I read, it&amp;rsquo;s built on the same idea as Homebrew (for Mac), which was familiar to many of the Emacs folks at the time.&lt;/p&gt;
&lt;p&gt;So let&amp;rsquo;s get Melpa:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(require &amp;#39;package)
(add-to-list &amp;#39;package-archives &amp;#39;(&amp;#34;melpa&amp;#34; . &amp;#34;https://melpa.org/packages/&amp;#34;) t)
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;ui-and-fundamental-emacs-tweaks&#34;&gt;UI and Fundamental Emacs tweaks:&lt;/h3&gt;
&lt;p&gt;Most Emacs folks with a config file like this like to kill the toolbar, scrollbar, &lt;em&gt;and&lt;/em&gt; menu bar. I find that the menu bar makes Emacs look more like the other programs, especially in macOS&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;. Besides, it&amp;rsquo;s nice to look every now and then and be reminded of good Emacs kung-fu I forgot exists (&lt;code&gt;org-sort&lt;/code&gt;, I&amp;rsquo;m sorry my friend, I&amp;rsquo;ll keep saying hi more often).&lt;/p&gt;
&lt;p&gt;This is why the menu-bar is commented out in my config; I want it, but I also want to remember I could turn it off if I wanted:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(tool-bar-mode -1)
(scroll-bar-mode -1)
;; (menu-bar-mode -1) 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;By default, help commands&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; display the help buffer in a new window without selecting it. I find this annoying: if I bring up the help window, it&amp;rsquo;s usually because I want to scroll down to find something or copy (yank) something. On the other hand, if I just want to skim quickly in the help buffer, it&amp;rsquo;s helpful that the marker is on it for a quick &lt;kbd&gt;q&lt;/kbd&gt; for quit.&lt;/p&gt;
&lt;p&gt;In addition, we want to be able to navigate help menus as Emacs intended if we follow the links in a help buffer. &lt;code&gt;help-window-keep-selected&lt;/code&gt; allows us to keep help in its own dedicated window, so it won&amp;rsquo;t open in a separate window once we follow a link. Going back to the original is the same as we do in other browser-like buffers in Emacs, with &lt;kbd&gt;l&lt;/kbd&gt; (like in Eww, for example). Likewise, we can go forward with &lt;kbd&gt;r&lt;/kbd&gt;. I should also expand here on various help options; they definitely deserve a mention, but this is another huge topic (you can get an idea from the footer) that will take a couple of weeks. I will come back to this someday.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(setq help-window-select t)
(setq help-window-keep-selected t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Lisp is full of parentheses, and it&amp;rsquo;s easy to lose track. Turning &lt;code&gt;show-paren-mode&lt;/code&gt; on means that standing on an open or closed parentheses highlights its matching counterpart, which is handy.&lt;/p&gt;
&lt;p&gt;In addition, while we&amp;rsquo;re here: when we stand on an expression that is only showing a portion of an expression (meaning, we need to scroll down to see the rest) Emacs can highlight the expression for us to make sure we don&amp;rsquo;t get confused — this is the &lt;code&gt;mixed&lt;/code&gt; option below for &lt;code&gt;show-paren-style&lt;/code&gt;. If you want to see the whole expression highlighted every time you&amp;rsquo;re on it, there&amp;rsquo;s the option &lt;code&gt;expression&lt;/code&gt;, which I&amp;rsquo;m leaving here for reference for myself. For now, I think it&amp;rsquo;s too much visual noise, especially since we&amp;rsquo;re using &lt;code&gt;org-edit-special&lt;/code&gt;, which also highlights what we&amp;rsquo;re working on.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;  (show-paren-mode t)
  (setq show-paren-style &amp;#39;mixed)
;; (setq show-paren-style &amp;#39;expression)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And now, a true Emacs classic. I don&amp;rsquo;t think I&amp;rsquo;ve seen a config without it: shortening &amp;ldquo;yes&amp;rdquo; or &amp;ldquo;no,&amp;rdquo; answer to &amp;ldquo;y&amp;rdquo; or &amp;ldquo;n&amp;rdquo; like any other program known to mankind. &lt;code&gt;use-short-answers&lt;/code&gt; was introduced in Emacs 28.1, which is a more graceful way to do this, intended exactly for this purpose. Before that, back when I started to use Emacs, it was done with &lt;code&gt;(fset &#39;yes-or-no-p &#39;y-or-n-p)&lt;/code&gt;. If you have an older Emacs version, you&amp;rsquo;d need it.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;;;  (fset &amp;#39;yes-or-no-p &amp;#39;y-or-n-p)
(setq use-short-answers t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This one was annoying until I learned this option exists from someone else&amp;rsquo;s config years ago: &amp;ldquo;Emacs, please stop asking me if I want to kill process when exiting Emacs (Shell, etc.), just do it!&amp;rdquo; Yep.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(setq confirm-kill-processes nil)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Emacs has two annoying keyboard shortcuts that I should have disabled as soon as I started using it: &lt;kbd&gt;C-x C-c&lt;/kbd&gt; (exit Emacs) and &lt;kbd&gt;C-z&lt;/kbd&gt; (minimize Emacs). Both of them are too easy to press by mistake, especially &lt;kbd&gt;C-z&lt;/kbd&gt;, which is undo in many other programs. If I had a penny for each time I minimized Emacs by mistake… When we want to minimize Emacs (and why would you want to do that? Emacs deserves a prominent space on your screen), we can just do it by clicking the minimize window itself, shamefully using our mouse, as we do with other apps. And Exiting Emacs? With a shortcut that seems like it fits somewhere in org-mode? No thanks. Let&amp;rsquo;s disable those:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(global-unset-key (kbd &amp;#34;C-x C-c&amp;#34;))
(global-unset-key (kbd &amp;#34;C-z&amp;#34;))
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Turn off the annoying error beep, which I first discovered in SUSE Linux by turning on a visual warning (a flash) instead. This will flash the top and bottom lines of our window instead of going &amp;ldquo;beep!&amp;rdquo;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(setq visible-bell t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Turn on &lt;a href=&#34;https://www.gnu.org/software/emacs/manual/html_node/emacs/Visual-Line-Mode.html&#34;&gt;visual line mode&lt;/a&gt; so text lines &amp;ldquo;wrap&amp;rdquo; inside the frame and don&amp;rsquo;t continue beyond the window&amp;rsquo;s edge. This is essential; I can&amp;rsquo;t read in Emacs without it. And a newcomer I discovered recently: since Emacs 30, we also have &lt;code&gt;global-visual-wrap-prefix-mode&lt;/code&gt;, which preserves indentation on wrapped lines. For example, in a list in org-mode (made of dashes one under the other), a long line of text that wraps will align under its starting point (dash) in the list instead of jumping back to column 0 (the start of the window, to the most left). This has been a huge pet peeve. Finally!&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(global-visual-line-mode t)
(global-visual-wrap-prefix-mode t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href=&#34;https://www.gnu.org/software/emacs/manual/html_node/emacs/Window-Convenience.html&#34;&gt;Winner mode&lt;/a&gt; (included in Emacs) is sort of &amp;ldquo;undo&amp;rdquo; for changes in windows&amp;rsquo; layout in Emacs. &lt;kbd&gt;C-c ←&lt;/kbd&gt; goes back to our previous setting, and &lt;kbd&gt;C-c →&lt;/kbd&gt; will &amp;ldquo;redo&amp;rdquo; the layout we just left. I use it all the time as in &amp;ldquo;oops, I closed the wrong window&amp;rdquo;&lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(winner-mode t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Saw this over at &lt;a href=&#34;https://emacsredux.com/blog/2026/04/07/stealing-from-the-best-emacs-configs/&#34;&gt;https://emacsredux.com/blog/2026/04/07/stealing-from-the-best-emacs-configs/&lt;/a&gt;. This is a nice little trick, and it requires a bit of reading to understand what exactly it does: preventing Emacs from deleting whatever we have in the system&amp;rsquo;s clipboard when we kill a line, so it&amp;rsquo;s still in the kill ring. Here&amp;rsquo;s an example to help you grasp the idea and why it&amp;rsquo;s useful:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We&amp;rsquo;re visiting a website with our default browser and copy its URL because we want to write about it in Emacs&lt;/li&gt;
&lt;li&gt;We go to Emacs, and we kill the line we&amp;rsquo;re on because we need some space&lt;/li&gt;
&lt;li&gt;Crap! Now we lost our paste in the clipboard, and we have to go back to the browser and grab that URL again!&lt;/li&gt;
&lt;li&gt;Wait, which tab was it? Did we close it? Should we look in our browsing history? Ugh!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Not anymore! With this little guy, when we kill the line (step 2 above), Emacs &amp;ldquo;injects&amp;rdquo; it into the kill ring. Now, when we yank with &lt;code&gt;C-y&lt;/code&gt;, we will &lt;em&gt;still&lt;/em&gt; get the last line we killed, yes, &lt;em&gt;but&lt;/em&gt;look up the kill ring with &lt;code&gt;M-y&lt;/code&gt; and voilà! Your URL is there. No need to go find that URL again:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(setq save-interprogram-paste-before-kill t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You know how for years Emacs &amp;ldquo;jumped&amp;rdquo; when you scrolled down large embedded images in your org buffers? Let&amp;rsquo;s turn on &lt;code&gt;pixel-scroll-precision-mode&lt;/code&gt; for pixel scrolling instead of the default line scrolling to fix this. It&amp;rsquo;s pretty much what it reads: the default old way would &amp;ldquo;scroll&amp;rdquo; (it&amp;rsquo;s actually not scrolling at all) by a line of text at a time. Since our image of, say, 600px in height is treated as a single line of text, it will jump to the end of it. With this option turned on, Emacs would read the pixels from your mouse wheels as you scroll, and we get the smooth scrolling we&amp;rsquo;re used to.&lt;/p&gt;
&lt;p&gt;Interesting to know: moving up and down the line without a mouse (arrows, or &lt;kbd&gt;C-p&lt;/kbd&gt; and &lt;kbd&gt;C-n&lt;/kbd&gt;) is moving by text lines, utilizing &lt;code&gt;auto-windows-vscroll&lt;/code&gt; and &lt;code&gt;line-move&lt;/code&gt;, which basically does in Emacs what arrow movement &lt;em&gt;seems&lt;/em&gt; to be doing in modern applications: these apply this principle from the other direction — they natively work with pixels, so they treat these arrow movements as a fixed number of pixel movements, which is approximately a line of text. So, when you move up and down a large image (or say a PDF) in a browser, the browser thinks &amp;ldquo;ok, the user is moving up one line of text, which is.. hm.. let&amp;rsquo;s see… ah, it says it&amp;rsquo;s exactly 40 pixels, so let me show that&amp;rdquo;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-commonlisp&#34; data-lang=&#34;commonlisp&#34;&gt;(pixel-scroll-precision-mode t)
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;In fact, if you&amp;rsquo;re curious about help and Emacs help, I suggest you head over there now and read that post. It expands on how to approach Emacs help by how to &lt;em&gt;think&lt;/em&gt; Emacs, which is something that experienced Emacs users struggle to explain to newcomers. I know, because I was there, and I&amp;rsquo;m sure many of you who are new to Emacs just shake your head.&lt;/p&gt;
&lt;p&gt;As for the history of help in Emacs, I think it&amp;rsquo;s pretty safe to say it&amp;rsquo;s been there since the start, or at least since Emacs became intended for public use, sometime around the 1980s. By that point, most of the core help parts we know today (the tutorial, &lt;kbd&gt;C-h t&lt;/kbd&gt;; the Emacs Manual, &lt;kbd&gt;C-h R&lt;/kbd&gt;; as well as the framework itself) were already in place. The help system was there before GNU Emacs, back in the days of TECO Emacs that RMS worked on at MIT in the 1970s. You could browse &lt;a href=&#34;https://github.com/MITDDC/emacs-1976-1977/tree/main&#34;&gt;the original code from then&lt;/a&gt; (preserved by MIT) and see Stallman writing what certain commands do in &lt;code&gt;emacs.doc&lt;/code&gt; inside that repository. Another interesting find about Emacs itself (and the help system that comes with it) is the &lt;a href=&#34;https://archive.org/details/bitsavers_mitaiaimAI_2207521/mode/2up&#34;&gt;EMACS paper written by RMS back in 1981&lt;/a&gt;. For the help system, take a look at page 17: &amp;ldquo;6. Self-Documentation and Extensibility&amp;rdquo; and the following chapter in page 18: &amp;ldquo;7. History&amp;rdquo;. Fascinating stuff.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Emacs is the editor of tinkerers and artisans; those who are eternally dissatisfied with all other tools because of their adamantine rigidity. Crafting, or shaping, your tools to meet your exacting needs is what Emacs excels at. Because of that, Emacs is – much to the chagrin of everyone who picks it up for the first time – squarely aimed at people who already know Emacs.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In fact, if you&amp;rsquo;re curious about help and Emacs help, I suggest you head over there now and read that post. It expands on how to approach Emacs help by how to &lt;em&gt;think&lt;/em&gt; Emacs, which is something that experienced Emacs users struggle to explain to new comers. I know, because I was there, and I&amp;rsquo;m sure many of you who are new to Emacs just shake your head.&lt;/p&gt;
&lt;p&gt;As for the history of help in Emacs, I think it&amp;rsquo;s pretty safe to say it&amp;rsquo;s been there since the start, or at least since Emacs become intended for public use, sometime around the 1980s. By that point, most of the core help parts we know today (the tutorial, &lt;kbd&gt;C-h t&lt;/kbd&gt;; the Emacs Manual, &lt;kbd&gt;C-h R&lt;/kbd&gt;; as well as the framework itself) were already in place. The help system was there before GNU Emacs, back in the days of TECO Emacs that RMS worked on at MIT in the 1970s. You could browse &lt;a href=&#34;https://github.com/MITDDC/emacs-1976-1977/tree/main&#34;&gt;the original code from then&lt;/a&gt; (preserved by MIT) and see Stallman writing what certain commands do in &lt;code&gt;emacs.doc&lt;/code&gt; inside that repository. Another interesting find about Emacs itself (and the help system that comes with it) is the &lt;a href=&#34;https://archive.org/details/bitsavers_mitaiaimAI_2207521/mode/2up&#34;&gt;EMACS paper written by RMS back in 1981&lt;/a&gt;. For the help system, take a look at page 17: &amp;ldquo;6. Self-Documentation and Extensibility&amp;rdquo; and the following chapter in page 18: &amp;ldquo;7. History&amp;rdquo;. Fascinating stuff.&lt;/p&gt;
&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;p&gt;And here, dear reader, I fell down a &lt;em&gt;deep&lt;/em&gt; rabbit hole, one that pushed this post a couple of days. There are two parts to this. The Emacs part, which I will explore at some point in the near future, has to do with Emacs&amp;rsquo; menu itself, which is controlled by &lt;code&gt;easymenu.el&lt;/code&gt;. This is an old Emacs package that&amp;rsquo;s been around since 1994, written by RMS himself — kind of. It was first created by Per Abrahamsen (who seems to be a bit of a mystery, but that&amp;rsquo;s digging for another day). In turn, this package was taken from &lt;code&gt;lmenu.el&lt;/code&gt;, which was part of yet a different Emacs fork at the time. In a regular Emacs style, the menu bar can be completely reconstructed and changed — and that&amp;rsquo;s something I want to explore soon as a way to recall useful functions I keep forgetting exist (like having an &amp;ldquo;organize&amp;rdquo; menu with something like &amp;ldquo;org-sort&amp;rdquo; under it). This will be a fun project of its own for another day. Meanwhile, the other, bigger rabbit hole is the story of the GUI menu itself as we have it today. Apple has a big role here, back in the days before Steve Jobs left Apple and worked on the &lt;a href=&#34;https://en.wikipedia.org/wiki/Apple_Lisa&#34;&gt;Lisa&lt;/a&gt;. This seems to be the first usage of a graphical interface in personal computers, and the menu, which was taken from Xerox, &lt;a href=&#34;https://computerhistory.org/blog/happy-40th-birthday-lisa/&#34;&gt;was a big part of it&lt;/a&gt; (there&amp;rsquo;s a short YouTube video there that would give you a quick brief of what happened). This means that I am right on keeping the menu in theme with the rest of the Mac apps, based on history!&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&#34;fn:2&#34;&gt;
&lt;p&gt;Emacs&amp;rsquo; built-in help deserves its own series of posts. Looking at it now, from the eyes of someone who used it for a couple of years, I find &lt;a href=&#34;https://www.masteringemacs.org/article/beginners-guide-to-emacs&#34;&gt;Micky&amp;rsquo;s description&lt;/a&gt; satisfying and accurate, reflecting what I felt at the time:&amp;#160;&lt;a href=&#34;#fnref:2&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&#34;fn:3&#34;&gt;
&lt;p&gt;I forget how exactly, but some research into &lt;code&gt;winner-mode&lt;/code&gt; history (&lt;a href=&#34;https://github.com/emacs-mirror/emacs/blob/master/lisp/winner.el&#34;&gt;turns out it&amp;rsquo;s been around since 1997&lt;/a&gt; — also, a lot of goodies here to look into!) led me down the path of tabs in Emacs, &lt;code&gt;tab-bar&lt;/code&gt; in particular. I didn&amp;rsquo;t think much about tabs in Emacs, but since I&amp;rsquo;ve been using Kubuntu for a while and experimented with its &lt;a href=&#34;https://kde.org/announcements/4/4.5.0/plasma/&#34;&gt;Workspaces&lt;/a&gt;, I understand the concept better. I looked into &lt;a href=&#34;https://www.rousette.org.uk/archives/using-the-tab-bar-in-emacs/&#34;&gt;BSAG&amp;rsquo;s post&lt;/a&gt;, and it looks like you can hide the tabs while still displaying them on the mode line, and of course, you don&amp;rsquo;t have to use the mouse. The concept of having a whole &lt;em&gt;workplace&lt;/em&gt; completed with its unique window arrangement available with a single keyboard shortcut is alluring. Now, instead of playing around with where and how I want my windows to display, I can just save (or re-create) those, and I always have a &amp;ldquo;work&amp;rdquo; environment vs a &amp;ldquo;personal&amp;rdquo; environment within the same Emacs frame. This can be a good organizational feature. I&amp;rsquo;m going to dig more into this one.&amp;#160;&lt;a href=&#34;#fnref:3&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description>
      <source:markdown>My actual configs start with pretty usual stuff you&#39;d see across many other Emacs configs. As I was going through these however, I started to wonder how things work and why they ended up the way we have them today. In turn, that led to reading about the intention behind those, which led to more options I didn&#39;t think about. Also, it&#39;s kind of fun. I&#39;ve made two more passes for this part alone in the last couple of weeks, and I could probably go for a third. When reading this post, if you want the good stuff (in my opinion), get lost in the footnotes as I did. There&#39;s a lot to explore. I just scratched the surface.

### Load Melpa

Melpa is where many Emacs packages live. The story behind it (from what I can tell) revolves around one of Emacs&#39; maintainers, Bozhidar Batsov, who pointed to [Melpa at some point in 2012, when Emacs&#39;s then go-to third-party package repository went offline](https://batsov.com/articles/2012/04/06/melpa-homebrew-emacs-edition/). He is not its creator — Melpa has been around before this post — but this seems to be the turning point where Emacs package maintainers started to really use it. I don&#39;t have good coder/repository maintainer knowledge, but from what I read, it&#39;s built on the same idea as Homebrew (for Mac), which was familiar to many of the Emacs folks at the time.

So let&#39;s get Melpa:

``` commonlisp
(require &#39;package)
(add-to-list &#39;package-archives &#39;(&#34;melpa&#34; . &#34;https://melpa.org/packages/&#34;) t)
```

### UI and Fundamental Emacs tweaks:

Most Emacs folks with a config file like this like to kill the toolbar, scrollbar, *and* menu bar. I find that the menu bar makes Emacs look more like the other programs, especially in macOS[^1]. Besides, it&#39;s nice to look every now and then and be reminded of good Emacs kung-fu I forgot exists (`org-sort`, I&#39;m sorry my friend, I&#39;ll keep saying hi more often).

This is why the menu-bar is commented out in my config; I want it, but I also want to remember I could turn it off if I wanted:

``` commonlisp
(tool-bar-mode -1)
(scroll-bar-mode -1)
;; (menu-bar-mode -1) 
```

By default, help commands[^2] display the help buffer in a new window without selecting it. I find this annoying: if I bring up the help window, it&#39;s usually because I want to scroll down to find something or copy (yank) something. On the other hand, if I just want to skim quickly in the help buffer, it&#39;s helpful that the marker is on it for a quick &lt;kbd&gt;q&lt;/kbd&gt; for quit.

In addition, we want to be able to navigate help menus as Emacs intended if we follow the links in a help buffer. `help-window-keep-selected` allows us to keep help in its own dedicated window, so it won&#39;t open in a separate window once we follow a link. Going back to the original is the same as we do in other browser-like buffers in Emacs, with &lt;kbd&gt;l&lt;/kbd&gt; (like in Eww, for example). Likewise, we can go forward with &lt;kbd&gt;r&lt;/kbd&gt;. I should also expand here on various help options; they definitely deserve a mention, but this is another huge topic (you can get an idea from the footer) that will take a couple of weeks. I will come back to this someday.

``` commonlisp
(setq help-window-select t)
(setq help-window-keep-selected t)
```

Lisp is full of parentheses, and it&#39;s easy to lose track. Turning `show-paren-mode` on means that standing on an open or closed parentheses highlights its matching counterpart, which is handy.

In addition, while we&#39;re here: when we stand on an expression that is only showing a portion of an expression (meaning, we need to scroll down to see the rest) Emacs can highlight the expression for us to make sure we don&#39;t get confused — this is the `mixed` option below for `show-paren-style`. If you want to see the whole expression highlighted every time you&#39;re on it, there&#39;s the option `expression`, which I&#39;m leaving here for reference for myself. For now, I think it&#39;s too much visual noise, especially since we&#39;re using `org-edit-special`, which also highlights what we&#39;re working on.

``` commonlisp
  (show-paren-mode t)
  (setq show-paren-style &#39;mixed)
;; (setq show-paren-style &#39;expression)
```

And now, a true Emacs classic. I don&#39;t think I&#39;ve seen a config without it: shortening &#34;yes&#34; or &#34;no,&#34; answer to &#34;y&#34; or &#34;n&#34; like any other program known to mankind. `use-short-answers` was introduced in Emacs 28.1, which is a more graceful way to do this, intended exactly for this purpose. Before that, back when I started to use Emacs, it was done with `(fset &#39;yes-or-no-p &#39;y-or-n-p)`. If you have an older Emacs version, you&#39;d need it.

``` commonlisp
;;  (fset &#39;yes-or-no-p &#39;y-or-n-p)
(setq use-short-answers t)
```

This one was annoying until I learned this option exists from someone else&#39;s config years ago: &#34;Emacs, please stop asking me if I want to kill process when exiting Emacs (Shell, etc.), just do it!&#34; Yep.

``` commonlisp
(setq confirm-kill-processes nil)
```

Emacs has two annoying keyboard shortcuts that I should have disabled as soon as I started using it: &lt;kbd&gt;C-x C-c&lt;/kbd&gt; (exit Emacs) and &lt;kbd&gt;C-z&lt;/kbd&gt; (minimize Emacs). Both of them are too easy to press by mistake, especially &lt;kbd&gt;C-z&lt;/kbd&gt;, which is undo in many other programs. If I had a penny for each time I minimized Emacs by mistake… When we want to minimize Emacs (and why would you want to do that? Emacs deserves a prominent space on your screen), we can just do it by clicking the minimize window itself, shamefully using our mouse, as we do with other apps. And Exiting Emacs? With a shortcut that seems like it fits somewhere in org-mode? No thanks. Let&#39;s disable those:

``` commonlisp
(global-unset-key (kbd &#34;C-x C-c&#34;))
(global-unset-key (kbd &#34;C-z&#34;))
```

Turn off the annoying error beep, which I first discovered in SUSE Linux by turning on a visual warning (a flash) instead. This will flash the top and bottom lines of our window instead of going &#34;beep!&#34;

``` commonlisp
(setq visible-bell t)
```

Turn on [visual line mode](https://www.gnu.org/software/emacs/manual/html_node/emacs/Visual-Line-Mode.html) so text lines &#34;wrap&#34; inside the frame and don&#39;t continue beyond the window&#39;s edge. This is essential; I can&#39;t read in Emacs without it. And a newcomer I discovered recently: since Emacs 30, we also have `global-visual-wrap-prefix-mode`, which preserves indentation on wrapped lines. For example, in a list in org-mode (made of dashes one under the other), a long line of text that wraps will align under its starting point (dash) in the list instead of jumping back to column 0 (the start of the window, to the most left). This has been a huge pet peeve. Finally!

``` commonlisp
(global-visual-line-mode t)
(global-visual-wrap-prefix-mode t)
```

[Winner mode](https://www.gnu.org/software/emacs/manual/html_node/emacs/Window-Convenience.html) (included in Emacs) is sort of &#34;undo&#34; for changes in windows&#39; layout in Emacs. &lt;kbd&gt;C-c ←&lt;/kbd&gt; goes back to our previous setting, and &lt;kbd&gt;C-c →&lt;/kbd&gt; will &#34;redo&#34; the layout we just left. I use it all the time as in &#34;oops, I closed the wrong window&#34;[^3].

``` commonlisp
(winner-mode t)
```

Saw this over at &lt;https://emacsredux.com/blog/2026/04/07/stealing-from-the-best-emacs-configs/&gt;. This is a nice little trick, and it requires a bit of reading to understand what exactly it does: preventing Emacs from deleting whatever we have in the system&#39;s clipboard when we kill a line, so it&#39;s still in the kill ring. Here&#39;s an example to help you grasp the idea and why it&#39;s useful:

1.  We&#39;re visiting a website with our default browser and copy its URL because we want to write about it in Emacs
2.  We go to Emacs, and we kill the line we&#39;re on because we need some space
3.  Crap! Now we lost our paste in the clipboard, and we have to go back to the browser and grab that URL again!
4.  Wait, which tab was it? Did we close it? Should we look in our browsing history? Ugh!

Not anymore! With this little guy, when we kill the line (step 2 above), Emacs &#34;injects&#34; it into the kill ring. Now, when we yank with `C-y`, we will *still* get the last line we killed, yes, *but*look up the kill ring with `M-y` and voilà! Your URL is there. No need to go find that URL again:

``` commonlisp
(setq save-interprogram-paste-before-kill t)
```

You know how for years Emacs &#34;jumped&#34; when you scrolled down large embedded images in your org buffers? Let&#39;s turn on `pixel-scroll-precision-mode` for pixel scrolling instead of the default line scrolling to fix this. It&#39;s pretty much what it reads: the default old way would &#34;scroll&#34; (it&#39;s actually not scrolling at all) by a line of text at a time. Since our image of, say, 600px in height is treated as a single line of text, it will jump to the end of it. With this option turned on, Emacs would read the pixels from your mouse wheels as you scroll, and we get the smooth scrolling we&#39;re used to.

Interesting to know: moving up and down the line without a mouse (arrows, or &lt;kbd&gt;C-p&lt;/kbd&gt; and &lt;kbd&gt;C-n&lt;/kbd&gt;) is moving by text lines, utilizing `auto-windows-vscroll` and `line-move`, which basically does in Emacs what arrow movement *seems* to be doing in modern applications: these apply this principle from the other direction — they natively work with pixels, so they treat these arrow movements as a fixed number of pixel movements, which is approximately a line of text. So, when you move up and down a large image (or say a PDF) in a browser, the browser thinks &#34;ok, the user is moving up one line of text, which is.. hm.. let&#39;s see… ah, it says it&#39;s exactly 40 pixels, so let me show that&#34;.

``` commonlisp
(pixel-scroll-precision-mode t)
```

### Footnotes

In fact, if you&#39;re curious about help and Emacs help, I suggest you head over there now and read that post. It expands on how to approach Emacs help by how to *think* Emacs, which is something that experienced Emacs users struggle to explain to newcomers. I know, because I was there, and I&#39;m sure many of you who are new to Emacs just shake your head.

As for the history of help in Emacs, I think it&#39;s pretty safe to say it&#39;s been there since the start, or at least since Emacs became intended for public use, sometime around the 1980s. By that point, most of the core help parts we know today (the tutorial, &lt;kbd&gt;C-h t&lt;/kbd&gt;; the Emacs Manual, &lt;kbd&gt;C-h R&lt;/kbd&gt;; as well as the framework itself) were already in place. The help system was there before GNU Emacs, back in the days of TECO Emacs that RMS worked on at MIT in the 1970s. You could browse [the original code from then](https://github.com/MITDDC/emacs-1976-1977/tree/main) (preserved by MIT) and see Stallman writing what certain commands do in `emacs.doc` inside that repository. Another interesting find about Emacs itself (and the help system that comes with it) is the [EMACS paper written by RMS back in 1981](https://archive.org/details/bitsavers_mitaiaimAI_2207521/mode/2up). For the help system, take a look at page 17: &#34;6. Self-Documentation and Extensibility&#34; and the following chapter in page 18: &#34;7. History&#34;. Fascinating stuff.

[^1]: And here, dear reader, I fell down a *deep* rabbit hole, one that pushed this post a couple of days. There are two parts to this. The Emacs part, which I will explore at some point in the near future, has to do with Emacs&#39; menu itself, which is controlled by `easymenu.el`. This is an old Emacs package that&#39;s been around since 1994, written by RMS himself — kind of. It was first created by Per Abrahamsen (who seems to be a bit of a mystery, but that&#39;s digging for another day). In turn, this package was taken from `lmenu.el`, which was part of yet a different Emacs fork at the time. In a regular Emacs style, the menu bar can be completely reconstructed and changed — and that&#39;s something I want to explore soon as a way to recall useful functions I keep forgetting exist (like having an &#34;organize&#34; menu with something like &#34;org-sort&#34; under it). This will be a fun project of its own for another day. Meanwhile, the other, bigger rabbit hole is the story of the GUI menu itself as we have it today. Apple has a big role here, back in the days before Steve Jobs left Apple and worked on the [Lisa](https://en.wikipedia.org/wiki/Apple_Lisa). This seems to be the first usage of a graphical interface in personal computers, and the menu, which was taken from Xerox, [was a big part of it](https://computerhistory.org/blog/happy-40th-birthday-lisa/) (there&#39;s a short YouTube video there that would give you a quick brief of what happened). This means that I am right on keeping the menu in theme with the rest of the Mac apps, based on history!

[^2]: Emacs&#39; built-in help deserves its own series of posts. Looking at it now, from the eyes of someone who used it for a couple of years, I find [Micky&#39;s description](https://www.masteringemacs.org/article/beginners-guide-to-emacs) satisfying and accurate, reflecting what I felt at the time:

&gt; Emacs is the editor of tinkerers and artisans; those who are eternally dissatisfied with all other tools because of their adamantine rigidity. Crafting, or shaping, your tools to meet your exacting needs is what Emacs excels at. Because of that, Emacs is – much to the chagrin of everyone who picks it up for the first time – squarely aimed at people who already know Emacs.

In fact, if you&#39;re curious about help and Emacs help, I suggest you head over there now and read that post. It expands on how to approach Emacs help by how to *think* Emacs, which is something that experienced Emacs users struggle to explain to new comers. I know, because I was there, and I&#39;m sure many of you who are new to Emacs just shake your head.

As for the history of help in Emacs, I think it&#39;s pretty safe to say it&#39;s been there since the start, or at least since Emacs become intended for public use, sometime around the 1980s. By that point, most of the core help parts we know today (the tutorial, &lt;kbd&gt;C-h t&lt;/kbd&gt;; the Emacs Manual, &lt;kbd&gt;C-h R&lt;/kbd&gt;; as well as the framework itself) were already in place. The help system was there before GNU Emacs, back in the days of TECO Emacs that RMS worked on at MIT in the 1970s. You could browse [the original code from then](https://github.com/MITDDC/emacs-1976-1977/tree/main) (preserved by MIT) and see Stallman writing what certain commands do in `emacs.doc` inside that repository. Another interesting find about Emacs itself (and the help system that comes with it) is the [EMACS paper written by RMS back in 1981](https://archive.org/details/bitsavers_mitaiaimAI_2207521/mode/2up). For the help system, take a look at page 17: &#34;6. Self-Documentation and Extensibility&#34; and the following chapter in page 18: &#34;7. History&#34;. Fascinating stuff.

[^3]: I forget how exactly, but some research into `winner-mode` history ([turns out it&#39;s been around since 1997](https://github.com/emacs-mirror/emacs/blob/master/lisp/winner.el) — also, a lot of goodies here to look into!) led me down the path of tabs in Emacs, `tab-bar` in particular. I didn&#39;t think much about tabs in Emacs, but since I&#39;ve been using Kubuntu for a while and experimented with its [Workspaces](https://kde.org/announcements/4/4.5.0/plasma/), I understand the concept better. I looked into [BSAG&#39;s post](https://www.rousette.org.uk/archives/using-the-tab-bar-in-emacs/), and it looks like you can hide the tabs while still displaying them on the mode line, and of course, you don&#39;t have to use the mouse. The concept of having a whole *workplace* completed with its unique window arrangement available with a single keyboard shortcut is alluring. Now, instead of playing around with where and how I want my windows to display, I can just save (or re-create) those, and I always have a &#34;work&#34; environment vs a &#34;personal&#34; environment within the same Emacs frame. This can be a good organizational feature. I&#39;m going to dig more into this one.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/08/03/still-working-on-emacs-config.html</link>
      <pubDate>Mon, 03 Aug 2026 08:21:03 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/08/03/still-working-on-emacs-config.html</guid>
      <description>&lt;p&gt;Still working on Emacs Config Gems part 3. Fell into a deep rabbit hole and got lost for a couple of days, then climbed out just to discover another one I have to explore next. I wanted to crunch the first few tweaks of my Emacs config in one post, but there&amp;rsquo;s too much to explore. I&amp;rsquo;m getting there!&lt;/p&gt;
</description>
      <source:markdown>Still working on Emacs Config Gems part 3. Fell into a deep rabbit hole and got lost for a couple of days, then climbed out just to discover another one I have to explore next. I wanted to crunch the first few tweaks of my Emacs config in one post, but there&#39;s too much to explore. I&#39;m getting there!
</source:markdown>
    </item>
    
    <item>
      <title>Em Dashes in org-mode and the Nuances of Abbrev</title>
      <link>https://taonaw.com/2026/08/02/em-dashes-in-orgmode-and.html</link>
      <pubDate>Sun, 02 Aug 2026 10:07:04 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/08/02/em-dashes-in-orgmode-and.html</guid>
      <description>&lt;p&gt;Since &lt;a href=&#34;https://taonaw.com/2026/07/25/i-love-me-some-em.html&#34;&gt;I confessed my enjoyment of em dash&lt;/a&gt; in my writing last week, I started using them more freely. On a Mac, it&amp;rsquo;s &lt;kbd&gt;Option Shift Hyphen&lt;/kbd&gt;, as Sasha would tell you. In Linux, it&amp;rsquo;s a bit more involved: &lt;kbd&gt;Ctrl Shift U&lt;/kbd&gt; to bring up a search for Unicode number reference, and then the number for em dash: &lt;kbd&gt;2014&lt;/kbd&gt;.&lt;/p&gt;
&lt;p&gt;This is all good and well, but what about Emacs, where I write most of my text?&lt;/p&gt;
&lt;p&gt;Emacs comes with &lt;code&gt;abbrev-mode&lt;/code&gt;, a powerful text-expanding option that automatically converts something like &amp;ldquo;om&amp;rdquo; to &amp;ldquo;org-mode&amp;rdquo;, or even &amp;ldquo;fox&amp;rdquo; to &amp;ldquo;The quick brown fox jumps over the lazy dog&amp;rdquo; if I wanted to. But the em dash is a bit more tricky. I could, if I wanted, create an abbreviation like &amp;ldquo;em&amp;rdquo; to simply expand to &amp;ldquo;—&amp;rdquo;. But this doesn&amp;rsquo;t make much sense.&lt;/p&gt;
&lt;p&gt;When converting org-mode to markdown (as I do when I post something), the built-in solution for Emacs&amp;rsquo; markdown exporter is to convert &lt;code&gt;---&lt;/code&gt; (three dashes) to &lt;code&gt;—&lt;/code&gt;, em dash — but this presents two annoyances. First, the built-in exporter would convert those to their character reference, as we just saw: &lt;code&gt;&amp;amp;#2014;&lt;/code&gt;. I &lt;a href=&#34;https://taonaw.com/2026/07/27/style-emacs-config-a-semantic.html&#34;&gt;explained this more in-depth&lt;/a&gt; previously. Second, even after I fixed this issue by using pandoc, I still see &lt;code&gt;---&lt;/code&gt; in org-mode, not —. This looks like the kind of thing &lt;code&gt;abbrev-mode&lt;/code&gt; was made for, right?&lt;/p&gt;
&lt;p&gt;But it&amp;rsquo;s a bit more complicated. &lt;code&gt;abbrev-mode&lt;/code&gt; triggers only when you type a space after a letter. So, &amp;ldquo;em&amp;rdquo; to — would work, but - to — would not, because a dash is not part of a word&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;The solution was simpler than I thought: &lt;code&gt;expand-abbrev&lt;/code&gt;, which &amp;ldquo;Expands the abbrev before point, if there is an abbrev there. Effective when explicitly called even when &amp;lsquo;abbrev-mode&amp;rsquo; is nil.&amp;rdquo; In other words, it calls expand-abbrev without needing to trigger it the usual way. We simply call the abbrev replacement directly.&lt;/p&gt;
&lt;p&gt;Now whenever I want an em dash, I type &lt;code&gt;---&lt;/code&gt; first, and then I make sure the marker is right after the last dash, and call &lt;code&gt;expand-abbrev&lt;/code&gt;, which in my config is tied to &lt;kbd&gt;C-x &amp;lsquo;&lt;/kbd&gt;. I then get an em dash in Emacs, and the exporter in Emacs (or pandoc, in my case) leaves it alone.&lt;/p&gt;
&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;p&gt;Prot has a related, interesting video about expanding abbrevs with non-word-like characters, which &lt;a href=&#34;https://taonaw.com/2024/02/10/emacs-abbrevs-hacks.html&#34;&gt;I already use&lt;/a&gt;. The problem here is that there&amp;rsquo;s nothing &amp;ldquo;word-like&amp;rdquo; in &amp;mdash;. We can work with something like &amp;ldquo;!word&amp;rdquo; or &amp;ldquo;word!&amp;rdquo; because the mechanism that catches abbrevs will recognize a word-like character before or after the &amp;ldquo;!&amp;rdquo; (using regex, as explained in the post) and trigger it, but in the case we have above, there&amp;rsquo;s nothing that looks like a word to trigger it at all, so it does not work.&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description>
      <source:markdown>Since [I confessed my enjoyment of em dash](https://taonaw.com/2026/07/25/i-love-me-some-em.html) in my writing last week, I started using them more freely. On a Mac, it&#39;s &lt;kbd&gt;Option Shift Hyphen&lt;/kbd&gt;, as Sasha would tell you. In Linux, it&#39;s a bit more involved: &lt;kbd&gt;Ctrl Shift U&lt;/kbd&gt; to bring up a search for Unicode number reference, and then the number for em dash: &lt;kbd&gt;2014&lt;/kbd&gt;.

This is all good and well, but what about Emacs, where I write most of my text?

Emacs comes with `abbrev-mode`, a powerful text-expanding option that automatically converts something like &#34;om&#34; to &#34;org-mode&#34;, or even &#34;fox&#34; to &#34;The quick brown fox jumps over the lazy dog&#34; if I wanted to. But the em dash is a bit more tricky. I could, if I wanted, create an abbreviation like &#34;em&#34; to simply expand to &#34;—&#34;. But this doesn&#39;t make much sense.

When converting org-mode to markdown (as I do when I post something), the built-in solution for Emacs&#39; markdown exporter is to convert `---` (three dashes) to `—`, em dash — but this presents two annoyances. First, the built-in exporter would convert those to their character reference, as we just saw: `&amp;#2014;`. I [explained this more in-depth](https://taonaw.com/2026/07/27/style-emacs-config-a-semantic.html) previously. Second, even after I fixed this issue by using pandoc, I still see `---` in org-mode, not —. This looks like the kind of thing `abbrev-mode` was made for, right?

But it&#39;s a bit more complicated. `abbrev-mode` triggers only when you type a space after a letter. So, &#34;em&#34; to — would work, but - to — would not, because a dash is not part of a word[^1].

The solution was simpler than I thought: `expand-abbrev`, which &#34;Expands the abbrev before point, if there is an abbrev there. Effective when explicitly called even when &#39;abbrev-mode&#39; is nil.&#34; In other words, it calls expand-abbrev without needing to trigger it the usual way. We simply call the abbrev replacement directly.

Now whenever I want an em dash, I type `---` first, and then I make sure the marker is right after the last dash, and call `expand-abbrev`, which in my config is tied to &lt;kbd&gt;C-x &#39;&lt;/kbd&gt;. I then get an em dash in Emacs, and the exporter in Emacs (or pandoc, in my case) leaves it alone.

[^1]: Prot has a related, interesting video about expanding abbrevs with non-word-like characters, which [I already use](https://taonaw.com/2024/02/10/emacs-abbrevs-hacks.html). The problem here is that there&#39;s nothing &#34;word-like&#34; in ---. We can work with something like &#34;!word&#34; or &#34;word!&#34; because the mechanism that catches abbrevs will recognize a word-like character before or after the &#34;!&#34; (using regex, as explained in the post) and trigger it, but in the case we have above, there&#39;s nothing that looks like a word to trigger it at all, so it does not work.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/31/i-keep-seeing-this-dont.html</link>
      <pubDate>Fri, 31 Jul 2026 09:09:12 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/31/i-keep-seeing-this-dont.html</guid>
      <description>&lt;p&gt;I keep seeing this: &amp;ldquo;Don’t place your workspace in your bedroom! I did this to optimize the space at home and I totally regret this decision.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s becoming one of the main reasons to want to leave NYC. An apartment with an office for a room instead of another person paying the rent is not sustainable.&lt;/p&gt;
</description>
      <source:markdown>I keep seeing this: &#34;Don’t place your workspace in your bedroom! I did this to optimize the space at home and I totally regret this decision.&#34;

It&#39;s becoming one of the main reasons to want to leave NYC. An apartment with an office for a room instead of another person paying the rent is not sustainable.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/28/you-know-when-you-talk.html</link>
      <pubDate>Tue, 28 Jul 2026 10:42:38 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/28/you-know-when-you-talk.html</guid>
      <description>&lt;p&gt;You know when you talk to someone else with ADHD when you realize you juggle 3 conversations in one, going from one layer to the other, and you&amp;rsquo;re both able to keep track AND connect the layers when needed all while having lunch walking, because who has time to sit down anyway.&lt;/p&gt;
</description>
      <source:markdown>You know when you talk to someone else with ADHD when you realize you juggle 3 conversations in one, going from one layer to the other, and you&#39;re both able to keep track AND connect the layers when needed all while having lunch walking, because who has time to sit down anyway. 
</source:markdown>
    </item>
    
    <item>
      <title>Style &amp; Emacs Config: A Semantic HTML Reckoning</title>
      <link>https://taonaw.com/2026/07/27/style-emacs-config-a-semantic.html</link>
      <pubDate>Mon, 27 Jul 2026 09:02:40 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/27/style-emacs-config-a-semantic.html</guid>
      <description>&lt;p&gt;For years, I&amp;rsquo;ve been using verbatim &lt;a href=&#34;https://orgmode.org/manual/Emphasis-and-Monospace.html&#34;&gt;emphasis&lt;/a&gt; in org-mode to mark files and keyboard strokes, while reserving code emphasis to show function names, variables, and other elements of code.&lt;/p&gt;
&lt;p&gt;With the reintroduction of &lt;code&gt;&amp;lt;kbd&amp;gt;&amp;lt;/kbd&amp;gt;&lt;/code&gt; tags to the blog &lt;a href=&#34;https://taonaw.com/2026/07/26/emacs-config-gems-part.html&#34;&gt;yesterday&lt;/a&gt;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;, I wanted these tags to follow the same logic derived from my usage in org-mode: if I used verbatim in org-mode to indicate keystrokes and filenames, then I should use &lt;code&gt;&amp;lt;kbd&amp;gt;&amp;lt;/kbd&amp;gt;&lt;/code&gt; tags on the blog to indicate the same thing. I explained in a footnote in the post: &amp;ldquo;The reason I have it different here is because I often talk about files in my posts without referring to code.&amp;rdquo; That might have been my preference, but it was wrong. We&amp;rsquo;ll get back to it in a minute.&lt;/p&gt;
&lt;p&gt;I wanted to get my markdown-exported posts to preserve the verbatim emphasis from org-mode. But Markdown doesn&amp;rsquo;t distinguish between verbatim and code emphasis in org-mode — it treats both as &lt;code&gt;``&lt;/code&gt;, or &lt;code&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; tags in HTML. So I started looking for a way to fix this.&lt;/p&gt;
&lt;p&gt;The abridged version (the research took over an hour): I ended up with a wrapper function that would add Markdown raw code injection specifically for that code (I&amp;rsquo;m still working on it) to work with Pandoc. Why Pandoc and not Emacs&amp;rsquo;s built-in Markdown exporter? Because Emacs&amp;rsquo;s built-in exporter outputs certain characters, like my now &lt;a href=&#34;https://taonaw.com/2026/07/25/i-love-me-some-em.html&#34;&gt;beloved em-dash again&lt;/a&gt;, as character reference numbers, which results in a character reference (&lt;code&gt;&amp;amp;#x2014&lt;/code&gt; specifically) instead of an em-dash. Why&amp;rsquo;s that? Look, have you eaten breakfast today? Because I haven&amp;rsquo;t. Let me just tell you, these rabbits dig deep holes.&lt;/p&gt;
&lt;p&gt;So now, after I had a working way (more or less) to produce my newly introduced &lt;code&gt;&amp;lt;kbd&amp;gt;&amp;lt;/kbd&amp;gt;&lt;/code&gt; tags, I wanted to start using them for filenames. But I was bothered by the fact that while I can do whatever the hell I want this is not considered standard. And when I say &amp;ldquo;bothered,&amp;rdquo; I mean this is the thought I woke up to at around 05:40 this morning, which is what you get from a delirious dork Emacs brain like mine.&lt;/p&gt;
&lt;p&gt;I knew HTML has standards, but I didn&amp;rsquo;t connect the logic behind it to semantic HTML — not until I browsed on my phone, in my bed, for another half an hour of impulsive research. Turns out, this is something that some folks take &lt;a href=&#34;https://validator.w3.org/nu/&#34;&gt;very&lt;/a&gt; &lt;a href=&#34;https://html.spec.whatwg.org&#34;&gt;seriously&lt;/a&gt;. And according to these folks, filenames and paths do not and should not have a dedicated HTML tag (surely not &lt;code&gt;&amp;lt;kbd&amp;gt;&amp;lt;/kbd&amp;gt;&lt;/code&gt;, which is for &lt;del&gt;keystrokes only&lt;/del&gt; — actually, it&amp;rsquo;s for &amp;ldquo;textual user input&amp;rdquo; which can include voice, for example). Authority has it that I should be indicating filenames using the &lt;code&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; tags (and code emphasis in org-mode), and there&amp;rsquo;s a good reason for that. Just take my word for it for now (breakfast, remember?)&lt;/p&gt;
&lt;p&gt;Reading through their tomb of standards, I realized I need to correct my headings on the blog too (I jump directly to &lt;code&gt;&amp;lt;h3&amp;gt;&amp;lt;/h3&amp;gt;&lt;/code&gt; tags instead of going by order, because the CSS for these tags looks better — in other words, I&amp;rsquo;ve been lazy by not fixing this), among potentially many other things. There are over a &lt;em&gt;hundred&lt;/em&gt; semantic tags in HTML, and there&amp;rsquo;s a reason for each one.&lt;/p&gt;
&lt;p&gt;Damn those rabbits.&lt;/p&gt;
&lt;p&gt;Footnotes&lt;/p&gt;
&lt;div class=&#34;footnotes&#34; role=&#34;doc-endnotes&#34;&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;pre&gt;&lt;code&gt;I realize that most of you read this via RSS, which might translate these tags as code anyway, making the entire point moot... if you want to see what I mean, you might have to actually use your browser and visit my page as is, just this once.
&lt;/code&gt;&lt;/pre&gt;
&amp;#160;&lt;a href=&#34;#fnref:1&#34; class=&#34;footnote-backref&#34; role=&#34;doc-backlink&#34;&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description>
      <source:markdown>For years, I&#39;ve been using verbatim [emphasis](https://orgmode.org/manual/Emphasis-and-Monospace.html) in org-mode to mark files and keyboard strokes, while reserving code emphasis to show function names, variables, and other elements of code.

With the reintroduction of `&lt;kbd&gt;&lt;/kbd&gt;` tags to the blog [yesterday](https://taonaw.com/2026/07/26/emacs-config-gems-part.html)[^1], I wanted these tags to follow the same logic derived from my usage in org-mode: if I used verbatim in org-mode to indicate keystrokes and filenames, then I should use `&lt;kbd&gt;&lt;/kbd&gt;` tags on the blog to indicate the same thing. I explained in a footnote in the post: &#34;The reason I have it different here is because I often talk about files in my posts without referring to code.&#34; That might have been my preference, but it was wrong. We&#39;ll get back to it in a minute.

I wanted to get my markdown-exported posts to preserve the verbatim emphasis from org-mode. But Markdown doesn&#39;t distinguish between verbatim and code emphasis in org-mode — it treats both as ``` `` ```, or `&lt;code&gt;&lt;/code&gt;` tags in HTML. So I started looking for a way to fix this.

The abridged version (the research took over an hour): I ended up with a wrapper function that would add Markdown raw code injection specifically for that code (I&#39;m still working on it) to work with Pandoc. Why Pandoc and not Emacs&#39;s built-in Markdown exporter? Because Emacs&#39;s built-in exporter outputs certain characters, like my now [beloved em-dash again](https://taonaw.com/2026/07/25/i-love-me-some-em.html), as character reference numbers, which results in a character reference (`&amp;#x2014` specifically) instead of an em-dash. Why&#39;s that? Look, have you eaten breakfast today? Because I haven&#39;t. Let me just tell you, these rabbits dig deep holes.

So now, after I had a working way (more or less) to produce my newly introduced `&lt;kbd&gt;&lt;/kbd&gt;` tags, I wanted to start using them for filenames. But I was bothered by the fact that while I can do whatever the hell I want this is not considered standard. And when I say &#34;bothered,&#34; I mean this is the thought I woke up to at around 05:40 this morning, which is what you get from a delirious dork Emacs brain like mine.

I knew HTML has standards, but I didn&#39;t connect the logic behind it to semantic HTML — not until I browsed on my phone, in my bed, for another half an hour of impulsive research. Turns out, this is something that some folks take [very](https://validator.w3.org/nu/) [seriously](https://html.spec.whatwg.org). And according to these folks, filenames and paths do not and should not have a dedicated HTML tag (surely not `&lt;kbd&gt;&lt;/kbd&gt;`, which is for ~~keystrokes only~~ — actually, it&#39;s for &#34;textual user input&#34; which can include voice, for example). Authority has it that I should be indicating filenames using the `&lt;code&gt;&lt;/code&gt;` tags (and code emphasis in org-mode), and there&#39;s a good reason for that. Just take my word for it for now (breakfast, remember?)

Reading through their tomb of standards, I realized I need to correct my headings on the blog too (I jump directly to `&lt;h3&gt;&lt;/h3&gt;` tags instead of going by order, because the CSS for these tags looks better — in other words, I&#39;ve been lazy by not fixing this), among potentially many other things. There are over a *hundred* semantic tags in HTML, and there&#39;s a reason for each one.

Damn those rabbits.

Footnotes

[^1]:
        I realize that most of you read this via RSS, which might translate these tags as code anyway, making the entire point moot... if you want to see what I mean, you might have to actually use your browser and visit my page as is, just this once.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/26/this-is-one-of-the.html</link>
      <pubDate>Sun, 26 Jul 2026 18:07:42 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/26/this-is-one-of-the.html</guid>
      <description>&lt;p&gt;This is one of the awesome things about having an espresso machine at home. I love watching the hot coffee “drilling” into the ice 📷. 🧊☕️☀️&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/2101255f5e.jpg&#34; width=&#34;452&#34; height=&#34;600&#34; alt=&#34;A glass of iced coffee or iced latte sits on a metal surface with jars and a bag of Domino sugar in the background.&#34;&gt;
</description>
      <source:markdown>This is one of the awesome things about having an espresso machine at home. I love watching the hot coffee “drilling” into the ice 📷. 🧊☕️☀️

&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/2101255f5e.jpg&#34; width=&#34;452&#34; height=&#34;600&#34; alt=&#34;A glass of iced coffee or iced latte sits on a metal surface with jars and a bag of Domino sugar in the background.&#34;&gt;
</source:markdown>
    </item>
    
    <item>
      <title>Emacs Config Gems - Part 2</title>
      <link>https://taonaw.com/2026/07/26/emacs-config-gems-part.html</link>
      <pubDate>Sun, 26 Jul 2026 14:22:54 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/26/emacs-config-gems-part.html</guid>
      <description>&lt;p&gt;You know how I said last time &lt;a href=&#34;https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html&#34;&gt;Part 1&lt;/a&gt; was just the introduction? I lied.&lt;/p&gt;
&lt;p&gt;My &lt;kbd&gt;emacs-settings.org&lt;/kbd&gt; file includes an introduction that covers what I already went over and more. I thought I&amp;rsquo;d skip it, but as I looked through the notes I left to myself — various guidelines, warnings, and tips — I realized that this is exactly the kind of stuff I should share.&lt;/p&gt;
&lt;h3 id=&#34;style&#34;&gt;Style&lt;/h3&gt;
&lt;p&gt;As I was writing this, I fell into a rabbit hole (of course) and made a couple of additional changes.&lt;/p&gt;
&lt;p&gt;Style and style guides are important to me. In college, as an editor, I used the &lt;a href=&#34;https://en.wikipedia.org/wiki/AP_Stylebook&#34;&gt;AP Stylebook&lt;/a&gt; as a bible almost, along with the Chicago Manual of Style for academic papers. When I worked as a technical writer, it was &lt;a href=&#34;https://learn.microsoft.com/en-us/style-guide/welcome/&#34;&gt;Microsoft&amp;rsquo;s stylebook&lt;/a&gt; I checked constantly — and some of it stuck (don&amp;rsquo;t say &amp;ldquo;click&amp;rdquo;; say &amp;ldquo;select&amp;rdquo;, don&amp;rsquo;t say &amp;ldquo;sign in&amp;rdquo;; say &amp;ldquo;log in,&amp;rdquo; etc.) The main point is to stick to a style and keep using it — which one matters less.&lt;/p&gt;
&lt;p&gt;Here are the notes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Emacs keyboard shortcuts and file paths should be placed in &lt;code&gt;verbatim&lt;/code&gt; (between &lt;kbd&gt;=&lt;/kbd&gt; and &lt;kbd&gt;=&lt;/kbd&gt;)&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;Code (as part of an explanation) should be placed in &lt;code&gt;code&lt;/code&gt; (between &lt;kbd&gt;&lt;del&gt;&lt;/kbd&gt; and &lt;kbd&gt;&lt;/del&gt;&lt;/kbd&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Code blocks&lt;/strong&gt;: use structure templates (&lt;kbd&gt;C-c C-,&lt;/kbd&gt;) and choose &lt;code&gt;emacs-lisp&lt;/code&gt; from the list (this is defined below). It should be in lower case: &lt;code&gt;#+begin_src emacs-lisp&lt;/code&gt; and &lt;code&gt;#+end_src&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When explaining code&lt;/strong&gt;: the explanation follows the code immediately (no space). Use a space &lt;em&gt;after&lt;/em&gt; the code (new line) for the next item:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; explanation for item 1
 #+begin_src emacs-lisp
 code for item 1
 #+end_src
 
 explanation for item 2
 #+begin_src emacs-lisp
 code for item 2
 #+end_src
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;navigation-tips&#34;&gt;Navigation Tips&lt;/h3&gt;
&lt;p&gt;My settings file is long and requires that I jump around to different sections. As I was working on revamping it, I&amp;rsquo;ve learned quite a few useful &amp;ldquo;tricks&amp;rdquo; that I started sharing in earlier posts. These are always good to know, not just in our setting file.&lt;/p&gt;
&lt;h4 id=&#34;jump-back-with-the-mark-ring&#34;&gt;Jump Back With the Mark Ring&lt;/h4&gt;
&lt;p&gt;While &lt;a href=&#34;https://www.gnu.org/software/emacs/manual/html_node/emacs/Registers.html&#34;&gt;registers&lt;/a&gt; (I have a section about them below) are a nice org-mode feature I keep forgetting about, they&amp;rsquo;re a bit of an in-between too much or too little for most cases in this file. For quickly getting around, we should use the &lt;a href=&#34;https://www.gnu.org/software/emacs/manual/html_node/emacs/Mark-Ring.html&#34;&gt;mark ring&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;Use &lt;kbd&gt;C-u C-SPC&lt;/kbd&gt; (built on &lt;code&gt;set-mark-command&lt;/code&gt;) to jump back to where our marker was before, which is usually where we ended scrolling or moving to see something. Keep pressing to keep going back — it remembers all the positions we landed on. By default, it remembers the last 16 positions.&lt;/p&gt;
&lt;h4 id=&#34;editing-code-blocks&#34;&gt;Editing Code Blocks&lt;/h4&gt;
&lt;p&gt;&lt;a href=&#34;https://orgmode.org/manual/Editing-Source-Code.html&#34;&gt;Edit code blocks&lt;/a&gt; with &lt;kbd&gt;C-c &amp;lsquo;&lt;/kbd&gt; instead of just working with the text inside the org buffer directly&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Don&amp;rsquo;t&lt;/em&gt; edit the text in a code block (&lt;code&gt;#+begin_src&lt;/code&gt;&amp;hellip; &lt;code&gt;#+end_src&lt;/code&gt;) directly. While it works, we&amp;rsquo;re missing out on the power of &lt;code&gt;org-edit-special&lt;/code&gt;, and this is one powerful org-mode feature. Here are some of the highlights relevant to me, in bold:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  *When at a table, call the formula editor with &amp;#39;org-table-edit-formulas&amp;#39;.*
 When at table.el table, edit it in dedicated buffer.
 When in a source code block, call &amp;#39;org-edit-src-code&amp;#39;; with prefix
   argument, switch to session buffer.
 When in an example block, call &amp;#39;org-edit-src-code&amp;#39;.
 *When in an inline code block, call &amp;#39;org-edit-inline-src-code&amp;#39;.* **(this is what we&amp;#39;re doing here!)**
 When in a fixed-width region, call &amp;#39;org-edit-fixed-width-region&amp;#39;.
 When in an export block, call &amp;#39;org-edit-export-block&amp;#39;.
 When in a comment block, call &amp;#39;org-edit-comment-block&amp;#39;.
 When in a LaTeX environment, call &amp;#39;org-edit-latex-environment&amp;#39;.
 When at an INCLUDE, SETUPFILE or BIBLIOGRAPHY keyword, visit the included file.
 *When at a footnote reference, call &amp;#39;org-edit-footnote-reference&amp;#39;.*
 When at a planning line call, &amp;#39;org-deadline&amp;#39; and/or &amp;#39;org-schedule&amp;#39;.
 When at an active timestamp, call &amp;#39;org-timestamp&amp;#39;.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;What it gives us when we work with the settings here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A separate temporary buffer, without the &lt;code&gt;#+begin_src&lt;/code&gt;&amp;hellip; &lt;code&gt;#+end_src&lt;/code&gt;, which we can evaluate any time, without worrying about being at the end of an expression (parentheses) and use &lt;kbd&gt;C-x C-e&lt;/kbd&gt;&lt;sup&gt;&lt;a id=&#34;fnr.3&#34; class=&#34;footref&#34; href=&#34;#fn.3&#34; role=&#34;doc-backlink&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;.&lt;/li&gt;
&lt;li&gt;Safety net: as long as we don&amp;rsquo;t close it with another &lt;kbd&gt;C-c &amp;lsquo;&lt;/kbd&gt;, it doesn&amp;rsquo;t save the code, and we can run it in that separate buffer to see what it does.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Also, nice bonus: it highlights the code we&amp;rsquo;re in with a separate color, and it will keep highlighting it as long as &lt;code&gt;org-edit-special&lt;/code&gt; is open. Need a coffee refill? No problem, you know exactly where you left off.&lt;/p&gt;
&lt;h4 id=&#34;links&#34;&gt;Links&lt;/h4&gt;
&lt;p&gt;In my config, I started using links more often instead of setting registers (as I noted earlier, registers are too much for moving around, but too little as permanent location savers). I stole the thunder from this section &lt;a href=&#34;https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html&#34;&gt;in this post&lt;/a&gt;, but it deserves its own post anyway. org-mode internal links are &lt;em&gt;very&lt;/em&gt; powerful, and I don&amp;rsquo;t think the manual explains them well enough (examples would be good), so go check it out.&lt;/p&gt;
&lt;h4 id=&#34;registers&#34;&gt;Registers&lt;/h4&gt;
&lt;p&gt;Registers can save a location in a file to be recalled later from anywhere else in Emacs, or, to save a chunk of code to be pasted (yanked) later.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;To save a location: &lt;kbd&gt;C-x r SPC&lt;/kbd&gt;, then a number or a letter to name the register. So &lt;kbd&gt;C-x r SPC&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will save a register called &amp;ldquo;1&amp;rdquo; in the position the marker is on.&lt;/li&gt;
&lt;li&gt;To jump to a saved location in a register: &lt;kbd&gt;C-x r j&lt;/kbd&gt;, then the number/letter we previously selected. So in this example, &lt;kbd&gt;C-x r j&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will take us back to the location we saved as &amp;ldquo;1&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;To save a region in a register: First, highlight (select) a region in Emacs. Then &lt;kbd&gt;C-x r s&lt;/kbd&gt;, then a number or a letter to name the register. So selecting this sentence, then &lt;kbd&gt;C-x r s&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will save the sentence in register &lt;kbd&gt;1&lt;/kbd&gt;.&lt;sup&gt;&lt;a id=&#34;fnr.4&#34; class=&#34;footref&#34; href=&#34;#fn.4&#34; role=&#34;doc-backlink&#34;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;To insert a saved region: &lt;kbd&gt;C-x r i&lt;/kbd&gt;, then the number/letter we previously selected.&lt;/li&gt;
&lt;li&gt;To view saved registers: &lt;kbd&gt;M-x&lt;/kbd&gt; &lt;code&gt;view-register&lt;/code&gt;, which allows you to select one by number. A good replacement for &lt;kbd&gt;C-x r j&lt;/kbd&gt; if you need a visual reminder like I do.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It&amp;rsquo;s a good idea to keep numbers for positions and letters for text so we don&amp;rsquo;t get them confused and overwrite our registers.&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; Most Emacs users, I believe, use &lt;code&gt;code&lt;/code&gt; for file paths. The reason I have it different here is because I often talk about files in my posts without referring to code, and I will now make use of the &lt;code&gt;&amp;lt;kbd&amp;gt;&amp;lt;/kbd&amp;gt;&lt;/code&gt; tags as well, which I forgot about. This is good for clarity, especially when we talk about Emacs, since Emacs and keyboard shortcuts are mentioned together all the time.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; Those of you who code and write functions on Emacs regularly would probably find this &amp;ldquo;trick&amp;rdquo; trivial. However, as a person who does not have this background, I&amp;rsquo;ve been editing my code blocks directly in org for years — I had no idea &lt;code&gt;org-edit-special&lt;/code&gt; exists. I&amp;rsquo;m sure some folks out there are in the same boat.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.3&#34; href=&#34;#fnr.3&#34;&gt;3&lt;/a&gt;&lt;/sup&gt; Which is, as I explained in my previous footnote, exactly what I&amp;rsquo;ve been doing for years. It works, but it can lead to mistakes, and it&amp;rsquo;s not as safe (you&amp;rsquo;re changing your settings, so if something goes wrong, Emacs&amp;rsquo; startup will stop at the error).&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.4&#34; href=&#34;#fnr.4&#34;&gt;4&lt;/a&gt;&lt;/sup&gt; In a usual discovery manner, I found out that &lt;kbd&gt;C-x r +&lt;/kbd&gt; appends text to the register. So, if you were to select this footer here from the word &amp;ldquo;In&amp;rdquo; to the dot after &amp;ldquo;register&amp;rdquo;, you could then go to the word &amp;ldquo;So&amp;rdquo; and mark again to the word &amp;ldquo;footer&amp;rdquo; 7 words later, hit &lt;kbd&gt;C-x r +&lt;/kbd&gt;, and then when you ready to yank (paste), hit &lt;kbd&gt;C-x r i&lt;/kbd&gt; and both sections will be yanked as one. Actually, you could forgo &lt;kbd&gt;C-x r i&lt;/kbd&gt; altogether and use &lt;kbd&gt;C-x r +&lt;/kbd&gt; from the start, because if you append to an empty register, it will just append that first chunk.&lt;/p&gt;
</description>
      <source:markdown>You know how I said last time [Part 1](https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html) was just the introduction? I lied.

My &lt;kbd&gt;emacs-settings.org&lt;/kbd&gt; file includes an introduction that covers what I already went over and more. I thought I&#39;d skip it, but as I looked through the notes I left to myself — various guidelines, warnings, and tips — I realized that this is exactly the kind of stuff I should share.

### Style

As I was writing this, I fell into a rabbit hole (of course) and made a couple of additional changes.

Style and style guides are important to me. In college, as an editor, I used the [AP Stylebook](https://en.wikipedia.org/wiki/AP_Stylebook) as a bible almost, along with the Chicago Manual of Style for academic papers. When I worked as a technical writer, it was [Microsoft&#39;s stylebook](https://learn.microsoft.com/en-us/style-guide/welcome/) I checked constantly — and some of it stuck (don&#39;t say &#34;click&#34;; say &#34;select&#34;, don&#39;t say &#34;sign in&#34;; say &#34;log in,&#34; etc.) The main point is to stick to a style and keep using it — which one matters less.

Here are the notes:

1.  Emacs keyboard shortcuts and file paths should be placed in `verbatim` (between &lt;kbd&gt;=&lt;/kbd&gt; and &lt;kbd&gt;=&lt;/kbd&gt;)&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;
2.  Code (as part of an explanation) should be placed in `code` (between &lt;kbd&gt;~&lt;/kbd&gt; and &lt;kbd&gt;~&lt;/kbd&gt;)

**Code blocks**: use structure templates (&lt;kbd&gt;C-c C-,&lt;/kbd&gt;) and choose `emacs-lisp` from the list (this is defined below). It should be in lower case: `#+begin_src emacs-lisp` and `#+end_src`.

**When explaining code**: the explanation follows the code immediately (no space). Use a space *after* the code (new line) for the next item:

```
 explanation for item 1
 #+begin_src emacs-lisp
 code for item 1
 #+end_src
 
 explanation for item 2
 #+begin_src emacs-lisp
 code for item 2
 #+end_src
```

### Navigation Tips

My settings file is long and requires that I jump around to different sections. As I was working on revamping it, I&#39;ve learned quite a few useful &#34;tricks&#34; that I started sharing in earlier posts. These are always good to know, not just in our setting file.

#### Jump Back With the Mark Ring

While [registers](https://www.gnu.org/software/emacs/manual/html_node/emacs/Registers.html) (I have a section about them below) are a nice org-mode feature I keep forgetting about, they&#39;re a bit of an in-between too much or too little for most cases in this file. For quickly getting around, we should use the [mark ring](https://www.gnu.org/software/emacs/manual/html_node/emacs/Mark-Ring.html):

Use &lt;kbd&gt;C-u C-SPC&lt;/kbd&gt; (built on `set-mark-command`) to jump back to where our marker was before, which is usually where we ended scrolling or moving to see something. Keep pressing to keep going back — it remembers all the positions we landed on. By default, it remembers the last 16 positions.

#### Editing Code Blocks

[Edit code blocks](https://orgmode.org/manual/Editing-Source-Code.html) with &lt;kbd&gt;C-c &#39;&lt;/kbd&gt; instead of just working with the text inside the org buffer directly&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;

*Don&#39;t* edit the text in a code block (`#+begin_src`... `#+end_src`) directly. While it works, we&#39;re missing out on the power of `org-edit-special`, and this is one powerful org-mode feature. Here are some of the highlights relevant to me, in bold:

```
  *When at a table, call the formula editor with &#39;org-table-edit-formulas&#39;.*
 When at table.el table, edit it in dedicated buffer.
 When in a source code block, call &#39;org-edit-src-code&#39;; with prefix
   argument, switch to session buffer.
 When in an example block, call &#39;org-edit-src-code&#39;.
 *When in an inline code block, call &#39;org-edit-inline-src-code&#39;.* **(this is what we&#39;re doing here!)**
 When in a fixed-width region, call &#39;org-edit-fixed-width-region&#39;.
 When in an export block, call &#39;org-edit-export-block&#39;.
 When in a comment block, call &#39;org-edit-comment-block&#39;.
 When in a LaTeX environment, call &#39;org-edit-latex-environment&#39;.
 When at an INCLUDE, SETUPFILE or BIBLIOGRAPHY keyword, visit the included file.
 *When at a footnote reference, call &#39;org-edit-footnote-reference&#39;.*
 When at a planning line call, &#39;org-deadline&#39; and/or &#39;org-schedule&#39;.
 When at an active timestamp, call &#39;org-timestamp&#39;.
```
What it gives us when we work with the settings here:

1.  A separate temporary buffer, without the `#+begin_src`... `#+end_src`, which we can evaluate any time, without worrying about being at the end of an expression (parentheses) and use &lt;kbd&gt;C-x C-e&lt;/kbd&gt;&lt;sup&gt;&lt;a id=&#34;fnr.3&#34; class=&#34;footref&#34; href=&#34;#fn.3&#34; role=&#34;doc-backlink&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;.
2.  Safety net: as long as we don&#39;t close it with another &lt;kbd&gt;C-c &#39;&lt;/kbd&gt;, it doesn&#39;t save the code, and we can run it in that separate buffer to see what it does.

Also, nice bonus: it highlights the code we&#39;re in with a separate color, and it will keep highlighting it as long as `org-edit-special` is open. Need a coffee refill? No problem, you know exactly where you left off.

#### Links

In my config, I started using links more often instead of setting registers (as I noted earlier, registers are too much for moving around, but too little as permanent location savers). I stole the thunder from this section [in this post](https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html), but it deserves its own post anyway. org-mode internal links are *very* powerful, and I don&#39;t think the manual explains them well enough (examples would be good), so go check it out.

#### Registers

Registers can save a location in a file to be recalled later from anywhere else in Emacs, or, to save a chunk of code to be pasted (yanked) later.

1.  To save a location: &lt;kbd&gt;C-x r SPC&lt;/kbd&gt;, then a number or a letter to name the register. So &lt;kbd&gt;C-x r SPC&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will save a register called &#34;1&#34; in the position the marker is on.
2.  To jump to a saved location in a register: &lt;kbd&gt;C-x r j&lt;/kbd&gt;, then the number/letter we previously selected. So in this example, &lt;kbd&gt;C-x r j&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will take us back to the location we saved as &#34;1&#34;.
3.  To save a region in a register: First, highlight (select) a region in Emacs. Then &lt;kbd&gt;C-x r s&lt;/kbd&gt;, then a number or a letter to name the register. So selecting this sentence, then &lt;kbd&gt;C-x r s&lt;/kbd&gt; and then &lt;kbd&gt;1&lt;/kbd&gt; will save the sentence in register &lt;kbd&gt;1&lt;/kbd&gt;.&lt;sup&gt;&lt;a id=&#34;fnr.4&#34; class=&#34;footref&#34; href=&#34;#fn.4&#34; role=&#34;doc-backlink&#34;&gt;4&lt;/a&gt;&lt;/sup&gt;
4.  To insert a saved region: &lt;kbd&gt;C-x r i&lt;/kbd&gt;, then the number/letter we previously selected.
5.  To view saved registers: &lt;kbd&gt;M-x&lt;/kbd&gt; `view-register`, which allows you to select one by number. A good replacement for &lt;kbd&gt;C-x r j&lt;/kbd&gt; if you need a visual reminder like I do.

It&#39;s a good idea to keep numbers for positions and letters for text so we don&#39;t get them confused and overwrite our registers.

### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; Most Emacs users, I believe, use `code` for file paths. The reason I have it different here is because I often talk about files in my posts without referring to code, and I will now make use of the `&lt;kbd&gt;&lt;/kbd&gt;` tags as well, which I forgot about. This is good for clarity, especially when we talk about Emacs, since Emacs and keyboard shortcuts are mentioned together all the time.

&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; Those of you who code and write functions on Emacs regularly would probably find this &#34;trick&#34; trivial. However, as a person who does not have this background, I&#39;ve been editing my code blocks directly in org for years — I had no idea `org-edit-special` exists. I&#39;m sure some folks out there are in the same boat.

&lt;sup&gt;&lt;a id=&#34;fn.3&#34; href=&#34;#fnr.3&#34;&gt;3&lt;/a&gt;&lt;/sup&gt; Which is, as I explained in my previous footnote, exactly what I&#39;ve been doing for years. It works, but it can lead to mistakes, and it&#39;s not as safe (you&#39;re changing your settings, so if something goes wrong, Emacs&#39; startup will stop at the error).

&lt;sup&gt;&lt;a id=&#34;fn.4&#34; href=&#34;#fnr.4&#34;&gt;4&lt;/a&gt;&lt;/sup&gt; In a usual discovery manner, I found out that &lt;kbd&gt;C-x r +&lt;/kbd&gt; appends text to the register. So, if you were to select this footer here from the word &#34;In&#34; to the dot after &#34;register&#34;, you could then go to the word &#34;So&#34; and mark again to the word &#34;footer&#34; 7 words later, hit &lt;kbd&gt;C-x r +&lt;/kbd&gt;, and then when you ready to yank (paste), hit &lt;kbd&gt;C-x r i&lt;/kbd&gt; and both sections will be yanked as one. Actually, you could forgo &lt;kbd&gt;C-x r i&lt;/kbd&gt; altogether and use &lt;kbd&gt;C-x r +&lt;/kbd&gt; from the start, because if you append to an empty register, it will just append that first chunk.
</source:markdown>
    </item>
    
    <item>
      <title>I Love me Some Em Dashes, and I Don&#39;t Care</title>
      <link>https://taonaw.com/2026/07/25/i-love-me-some-em.html</link>
      <pubDate>Sat, 25 Jul 2026 14:04:49 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/25/i-love-me-some-em.html</guid>
      <description>&lt;p&gt;They&amp;rsquo;ve been sneaking up on me again in my own writing, and I&amp;rsquo;ve been trying to catch them, changing them to colons. That&amp;rsquo;s alright for the most part; it kinda works. Kinda.&lt;/p&gt;
&lt;p&gt;And then &lt;a href=&#34;https://psychotechnology.substack.com&#34;&gt;this guy&lt;/a&gt;&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;a href=&#34;https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing&#34;&gt;came along&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;hellip;colons are so nearly useless — they are the same width as a comma and unlike periods they don&amp;rsquo;t change the register of the following letter. Em dashes are of a clearly different length. And most colons are better off as em dashes to delineate different parts of the sentence.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The problem with Em dashes these days is AI of course. Sasha has an answer for this as well:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I don&amp;rsquo;t give a shit what the &amp;ldquo;oh yeah let&amp;rsquo;s examine this piece of writing with a magnifying glass for any signs of AI&amp;rdquo; crowd thinks. I don&amp;rsquo;t give a shit that AI figured out how to produce em dashes before these online troglodytes did. Typing em dashes is not an AGI-complete problem. It&amp;rsquo;s not that difficult to produce an organic, artisanal, hand-crafted em dash — on Mac, for example, it&amp;rsquo;s simply Option + Shift + Hyphen.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I&amp;rsquo;ve been using regular dashes as em dashes for years before I even knew they&amp;rsquo;re called em dashes (and then realized that I&amp;rsquo;ve been using regular dashes wrong) and thanks to this guy I learned how to do that on a Mac, and now in my Emacs too: &lt;code&gt;---&lt;/code&gt; in org-mode will become em-dashes in a new dwim function I just made&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;So yes: someone, at some point, would point to my posts and blame me for spewing AI-made content. &lt;a href=&#34;https://taonaw.com/2026/03/22/using-ai-to-edit-and.html&#34;&gt;I already confessed I use AI to edit and polish my posts&lt;/a&gt;, and also:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;But what would people think of my writing if I ever used an em dash? What if someone points one out in my writing?&amp;rdquo;. Bitch, please. Are you writing for an internet rando who&amp;rsquo;s got nothing better to do than to hunt for em dashes? Fine, you do, okay, fair enough. Then I&amp;rsquo;ve got you covered: use AP-style em dashes, these are separated from the text by spaces instead of being glued to it. That&amp;rsquo;s how every em dash in this piece is styled — and it&amp;rsquo;s unlike AI em dashes which are &amp;ldquo;like—this, word—word&amp;rdquo;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So I&amp;rsquo;ve been using AP-style em dashes the whole time? &lt;a href=&#34;https://www.apstylebook.com/blog_posts/24&#34;&gt;Turns out I did&lt;/a&gt;!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;They are about the width of a capital letter M, and always get a space on either side, except in sports agate.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And while there, I saw they mention AI too (because how can you not):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It&amp;rsquo;d be nice if there was an easy tell &lt;em&gt;(if something is written by AI or not - JTR)&lt;/em&gt;. Unfortunately, that tell is not the em dash, which has been around for many years. In fact, they are so ubiquitous in AP lingo, we just call them dashes.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;OK then, I feel vindicated enough. Sorry Em dashes, it&amp;rsquo;s been too long.&lt;/p&gt;
&lt;p&gt;Oh, and while I&amp;rsquo;m on my AI soap box, let me vent about yet another thing that AI is actually messing up for me: commas.&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t care if I need a comma before &amp;ldquo;too&amp;rdquo; or &amp;ldquo;ok&amp;rdquo; in a sentence like this one here ok?&lt;/p&gt;
&lt;p&gt;If I were to write: &amp;ldquo;I don&amp;rsquo;t care if I need a comma before &amp;rsquo;too&amp;rsquo; or &amp;lsquo;ok&amp;rsquo; in a sentence like this one here, ok?&amp;rdquo; with that comma before the ok, it will break the flow. And I like my grumpy flow.&lt;/p&gt;
&lt;p&gt;It makes you take a pause, as if the &amp;ldquo;OK&amp;rdquo; is its own thought almost, but it&amp;rsquo;s not. It&amp;rsquo;s part of the whole sentence before it, just as I&amp;rsquo;d say it. I don&amp;rsquo;t &lt;em&gt;care&lt;/em&gt; if it&amp;rsquo;s grammatically correct — it&amp;rsquo;s not JTR correct. So screw that. Thanks but not thanks.&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;: I have a lot to say about not liking this guy being on Substack, but every now and then there&amp;rsquo;s someone who writes something I like in a place I don&amp;rsquo;t like, so instead of bitching about it I just bite the bullet. Also, Sasha offers writing classes for money (I feel like shelling out $175 an hour is a bit much, but that&amp;rsquo;s me), so it kind of works.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;: org-mode can export to markdown, so why do I need a function in dwim to do it through pandoc? Because org-mode&amp;rsquo;s markdown exporter is based on its HTML exporter, which converts those to HTML numeric code. This is fine if you export to HTML and open with a browser, but if you export to a markdown file or a temporary markdown buffer (as I do to copy into Micro.blog&amp;rsquo;s app), it will just show the code, and then I have to find them all and replace them and it&amp;rsquo;s annoying and cumbersome.&lt;/p&gt;
</description>
      <source:markdown>They&#39;ve been sneaking up on me again in my own writing, and I&#39;ve been trying to catch them, changing them to colons. That&#39;s alright for the most part; it kinda works. Kinda.

And then [this guy](https://psychotechnology.substack.com)&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;[came along](https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing):

&gt; ...colons are so nearly useless — they are the same width as a comma and unlike periods they don&#39;t change the register of the following letter. Em dashes are of a clearly different length. And most colons are better off as em dashes to delineate different parts of the sentence.

The problem with Em dashes these days is AI of course. Sasha has an answer for this as well:

&gt; I don&#39;t give a shit what the &#34;oh yeah let&#39;s examine this piece of writing with a magnifying glass for any signs of AI&#34; crowd thinks. I don&#39;t give a shit that AI figured out how to produce em dashes before these online troglodytes did. Typing em dashes is not an AGI-complete problem. It&#39;s not that difficult to produce an organic, artisanal, hand-crafted em dash — on Mac, for example, it&#39;s simply Option + Shift + Hyphen.

I&#39;ve been using regular dashes as em dashes for years before I even knew they&#39;re called em dashes (and then realized that I&#39;ve been using regular dashes wrong) and thanks to this guy I learned how to do that on a Mac, and now in my Emacs too: `---` in org-mode will become em-dashes in a new dwim function I just made&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;.

So yes: someone, at some point, would point to my posts and blame me for spewing AI-made content. [I already confessed I use AI to edit and polish my posts](https://taonaw.com/2026/03/22/using-ai-to-edit-and.html), and also:

&gt; &#34;But what would people think of my writing if I ever used an em dash? What if someone points one out in my writing?&#34;. Bitch, please. Are you writing for an internet rando who&#39;s got nothing better to do than to hunt for em dashes? Fine, you do, okay, fair enough. Then I&#39;ve got you covered: use AP-style em dashes, these are separated from the text by spaces instead of being glued to it. That&#39;s how every em dash in this piece is styled — and it&#39;s unlike AI em dashes which are &#34;like—this, word—word&#34;.

So I&#39;ve been using AP-style em dashes the whole time? [Turns out I did](https://www.apstylebook.com/blog_posts/24)!

&gt; They are about the width of a capital letter M, and always get a space on either side, except in sports agate.

And while there, I saw they mention AI too (because how can you not):

&gt; It&#39;d be nice if there was an easy tell *(if something is written by AI or not - JTR)*. Unfortunately, that tell is not the em dash, which has been around for many years. In fact, they are so ubiquitous in AP lingo, we just call them dashes.

OK then, I feel vindicated enough. Sorry Em dashes, it&#39;s been too long.

Oh, and while I&#39;m on my AI soap box, let me vent about yet another thing that AI is actually messing up for me: commas.

I don&#39;t care if I need a comma before &#34;too&#34; or &#34;ok&#34; in a sentence like this one here ok?

If I were to write: &#34;I don&#39;t care if I need a comma before &#39;too&#39; or &#39;ok&#39; in a sentence like this one here, ok?&#34; with that comma before the ok, it will break the flow. And I like my grumpy flow.

It makes you take a pause, as if the &#34;OK&#34; is its own thought almost, but it&#39;s not. It&#39;s part of the whole sentence before it, just as I&#39;d say it. I don&#39;t *care* if it&#39;s grammatically correct — it&#39;s not JTR correct. So screw that. Thanks but not thanks.

### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;: I have a lot to say about not liking this guy being on Substack, but every now and then there&#39;s someone who writes something I like in a place I don&#39;t like, so instead of bitching about it I just bite the bullet. Also, Sasha offers writing classes for money (I feel like shelling out $175 an hour is a bit much, but that&#39;s me), so it kind of works.

&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;: org-mode can export to markdown, so why do I need a function in dwim to do it through pandoc? Because org-mode&#39;s markdown exporter is based on its HTML exporter, which converts those to HTML numeric code. This is fine if you export to HTML and open with a browser, but if you export to a markdown file or a temporary markdown buffer (as I do to copy into Micro.blog&#39;s app), it will just show the code, and then I have to find them all and replace them and it&#39;s annoying and cumbersome.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/25/nice-sunny-day-to-see.html</link>
      <pubDate>Sat, 25 Jul 2026 12:01:21 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/25/nice-sunny-day-to-see.html</guid>
      <description>&lt;p&gt;Nice sunny day to see a sunflower 📷&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/775f70bf49.jpg&#34; width=&#34;450&#34; height=&#34;600&#34; alt=&#34;&#34;&gt;
</description>
      <source:markdown>Nice sunny day to see a sunflower 📷


&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/775f70bf49.jpg&#34; width=&#34;450&#34; height=&#34;600&#34; alt=&#34;&#34;&gt;
</source:markdown>
    </item>
    
    <item>
      <title>Emacs Config Gems - Part 1</title>
      <link>https://taonaw.com/2026/07/23/emacs-config-gems-part.html</link>
      <pubDate>Thu, 23 Jul 2026 19:40:23 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/23/emacs-config-gems-part.html</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been working on my Emacs config for three weeks now, coming this weekend. It&amp;rsquo;s one of the deepest and most fun rabbit holes I&amp;rsquo;ve been exploring. As I stumble upon new ways to do things, I dig deeper, learn more, and keep tweaking my config, which makes this rabbit lair even bigger.&lt;/p&gt;
&lt;p&gt;Eventually I realized that if I wait until I&amp;rsquo;m done to upload the config file, it will never happen: by the time I&amp;rsquo;m done, I will accumulate enough fixes and additional tricks and tweaks to warrant a whole &lt;em&gt;new&lt;/em&gt; file.&lt;/p&gt;
&lt;p&gt;The conclusion is what I should have done from the beginning: apply changes in chunks and explain what I&amp;rsquo;m doing and why as these happen.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m starting with changes to my &lt;code&gt;.emacs&lt;/code&gt;&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; file on my mac&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;, before we&amp;rsquo;re even touching the &amp;ldquo;good stuff&amp;rdquo; in my main &lt;code&gt;emacs-settings.org&lt;/code&gt; file. Why? Because Emacs was built with Linux in mind, and we need to make some important adjustments to how Emacs works on a Mac before we use it. As you will see, I&amp;rsquo;m using this conceptually too: while some of the configurations in the &lt;code&gt;.emacs&lt;/code&gt; file (the &amp;ldquo;init&amp;rdquo; file) could technically be placed in the big &lt;code&gt;emacs-settings.org&lt;/code&gt; file, I still place them in what I consider Emacs&amp;rsquo; &amp;ldquo;booting&amp;rdquo; process.&lt;/p&gt;
&lt;p&gt;My &lt;code&gt;.emacs&lt;/code&gt; file contains only these four code blocks, which are separated with spaces for visual convenience:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-lisp&#34; data-lang=&#34;lisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (when (memq window-system &lt;span style=&#34;color:#f92672&#34;&gt;&amp;#39;&lt;/span&gt;(mac ns x))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      (exec-path-from-shell-initialize))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#66d9ef&#34;&gt;setq&lt;/span&gt; insert-directory-program &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;gls&amp;#34;&lt;/span&gt; dired-use-ls-dired &lt;span style=&#34;color:#66d9ef&#34;&gt;t&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#66d9ef&#34;&gt;setq&lt;/span&gt; custom-file (expand-file-name &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;emacs_custom.el&amp;#34;&lt;/span&gt; user-emacs-directory))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#a6e22e&#34;&gt;load&lt;/span&gt; custom-file &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;noerror&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (org-babel-load-file
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/Users/user/Sync/Public/emacs_settings/emacs_settings.org&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;exec-path-from-shell-initialize&#34;&gt;exec-path-from-shell-initialize&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-lisp&#34; data-lang=&#34;lisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (when (memq window-system &lt;span style=&#34;color:#f92672&#34;&gt;&amp;#39;&lt;/span&gt;(mac ns x))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      (exec-path-from-shell-initialize))
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This tells Emacs that if its windowing system is macOS-related (&lt;strong&gt;ns&lt;/strong&gt; or &lt;strong&gt;x&lt;/strong&gt;; there&amp;rsquo;s also the old &lt;strong&gt;mac&lt;/strong&gt; version of Emacs that is not being used today — the Homebrew emacs-plus one we are using here is ns, which can be checked with &lt;code&gt;M-x emacs-version&lt;/code&gt;), it should run &lt;code&gt;exec-path-from-shell-initialize&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This function copies the PATH from the shell, as if we were using a terminal program. By design, macOS GUI applications (those that live in the user&amp;rsquo;s &lt;code&gt;Applications&lt;/code&gt; folder and have an &lt;code&gt;.app&lt;/code&gt; extension) are not exposed to this PATH because they&amp;rsquo;re launched by a different process altogether (&lt;code&gt;launchd&lt;/code&gt;)&lt;sup&gt;&lt;a id=&#34;fnr.3&#34; class=&#34;footref&#34; href=&#34;#fn.3&#34; role=&#34;doc-backlink&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;. But Emacs needs this PATH, as many of its core components integrate with the OS as a terminal application, which is what it is, at its core.&lt;/p&gt;
&lt;p&gt;In fact, this is why we need this condition in a file that resides on a Mac, and why this condition is triggered by the windowing system, and not the OS itself (every other condition in our config would be written as &lt;code&gt;eq system-type &#39;darwin&lt;/code&gt; or similar). If we run Emacs in terminal, the program already has access to PATH, and this execution is not needed.&lt;/p&gt;
&lt;h3 id=&#34;use-gls-in-dired&#34;&gt;Use gls in Dired&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-lisp&#34; data-lang=&#34;lisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#66d9ef&#34;&gt;setq&lt;/span&gt; insert-directory-program &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;gls&amp;#34;&lt;/span&gt; dired-use-ls-dired &lt;span style=&#34;color:#66d9ef&#34;&gt;t&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This doesn&amp;rsquo;t have to live in our &lt;code&gt;.emacs&lt;/code&gt; file, as it can live as part of our Dired options in &lt;code&gt;emacs-settings.org&lt;/code&gt;, which will come later. However, this is a macOS-only thing, and since we need to get &lt;code&gt;gls&lt;/code&gt; from Homebrew, it&amp;rsquo;s one of those things to prepare before we start Emacs for the first time. After all, we will probably use Dired right away after install, and we want to make sure it&amp;rsquo;s ready.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;gls&lt;/code&gt;, GNU&amp;rsquo;s ls command, is bundled with other utilities inside &lt;code&gt;coreutils&lt;/code&gt;, so we install it with &lt;code&gt;brew install coreutils&lt;/code&gt;. Then the above command makes sense — we&amp;rsquo;re telling Emacs to use this flavor of this &lt;code&gt;ls&lt;/code&gt; command instead of the one that comes with macOS, which is lighter and doesn&amp;rsquo;t have what we&amp;rsquo;re used to seeing in Emacs Dired (at least, not for me). As it turns out, there are other well-known utilities in this package, such as &lt;code&gt;rm&lt;/code&gt; and &lt;code&gt;mkdir&lt;/code&gt;, but we don&amp;rsquo;t use them, so it&amp;rsquo;s really just for &lt;code&gt;gls&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;changing-emacs-custom-default-file-to-emacs_customel&#34;&gt;Changing Emacs&amp;rsquo; custom default file to &lt;code&gt;emacs_custom.el&lt;/code&gt;&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-lisp&#34; data-lang=&#34;lisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#66d9ef&#34;&gt;setq&lt;/span&gt; custom-file (expand-file-name &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;emacs_custom.el&amp;#34;&lt;/span&gt; user-emacs-directory))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (&lt;span style=&#34;color:#a6e22e&#34;&gt;load&lt;/span&gt; custom-file &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;noerror&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This is something I discovered while working on my &lt;code&gt;.emacs&lt;/code&gt; file. It was cluttered with comments and configurations from Emacs&amp;rsquo;s &lt;code&gt;custom&lt;/code&gt;, Emacs&amp;rsquo; settings wizard. This is because by default, Emacs doesn&amp;rsquo;t have a definition for it:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;File used for storing customization information.
The default is nil, which means to use your init file
as specified by &amp;lsquo;user-init-file&amp;rsquo;.  If the value is not nil,
it should be an absolute file name.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It makes sense if you use custom often, which probably means you don&amp;rsquo;t bother with babel (coming up) and writing long Emacs posts like this one, but in reality, I haven&amp;rsquo;t met an Emacs user who used it for more than a few months at most without getting their hands dirty. It&amp;rsquo;s just too tempting.&lt;/p&gt;
&lt;p&gt;The first line tells Emacs where the custom file config is (inside &lt;code&gt;/.emacs.d/&lt;/code&gt;, the default for &lt;code&gt;user-emacs-directory&lt;/code&gt;), and the second line tells it to &amp;ldquo;not worry&amp;rdquo; if the file is not there. Why? Because the first time we run Emacs (or a clean reinstall), we might not have this file at all yet, as it&amp;rsquo;s created by custom. If we don&amp;rsquo;t have this file, Emacs will do whatever it does whenever it encounters an error: tell us there&amp;rsquo;s an error and stop running the rest of the config. And this happens right at the beginning, so essentially our entire config will be skipped. So this is a good safety option&lt;sup&gt;&lt;a id=&#34;fnr.4&#34; class=&#34;footref&#34; href=&#34;#fn.4&#34; role=&#34;doc-backlink&#34;&gt;4&lt;/a&gt;&lt;/sup&gt;, and probably good practice.&lt;/p&gt;
&lt;h3 id=&#34;org-babel-load-the-configuration-from-an-org-file&#34;&gt;Org-babel: load the configuration from an org file&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-lisp&#34; data-lang=&#34;lisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    (org-babel-load-file
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/Users/user/Sync/Public/emacs_settings/emacs_settings.org&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, after we put all the critical macOS&lt;sup&gt;&lt;a id=&#34;fnr.5&#34; class=&#34;footref&#34; href=&#34;#fn.5&#34; role=&#34;doc-backlink&#34;&gt;5&lt;/a&gt;&lt;/sup&gt; configuration in place, it&amp;rsquo;s time to tell Emacs where the &lt;em&gt;rest&lt;/em&gt; of the configurations are. This here was just the introduction, the Emacs &amp;ldquo;boot&amp;rdquo; for Mac only, after all&lt;sup&gt;&lt;a id=&#34;fnr.6&#34; class=&#34;footref&#34; href=&#34;#fn.6&#34; role=&#34;doc-backlink&#34;&gt;6&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;So here we are, done with part 1. It took me way longer to write than I thought it would take (I&amp;rsquo;ve been standing at my desk for about 2 hours now), but this is exactly the sort of thing that keeps me hooked on Emacs. Everything leads to more&amp;hellip; everything. There&amp;rsquo;s a story behind every dot, apparently. As you can see from my footnotes, I&amp;rsquo;ve found additional tangents to go on while writing this just now, and that&amp;rsquo;s on top of a growing list I already have, of about 10 other things I want to check — and my config is only about 25% done. And as I said, by the time I&amp;rsquo;m done, it will be time for round 2, which in turn will probably lead to round 3&amp;hellip;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Emacs. It really whips the GNU&amp;rsquo;s&amp;hellip;&amp;rdquo; errm. Anyway. See you next time!&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; The &lt;a href=&#34;https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory&#34;&gt;story of dot&lt;/a&gt; files (files that start with a dot, like &lt;code&gt;.emacs&lt;/code&gt;) is an interesting one. Turns out it was a &lt;a href=&#34;http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_filename.html&#34;&gt;programming mistake&lt;/a&gt; back in the days when Unix started, and it stuck as an idea. These became convenient to use as configuration files because they are the sort of files that are usually created when you install something and configure it once, probably to never see it again (this was before Emacs users started popping up, obviously), so the bug became a feature.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; On a Mac, you have several options when installing Emacs. The one I&amp;rsquo;ve been using over the years, and what seems to be the most popular, is emacs-plus at &lt;a href=&#34;https://github.com/d12frosted/homebrew-emacs-plus&#34;&gt;https://github.com/d12frosted/homebrew-emacs-plus&lt;/a&gt;. Some of the choices I made in my &lt;code&gt;.emacs&lt;/code&gt; file are based on this fact.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.3&#34; href=&#34;#fnr.3&#34;&gt;3&lt;/a&gt;&lt;/sup&gt; There&amp;rsquo;s another rabbit hole here I didn&amp;rsquo;t explore much: Emacs on Homebrew, at least in some versions, has incorporated the option to grab the PATH during installation; however, it seems Apple blocked this option at some point, so we need to run it like this. I don&amp;rsquo;t recall ever getting a warning that Emacs needs access to my PATH or something similar, but I wouldn&amp;rsquo;t be surprised if something to that effect is happening when you first install it.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.4&#34; href=&#34;#fnr.4&#34;&gt;4&lt;/a&gt;&lt;/sup&gt; As I&amp;rsquo;m writing this, I realize there&amp;rsquo;s another worthwhile rabbit hole here: the option to tell Emacs to ignore errors for non-critical configurations, such as the theme, or the way org-mode displays, etc. While I want these in place, if there&amp;rsquo;s an error, I&amp;rsquo;d like Emacs to keep loading the config if it can. Since there are different &amp;ldquo;skip error&amp;rdquo; options depending on where and what is being skipped, and since I need to be sure what I&amp;rsquo;m skipping, I&amp;rsquo;ll do more digging another time.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.5&#34; href=&#34;#fnr.5&#34;&gt;5&lt;/a&gt;&lt;/sup&gt; Ah ha, but that last one, the custom file location, is also good on Linux! Good thing I&amp;rsquo;m writing this blog post. When I go back to my Linux machine, I will include this line there as well.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.6&#34; href=&#34;#fnr.6&#34;&gt;6&lt;/a&gt;&lt;/sup&gt; By the way, while there is no &lt;code&gt;org-babel.el&lt;/code&gt;, it can almost be one from a quick look (yes, yet another rabbit hole). There are many different &lt;code&gt;.el&lt;/code&gt; files scattered in Emacs that relate to &lt;code&gt;org-babel&lt;/code&gt; which can do different things.&lt;/p&gt;
</description>
      <source:markdown>I&#39;ve been working on my Emacs config for three weeks now, coming this weekend. It&#39;s one of the deepest and most fun rabbit holes I&#39;ve been exploring. As I stumble upon new ways to do things, I dig deeper, learn more, and keep tweaking my config, which makes this rabbit lair even bigger.

Eventually I realized that if I wait until I&#39;m done to upload the config file, it will never happen: by the time I&#39;m done, I will accumulate enough fixes and additional tricks and tweaks to warrant a whole *new* file.

The conclusion is what I should have done from the beginning: apply changes in chunks and explain what I&#39;m doing and why as these happen.

I&#39;m starting with changes to my `.emacs`&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; file on my mac&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;, before we&#39;re even touching the &#34;good stuff&#34; in my main `emacs-settings.org` file. Why? Because Emacs was built with Linux in mind, and we need to make some important adjustments to how Emacs works on a Mac before we use it. As you will see, I&#39;m using this conceptually too: while some of the configurations in the `.emacs` file (the &#34;init&#34; file) could technically be placed in the big `emacs-settings.org` file, I still place them in what I consider Emacs&#39; &#34;booting&#34; process.

My `.emacs` file contains only these four code blocks, which are separated with spaces for visual convenience:

```lisp
    (when (memq window-system &#39;(mac ns x))
      (exec-path-from-shell-initialize))
    
    (setq insert-directory-program &#34;gls&#34; dired-use-ls-dired t)
    
    (setq custom-file (expand-file-name &#34;emacs_custom.el&#34; user-emacs-directory))
    (load custom-file &#39;noerror)
    
    (org-babel-load-file
     &#34;/Users/user/Sync/Public/emacs_settings/emacs_settings.org&#34;)
```

### exec-path-from-shell-initialize

```lisp
    (when (memq window-system &#39;(mac ns x))
      (exec-path-from-shell-initialize))
```
This tells Emacs that if its windowing system is macOS-related (**ns** or **x**; there&#39;s also the old **mac** version of Emacs that is not being used today — the Homebrew emacs-plus one we are using here is ns, which can be checked with `M-x emacs-version`), it should run `exec-path-from-shell-initialize`.

This function copies the PATH from the shell, as if we were using a terminal program. By design, macOS GUI applications (those that live in the user&#39;s `Applications` folder and have an `.app` extension) are not exposed to this PATH because they&#39;re launched by a different process altogether (`launchd`)&lt;sup&gt;&lt;a id=&#34;fnr.3&#34; class=&#34;footref&#34; href=&#34;#fn.3&#34; role=&#34;doc-backlink&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;. But Emacs needs this PATH, as many of its core components integrate with the OS as a terminal application, which is what it is, at its core.

In fact, this is why we need this condition in a file that resides on a Mac, and why this condition is triggered by the windowing system, and not the OS itself (every other condition in our config would be written as `eq system-type &#39;darwin` or similar). If we run Emacs in terminal, the program already has access to PATH, and this execution is not needed.

### Use gls in Dired
```lisp
    (setq insert-directory-program &#34;gls&#34; dired-use-ls-dired t)
```
This doesn&#39;t have to live in our `.emacs` file, as it can live as part of our Dired options in `emacs-settings.org`, which will come later. However, this is a macOS-only thing, and since we need to get `gls` from Homebrew, it&#39;s one of those things to prepare before we start Emacs for the first time. After all, we will probably use Dired right away after install, and we want to make sure it&#39;s ready.

`gls`, GNU&#39;s ls command, is bundled with other utilities inside `coreutils`, so we install it with `brew install coreutils`. Then the above command makes sense — we&#39;re telling Emacs to use this flavor of this `ls` command instead of the one that comes with macOS, which is lighter and doesn&#39;t have what we&#39;re used to seeing in Emacs Dired (at least, not for me). As it turns out, there are other well-known utilities in this package, such as `rm` and `mkdir`, but we don&#39;t use them, so it&#39;s really just for `gls`.

### Changing Emacs&#39; custom default file to `emacs_custom.el`
```lisp
    (setq custom-file (expand-file-name &#34;emacs_custom.el&#34; user-emacs-directory))
    (load custom-file &#39;noerror)
```
This is something I discovered while working on my `.emacs` file. It was cluttered with comments and configurations from Emacs&#39;s `custom`, Emacs&#39; settings wizard. This is because by default, Emacs doesn&#39;t have a definition for it:

&gt; File used for storing customization information.
&gt; The default is nil, which means to use your init file
&gt; as specified by &#39;user-init-file&#39;.  If the value is not nil,
&gt; it should be an absolute file name.

It makes sense if you use custom often, which probably means you don&#39;t bother with babel (coming up) and writing long Emacs posts like this one, but in reality, I haven&#39;t met an Emacs user who used it for more than a few months at most without getting their hands dirty. It&#39;s just too tempting.

The first line tells Emacs where the custom file config is (inside `/.emacs.d/`, the default for `user-emacs-directory`), and the second line tells it to &#34;not worry&#34; if the file is not there. Why? Because the first time we run Emacs (or a clean reinstall), we might not have this file at all yet, as it&#39;s created by custom. If we don&#39;t have this file, Emacs will do whatever it does whenever it encounters an error: tell us there&#39;s an error and stop running the rest of the config. And this happens right at the beginning, so essentially our entire config will be skipped. So this is a good safety option&lt;sup&gt;&lt;a id=&#34;fnr.4&#34; class=&#34;footref&#34; href=&#34;#fn.4&#34; role=&#34;doc-backlink&#34;&gt;4&lt;/a&gt;&lt;/sup&gt;, and probably good practice.

### Org-babel: load the configuration from an org file
```lisp
    (org-babel-load-file
     &#34;/Users/user/Sync/Public/emacs_settings/emacs_settings.org&#34;)
```
Now, after we put all the critical macOS&lt;sup&gt;&lt;a id=&#34;fnr.5&#34; class=&#34;footref&#34; href=&#34;#fn.5&#34; role=&#34;doc-backlink&#34;&gt;5&lt;/a&gt;&lt;/sup&gt; configuration in place, it&#39;s time to tell Emacs where the *rest* of the configurations are. This here was just the introduction, the Emacs &#34;boot&#34; for Mac only, after all&lt;sup&gt;&lt;a id=&#34;fnr.6&#34; class=&#34;footref&#34; href=&#34;#fn.6&#34; role=&#34;doc-backlink&#34;&gt;6&lt;/a&gt;&lt;/sup&gt;.

- - -

So here we are, done with part 1. It took me way longer to write than I thought it would take (I&#39;ve been standing at my desk for about 2 hours now), but this is exactly the sort of thing that keeps me hooked on Emacs. Everything leads to more... everything. There&#39;s a story behind every dot, apparently. As you can see from my footnotes, I&#39;ve found additional tangents to go on while writing this just now, and that&#39;s on top of a growing list I already have, of about 10 other things I want to check — and my config is only about 25% done. And as I said, by the time I&#39;m done, it will be time for round 2, which in turn will probably lead to round 3...

&#34;Emacs. It really whips the GNU&#39;s...&#34; errm. Anyway. See you next time!

### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; The [story of dot](https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory) files (files that start with a dot, like `.emacs`) is an interesting one. Turns out it was a [programming mistake](http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_filename.html) back in the days when Unix started, and it stuck as an idea. These became convenient to use as configuration files because they are the sort of files that are usually created when you install something and configure it once, probably to never see it again (this was before Emacs users started popping up, obviously), so the bug became a feature.

&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; On a Mac, you have several options when installing Emacs. The one I&#39;ve been using over the years, and what seems to be the most popular, is emacs-plus at &lt;https://github.com/d12frosted/homebrew-emacs-plus&gt;. Some of the choices I made in my `.emacs` file are based on this fact.

&lt;sup&gt;&lt;a id=&#34;fn.3&#34; href=&#34;#fnr.3&#34;&gt;3&lt;/a&gt;&lt;/sup&gt; There&#39;s another rabbit hole here I didn&#39;t explore much: Emacs on Homebrew, at least in some versions, has incorporated the option to grab the PATH during installation; however, it seems Apple blocked this option at some point, so we need to run it like this. I don&#39;t recall ever getting a warning that Emacs needs access to my PATH or something similar, but I wouldn&#39;t be surprised if something to that effect is happening when you first install it.

&lt;sup&gt;&lt;a id=&#34;fn.4&#34; href=&#34;#fnr.4&#34;&gt;4&lt;/a&gt;&lt;/sup&gt; As I&#39;m writing this, I realize there&#39;s another worthwhile rabbit hole here: the option to tell Emacs to ignore errors for non-critical configurations, such as the theme, or the way org-mode displays, etc. While I want these in place, if there&#39;s an error, I&#39;d like Emacs to keep loading the config if it can. Since there are different &#34;skip error&#34; options depending on where and what is being skipped, and since I need to be sure what I&#39;m skipping, I&#39;ll do more digging another time.

&lt;sup&gt;&lt;a id=&#34;fn.5&#34; href=&#34;#fnr.5&#34;&gt;5&lt;/a&gt;&lt;/sup&gt; Ah ha, but that last one, the custom file location, is also good on Linux! Good thing I&#39;m writing this blog post. When I go back to my Linux machine, I will include this line there as well.

&lt;sup&gt;&lt;a id=&#34;fn.6&#34; href=&#34;#fnr.6&#34;&gt;6&lt;/a&gt;&lt;/sup&gt; By the way, while there is no `org-babel.el`, it can almost be one from a quick look (yes, yet another rabbit hole). There are many different `.el` files scattered in Emacs that relate to `org-babel` which can do different things.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/23/interesting-trick-discovered-by-mistake.html</link>
      <pubDate>Thu, 23 Jul 2026 07:55:04 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/23/interesting-trick-discovered-by-mistake.html</guid>
      <description>&lt;p&gt;Interesting trick, discovered by mistake:&lt;/p&gt;
&lt;p&gt;Dragging and dropping a file into Emacs while in a folder with Dired copies it there, just as Finder would. Did you know that? I didn&amp;rsquo;t!&lt;/p&gt;
</description>
      <source:markdown>Interesting trick, discovered by mistake:

Dragging and dropping a file into Emacs while in a folder with Dired copies it there, just as Finder would. Did you know that? I didn&#39;t! 
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/22/hello-there-red-guy-glad.html</link>
      <pubDate>Wed, 22 Jul 2026 12:51:50 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/22/hello-there-red-guy-glad.html</guid>
      <description>&lt;p&gt;Hello there red guy. Glad you’re enjoying the weather. Me? Eh. I think it’s back to the AC in a few. Keep it real. 📷&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/24b18e8d39.jpg&#34; width=&#34;575&#34; height=&#34;600&#34; alt=&#34;&#34;&gt;
</description>
      <source:markdown>Hello there red guy. Glad you’re enjoying the weather. Me? Eh. I think it’s back to the AC in a few. Keep it real. 📷

&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/24b18e8d39.jpg&#34; width=&#34;575&#34; height=&#34;600&#34; alt=&#34;&#34;&gt;
</source:markdown>
    </item>
    
    <item>
      <title>Two Weeks, Two Projects</title>
      <link>https://taonaw.com/2026/07/20/two-weeks-two-projects.html</link>
      <pubDate>Mon, 20 Jul 2026 10:08:04 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/20/two-weeks-two-projects.html</guid>
      <description>&lt;p&gt;Two things kept me busy: revamping my Emacs config (that&amp;rsquo;s one huge rabbit hole) and attempting to organize a book.&lt;/p&gt;
&lt;p&gt;The Emacs config is probably relatable to many (if not most) folks who read this blog. Emacs is a text editor by definition, but an operating system by description. There is a &lt;em&gt;lot&lt;/em&gt; to tweak in it, which is why the parody I &lt;a href=&#34;https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html&#34;&gt;pointed at at the top of this post&lt;/a&gt; &lt;a href=&#34;https://taonaw.com/2026/06/09/sometimes-you-just-gotta-laugh.html&#34;&gt;several times&lt;/a&gt;. The short of it is that it&amp;rsquo;s going well, I&amp;rsquo;m learning a lot, and I&amp;rsquo;m really enjoying it. It&amp;rsquo;s one of the best (if not the best) educational experiences I&amp;rsquo;m having with AI, &lt;em&gt;because&lt;/em&gt;&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; it&amp;rsquo;s AI.&lt;/p&gt;
&lt;p&gt;But I can imagine most of the eyebrow raises stem from the book part. I&amp;rsquo;ve had this idea in my head for a long time, and I owe it to one of the folks on Micro.blog (I can&amp;rsquo;t find the link right now). What I have in mind is simple: collect a few of my posts that create a certain theme, and add a few photos (I have a couple that could benefit from quality printing). To make it interesting, I want to add a few entries from my personal journal (edited for the general public) to fill in on my general state of mind during that time period.&lt;/p&gt;
&lt;p&gt;The natural theme that came to mind was blogging itself, a book that talks about blogging, which is kind of odd, but I know I&amp;rsquo;d enjoy reading something like that. The problem is collecting posts into something that makes sense and feels like a story.&lt;/p&gt;
&lt;p&gt;I wanted to collect texts from three major writing periods: starting to use Emacs org-mode, which is my writing tool of choice, starting my old blog, and starting my new blog here on Micro.blog. What was on my mind during these times? What did I learn? What were the choices I made, and why? I think that sounds interesting enough, so I went to search for those and&amp;hellip; well, it&amp;rsquo;s not that easy.&lt;/p&gt;
&lt;p&gt;While the texts themselves exist (for example, my first journal entry in Emacs org-mode, back in 2018, or my first posts on Micro.blog in 2023), the &lt;em&gt;meaning&lt;/em&gt; is missing. These texts are mostly technical vents of a sleep-deprived and caffeinated brain, not stories. Which, when you think about it, makes sense: the first steps you take figuring out something new are not huge declarations (unless you land on the moon I guess) but mostly something along the lines of &amp;ldquo;Finally this shit works!&amp;rdquo; c&amp;rsquo;est la vie, right?&lt;/p&gt;
&lt;p&gt;I have a couple of days off, so I have time to think, but I&amp;rsquo;m not sure how to approach it. I&amp;rsquo;d like to connect the dots myself and explain what I was doing, but that&amp;rsquo;s also technical and building on things I don&amp;rsquo;t remember fully.&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : The AI points me to things that might be outdated or not true, which keeps me on my toes. As I keep asking it questions (&amp;ldquo;why are you saying this, when we can do this?&amp;rdquo;), it keeps pointing me to things that have me explore even further. It remembers what I&amp;rsquo;ve been doing so it gets an idea of what I&amp;rsquo;ll be more interested in, which is more or less the right direction.&lt;/p&gt;
</description>
      <source:markdown>Two things kept me busy: revamping my Emacs config (that&#39;s one huge rabbit hole) and attempting to organize a book.

The Emacs config is probably relatable to many (if not most) folks who read this blog. Emacs is a text editor by definition, but an operating system by description. There is a *lot* to tweak in it, which is why the parody I [pointed at at the top of this post](https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html) [several times](https://taonaw.com/2026/06/09/sometimes-you-just-gotta-laugh.html). The short of it is that it&#39;s going well, I&#39;m learning a lot, and I&#39;m really enjoying it. It&#39;s one of the best (if not the best) educational experiences I&#39;m having with AI, *because*&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; it&#39;s AI.

But I can imagine most of the eyebrow raises stem from the book part. I&#39;ve had this idea in my head for a long time, and I owe it to one of the folks on Micro.blog (I can&#39;t find the link right now). What I have in mind is simple: collect a few of my posts that create a certain theme, and add a few photos (I have a couple that could benefit from quality printing). To make it interesting, I want to add a few entries from my personal journal (edited for the general public) to fill in on my general state of mind during that time period.

The natural theme that came to mind was blogging itself, a book that talks about blogging, which is kind of odd, but I know I&#39;d enjoy reading something like that. The problem is collecting posts into something that makes sense and feels like a story.

I wanted to collect texts from three major writing periods: starting to use Emacs org-mode, which is my writing tool of choice, starting my old blog, and starting my new blog here on Micro.blog. What was on my mind during these times? What did I learn? What were the choices I made, and why? I think that sounds interesting enough, so I went to search for those and... well, it&#39;s not that easy.

While the texts themselves exist (for example, my first journal entry in Emacs org-mode, back in 2018, or my first posts on Micro.blog in 2023), the *meaning* is missing. These texts are mostly technical vents of a sleep-deprived and caffeinated brain, not stories. Which, when you think about it, makes sense: the first steps you take figuring out something new are not huge declarations (unless you land on the moon I guess) but mostly something along the lines of &#34;Finally this shit works!&#34; c&#39;est la vie, right?

I have a couple of days off, so I have time to think, but I&#39;m not sure how to approach it. I&#39;d like to connect the dots myself and explain what I was doing, but that&#39;s also technical and building on things I don&#39;t remember fully.

### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : The AI points me to things that might be outdated or not true, which keeps me on my toes. As I keep asking it questions (&#34;why are you saying this, when we can do this?&#34;), it keeps pointing me to things that have me explore even further. It remembers what I&#39;ve been doing so it gets an idea of what I&#39;ll be more interested in, which is more or less the right direction.

</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/19/been-reading-apple-in-china.html</link>
      <pubDate>Sun, 19 Jul 2026 18:30:15 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/19/been-reading-apple-in-china.html</guid>
      <description>&lt;img src=&#34;https://cdn.micro.blog/books/9781806159901/cover.jpg&#34; align=&#34;left&#34; class=&#34;microblog_book&#34; style=&#34;max-width: 60px; margin-right: 20px; margin-top: 0px; padding-top: 0px;&#34;&gt;
&lt;p&gt;Been reading: &lt;a href=&#34;https://micro.blog/books/9781806159901&#34;&gt;Apple in China by Patrick McGee&lt;/a&gt; by Patrick McGee 📚.&lt;/p&gt;
&lt;p&gt;Surprisingly informative. In a way, it&amp;rsquo;s like reading some of the history of Apple and how they became this successful. It&amp;rsquo;s not too critical of Apple, at least not yet.&lt;/p&gt;
</description>
      <source:markdown>&lt;img src=&#34;https://cdn.micro.blog/books/9781806159901/cover.jpg&#34; align=&#34;left&#34; class=&#34;microblog_book&#34; style=&#34;max-width: 60px; margin-right: 20px; margin-top: 0px; padding-top: 0px;&#34;&gt;

Been reading: [Apple in China by Patrick McGee](https://micro.blog/books/9781806159901) by Patrick McGee 📚.

Surprisingly informative. In a way, it&#39;s like reading some of the history of Apple and how they became this successful. It&#39;s not too critical of Apple, at least not yet.
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/14/still-working-with-claude-on.html</link>
      <pubDate>Tue, 14 Jul 2026 18:20:58 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/14/still-working-with-claude-on.html</guid>
      <description>&lt;p&gt;Still working with Claude on my Emacs settings as a reference. Need to start a new session, so asked it to write a summary with instructions on how I like it to help me. It wrote this:&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/2026-07-14-18-17-29.png&#34;&gt;
&lt;p&gt;I know it&amp;rsquo;s complementing me on purpose, but that emphasized &lt;em&gt;why&lt;/em&gt;? That&amp;rsquo;s why my blog is called this way 😉&lt;/p&gt;
</description>
      <source:markdown>Still working with Claude on my Emacs settings as a reference. Need to start a new session, so asked it to write a summary with instructions on how I like it to help me. It wrote this:

&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/2026-07-14-18-17-29.png&#34;&gt;

I know it&#39;s complementing me on purpose, but that emphasized *why*? That&#39;s why my blog is called this way 😉

</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/13/say-you-go-jump-to.html</link>
      <pubDate>Mon, 13 Jul 2026 18:21:20 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/13/say-you-go-jump-to.html</guid>
      <description>&lt;p&gt;Say you go jump to a header in org-mode somewhere with &lt;code&gt;C-c C-o&lt;/code&gt;. Did you know that you can go &lt;em&gt;back&lt;/em&gt; with &lt;code&gt;C-c &amp;amp;&lt;/code&gt;? And that it has history, so you can keep going back??&lt;/p&gt;
&lt;p&gt;Years of &lt;code&gt;isearch-backwards&lt;/code&gt;&amp;hellip; wasted. Mind blown. 🤯&lt;/p&gt;
</description>
      <source:markdown>Say you go jump to a header in org-mode somewhere with `C-c C-o`. Did you know that you can go *back* with `C-c &amp;`? And that it has history, so you can keep going back??

Years of `isearch-backwards`... wasted. Mind blown. 🤯
</source:markdown>
    </item>
    
    <item>
      <title>A Quick org-mode Internal Links Reference</title>
      <link>https://taonaw.com/2026/07/13/a-quick-orgmode-internal-links.html</link>
      <pubDate>Mon, 13 Jul 2026 08:55:12 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/13/a-quick-orgmode-internal-links.html</guid>
      <description>&lt;p&gt;As I mentioned yesterday, I started organizing (and cleaning) my Emacs config. What may have seemed like an annoying and boring task has proven to be fun and addicting (reminds me of &lt;a href=&#34;https://youtu.be/urcL86UpqZc?si=AsfljZNrPFF3pOOm&amp;amp;t=462&#34;&gt;this&lt;/a&gt;, which is part of &lt;a href=&#34;https://taonaw.com/2026/06/09/sometimes-you-just-gotta-laugh.html&#34;&gt;this video&lt;/a&gt; 😂).&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve already discovered a couple of new improvements to my current config as I was researching individual settings and why I have them, and as I said I do plan to share it. For now though, one important section I added to my config is a quick org-mode links reference. This is actually the first time I figured out the difference between radio links and &amp;ldquo;regular&amp;rdquo; plain links and how to use them.&lt;/p&gt;
&lt;p&gt;Here it is, slightly modified:&lt;/p&gt;
&lt;h3 id=&#34;org-id&#34;&gt;Org-ID&lt;/h3&gt;
&lt;p&gt;We know about links to other files using &lt;code&gt;org-id&lt;/code&gt;: You give a header an &lt;code&gt;:ID:&lt;/code&gt; property (this is generated automatically&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; when you link to a header) and you get a slug, usually a UUID (for me it&amp;rsquo;s something slightly else, more on that soon below). This stores the links in &lt;code&gt;org-id-locations&lt;/code&gt;, which in turn points to a local file with all of these unique IDs. This is good for linking between headers in different files.&lt;/p&gt;
&lt;h3 id=&#34;custom-id&#34;&gt;Custom-ID&lt;/h3&gt;
&lt;p&gt;We can set a &lt;code&gt;:CUSTOM_ID:&lt;/code&gt; property for a header, and it&amp;rsquo;s only active in &lt;em&gt;that file&lt;/em&gt;. Kind of like a table of contents in a book, with chapters (= headers) listed. If you don&amp;rsquo;t have the book, you don&amp;rsquo;t have its table of contents, so you know nothing about it. To point to a header that has a custom ID: &lt;code&gt;[[#custom-id-value][description]]&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;plain-target-and-radio-target-link&#34;&gt;Plain Target and Radio Target link&lt;/h3&gt;
&lt;p&gt;These are buffer-specific only (no cross-reference between files). In this case, the links are tied to words (anchors), not headers. There are two kinds.&lt;/p&gt;
&lt;p&gt;The regular plain target link works when we set the anchor first with &lt;code&gt;&amp;lt;&amp;lt;an anchor&amp;gt;&amp;gt;&lt;/code&gt;, then call it again with &lt;code&gt;[[an anchor]]&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Its more &amp;ldquo;magical&amp;rdquo; brother is a radio target link, where we set an anchor like so &lt;code&gt;&amp;lt;&amp;lt;&amp;lt;very special anchor&amp;gt;&amp;gt;&amp;gt;&lt;/code&gt; (three angle brackets) and then all we need to do is type &lt;em&gt;very special anchor&lt;/em&gt; (no brackets this time), and it works. Note though that when you create a radio target for the first time, you have to revert the buffer or &lt;code&gt;M-x org-update-radio-target-regexp&lt;/code&gt; for it to take effect.&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : this can be done with a function, org-id-get-create. For a deeper dive into how and why I set my org-id with a date format (not UUID), look &lt;a href=&#34;https://taonaw.com/2022/03/15/org-id-org-attach-better.html&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
</description>
      <source:markdown>As I mentioned yesterday, I started organizing (and cleaning) my Emacs config. What may have seemed like an annoying and boring task has proven to be fun and addicting (reminds me of [this](https://youtu.be/urcL86UpqZc?si=AsfljZNrPFF3pOOm&amp;t=462), which is part of [this video](https://taonaw.com/2026/06/09/sometimes-you-just-gotta-laugh.html) 😂).

I&#39;ve already discovered a couple of new improvements to my current config as I was researching individual settings and why I have them, and as I said I do plan to share it. For now though, one important section I added to my config is a quick org-mode links reference. This is actually the first time I figured out the difference between radio links and &#34;regular&#34; plain links and how to use them.

Here it is, slightly modified:

### Org-ID

We know about links to other files using `org-id`: You give a header an `:ID:` property (this is generated automatically&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; when you link to a header) and you get a slug, usually a UUID (for me it&#39;s something slightly else, more on that soon below). This stores the links in `org-id-locations`, which in turn points to a local file with all of these unique IDs. This is good for linking between headers in different files.

### Custom-ID

We can set a `:CUSTOM_ID:` property for a header, and it&#39;s only active in *that file*. Kind of like a table of contents in a book, with chapters (= headers) listed. If you don&#39;t have the book, you don&#39;t have its table of contents, so you know nothing about it. To point to a header that has a custom ID: `[[#custom-id-value][description]]`.

### Plain Target and Radio Target link

These are buffer-specific only (no cross-reference between files). In this case, the links are tied to words (anchors), not headers. There are two kinds.

The regular plain target link works when we set the anchor first with `&lt;&lt;an anchor&gt;&gt;`, then call it again with `[[an anchor]]`.

Its more &#34;magical&#34; brother is a radio target link, where we set an anchor like so `&lt;&lt;&lt;very special anchor&gt;&gt;&gt;` (three angle brackets) and then all we need to do is type *very special anchor* (no brackets this time), and it works. Note though that when you create a radio target for the first time, you have to revert the buffer or `M-x org-update-radio-target-regexp` for it to take effect.

### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : this can be done with a function, org-id-get-create. For a deeper dive into how and why I set my org-id with a date format (not UUID), look [here](https://taonaw.com/2022/03/15/org-id-org-attach-better.html).
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/12/thought-my-emacs-init-file.html</link>
      <pubDate>Sun, 12 Jul 2026 20:14:31 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/12/thought-my-emacs-init-file.html</guid>
      <description>&lt;p&gt;Thought my Emacs init file needs a bit of cleaning - it contains configs from maybe 5 and 6 years ago. It&amp;rsquo;s a nostalgic learning experience. More fun than I thought. More to come soon 🤓&lt;/p&gt;
</description>
      <source:markdown>Thought my Emacs init file needs a bit of cleaning - it contains configs from maybe 5 and 6 years ago. It&#39;s a nostalgic learning experience. More fun than I thought. More to come soon 🤓
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/12/every-time-i-go-get.html</link>
      <pubDate>Sun, 12 Jul 2026 13:57:22 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/12/every-time-i-go-get.html</guid>
      <description>&lt;p&gt;Every time I go get coffee around West Village, I feel like I&amp;rsquo;m in a different city. The contrast between our quiet neighborhood with the trees and birds in upper Manhattan and this is striking and fun. 📷&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/53bc8d220f.jpg&#34; alt=&#34;Auto-generated description: A lively urban street scene features colorful flags, restaurant signs, outdoor seating, and pedestrians under a bright blue sky with trees lining the sidewalk.&#34;&gt;
</description>
      <source:markdown>Every time I go get coffee around West Village, I feel like I&#39;m in a different city. The contrast between our quiet neighborhood with the trees and birds in upper Manhattan and this is striking and fun. 📷

&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/53bc8d220f.jpg&#34; alt=&#34;Auto-generated description: A lively urban street scene features colorful flags, restaurant signs, outdoor seating, and pedestrians under a bright blue sky with trees lining the sidewalk.&#34;&gt;
</source:markdown>
    </item>
    
    <item>
      <title>auth and curl</title>
      <link>https://taonaw.com/2026/07/10/auth-and-curl.html</link>
      <pubDate>Fri, 10 Jul 2026 18:04:39 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/10/auth-and-curl.html</guid>
      <description>&lt;p&gt;Yesterday early in the morning, with the help of Claude, I finally figured out what prevented me from logging into indieweb.org. It was something stupid really, one of those things that most people who register their own domains will probably understand.&lt;/p&gt;
&lt;p&gt;IndieWeb uses &lt;a href=&#34;https://indieweb.org/IndieAuth&#34;&gt;IndieAuth&lt;/a&gt; for members to sign in. IndieAuth, to put it in simple words&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;, uses your website to sign in rather than the usual username/password combo that we see everywhere. IndieWeb is all about folks who build their own websites, so it makes sense to use your own indie website to sign in to their site.&lt;/p&gt;
&lt;p&gt;Obviously the simple words above are too simple to explain how this actually works, but the core idea is that you add a specific HTML tag (it&amp;rsquo;s called a REL tag, or a rel HTML attribute) to your main page on your website and then IndieWeb knows it&amp;rsquo;s really you.&lt;/p&gt;
&lt;p&gt;The problem I had was that I tried to sign in using my website&amp;rsquo;s URL, &lt;a href=&#34;https://www.taonaw.com&#34;&gt;www.taonaw.com&lt;/a&gt;, instead of taonaw.com. I wanted to use the www, because that&amp;rsquo;s the actual website, right? World Wide Web and all of that?&lt;/p&gt;
&lt;p&gt;Ehh. Not quite. Everything gets complicated when you look a bit deeper. The www part is what&amp;rsquo;s called a subdomain&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;, and it&amp;rsquo;s not really the website. The website is at the root domain; in my case, it&amp;rsquo;s taonaw.com. When you register your own domain, you essentially &lt;em&gt;forward&lt;/em&gt; people from &lt;a href=&#34;https://www.whatever.com&#34;&gt;www.whatever.com&lt;/a&gt; to whatever.com. Your browser does it in a second, so you don&amp;rsquo;t even realize it, but for IndieAuth, there&amp;rsquo;s no website at &lt;a href=&#34;https://www.whatever.com&#34;&gt;www.whatever.com&lt;/a&gt;, because well, there isn&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;What was interesting was the way Claude proved it to me. It suggested using curl, a command we&amp;rsquo;ve all seen thousands of times around the internet, to get this information. Or, specifically: &lt;code&gt;curl -sI https://www.taonaw.com&lt;/code&gt; which will show a few things (the index of the URL), but particularly &lt;code&gt;location: https://taonaw.com/&lt;/code&gt;, where it redirects to.&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Huh?&amp;rdquo; I asked myself, &amp;ldquo;Isn&amp;rsquo;t curl used when you want to download something?&amp;rdquo; Well, yes, sure. That, and as it turns out, many other things.&lt;/p&gt;
&lt;p&gt;I got curious (I don&amp;rsquo;t have anything much better to do at four in the morning when I can&amp;rsquo;t sleep) and went to read about curl. Turns out it has quite a &lt;a href=&#34;https://curl.se/docs/history.html&#34;&gt;history&lt;/a&gt;, a &lt;a href=&#34;https://curl.se&#34;&gt;website&lt;/a&gt;, and a lot of bait-click tutorials on YouTube. It&amp;rsquo;s one of those things I always knew about but never explored.&lt;/p&gt;
&lt;h3 id=&#34;footnotes&#34;&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : My simple words here are too simple. There is a lot going on behind the scenes, and I don&amp;rsquo;t have a good grasp of it yet myself, actually. Learning in progress. IndieAuth is based on OAuth, which is the commercial brand that usually comes with OpenID, which is all the &amp;ldquo;sign in with Google/Apple/Facebook/Whatever&amp;rdquo; stuff you usually see.&lt;/p&gt;
&lt;p&gt;&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; : See the above, same here. There&amp;rsquo;s an A record and a CNAME record when you register a domain, and I remember I knew more about them at one point when I registered the domain. A record points to the actual IP, and a CNAME points to a subdomain (the www, but it can also be blog.website.com, or whatever you&amp;rsquo;d like).&lt;/p&gt;
</description>
      <source:markdown>Yesterday early in the morning, with the help of Claude, I finally figured out what prevented me from logging into indieweb.org. It was something stupid really, one of those things that most people who register their own domains will probably understand.

IndieWeb uses [IndieAuth](https://indieweb.org/IndieAuth) for members to sign in. IndieAuth, to put it in simple words&lt;sup&gt;&lt;a id=&#34;fnr.1&#34; class=&#34;footref&#34; href=&#34;#fn.1&#34; role=&#34;doc-backlink&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;, uses your website to sign in rather than the usual username/password combo that we see everywhere. IndieWeb is all about folks who build their own websites, so it makes sense to use your own indie website to sign in to their site.

Obviously the simple words above are too simple to explain how this actually works, but the core idea is that you add a specific HTML tag (it&#39;s called a REL tag, or a rel HTML attribute) to your main page on your website and then IndieWeb knows it&#39;s really you.

The problem I had was that I tried to sign in using my website&#39;s URL, www.taonaw.com, instead of taonaw.com. I wanted to use the www, because that&#39;s the actual website, right? World Wide Web and all of that?

Ehh. Not quite. Everything gets complicated when you look a bit deeper. The www part is what&#39;s called a subdomain&lt;sup&gt;&lt;a id=&#34;fnr.2&#34; class=&#34;footref&#34; href=&#34;#fn.2&#34; role=&#34;doc-backlink&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;, and it&#39;s not really the website. The website is at the root domain; in my case, it&#39;s taonaw.com. When you register your own domain, you essentially *forward* people from www.whatever.com to whatever.com. Your browser does it in a second, so you don&#39;t even realize it, but for IndieAuth, there&#39;s no website at www.whatever.com, because well, there isn&#39;t.

What was interesting was the way Claude proved it to me. It suggested using curl, a command we&#39;ve all seen thousands of times around the internet, to get this information. Or, specifically: `curl -sI https://www.taonaw.com` which will show a few things (the index of the URL), but particularly `location: https://taonaw.com/`, where it redirects to.

&#34;Huh?&#34; I asked myself, &#34;Isn&#39;t curl used when you want to download something?&#34; Well, yes, sure. That, and as it turns out, many other things.

I got curious (I don&#39;t have anything much better to do at four in the morning when I can&#39;t sleep) and went to read about curl. Turns out it has quite a [history](https://curl.se/docs/history.html), a [website](https://curl.se), and a lot of bait-click tutorials on YouTube. It&#39;s one of those things I always knew about but never explored.


### Footnotes

&lt;sup&gt;&lt;a id=&#34;fn.1&#34; href=&#34;#fnr.1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; : My simple words here are too simple. There is a lot going on behind the scenes, and I don&#39;t have a good grasp of it yet myself, actually. Learning in progress. IndieAuth is based on OAuth, which is the commercial brand that usually comes with OpenID, which is all the &#34;sign in with Google/Apple/Facebook/Whatever&#34; stuff you usually see.

&lt;sup&gt;&lt;a id=&#34;fn.2&#34; href=&#34;#fnr.2&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; : See the above, same here. There&#39;s an A record and a CNAME record when you register a domain, and I remember I knew more about them at one point when I registered the domain. A record points to the actual IP, and a CNAME points to a subdomain (the www, but it can also be blog.website.com, or whatever you&#39;d like).
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/10/is-there-a-rule-somewhere.html</link>
      <pubDate>Fri, 10 Jul 2026 10:30:41 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/10/is-there-a-rule-somewhere.html</guid>
      <description>&lt;p&gt;Is there a rule somewhere that says that if half your workday is spent in meetings, you can&amp;rsquo;t be expected to produce a whole day&amp;rsquo;s work? Just makes sense, right?&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d go further and say, you can&amp;rsquo;t even do half a day of work after that. Meetings mean:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can&amp;rsquo;t take a break (You have to mute yourself taking a piss, jeez)&lt;/li&gt;
&lt;li&gt;Have to keep notes and track what is being said (unlike emails which you can come back to)&lt;/li&gt;
&lt;li&gt;Have to follow up later on new issues that are becoming emails&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Yes, they&amp;rsquo;re needed. But oh boy.
Now, if I could get a cent from anyone who agrees with me&amp;hellip; 😆&lt;/p&gt;
</description>
      <source:markdown>Is there a rule somewhere that says that if half your workday is spent in meetings, you can&#39;t be expected to produce a whole day&#39;s work? Just makes sense, right?

I&#39;d go further and say, you can&#39;t even do half a day of work after that. Meetings mean:

- Can&#39;t take a break (You have to mute yourself taking a piss, jeez)
- Have to keep notes and track what is being said (unlike emails which you can come back to)
- Have to follow up later on new issues that are becoming emails...

Yes, they&#39;re needed. But oh boy. 
Now, if I could get a cent from anyone who agrees with me... 😆
</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/09/two-quick-apps-im-trying.html</link>
      <pubDate>Thu, 09 Jul 2026 17:22:00 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/09/two-quick-apps-im-trying.html</guid>
      <description>&lt;p&gt;Two quick apps I&amp;rsquo;m trying to write about, but I keep getting pulled away:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://www.crucialtracks.org&#34;&gt;Crucial Tracks&lt;/a&gt;:&lt;/strong&gt; You saw me testing here on the blog. Found out about this thanks to &lt;a href=&#34;https://amerpie.lol&#34;&gt;Lou Plummer&lt;/a&gt;. It&amp;rsquo;s a slow-paced social network/microblogging network where you can write about your favorite songs.&lt;/p&gt;
&lt;p&gt;The service offers a quick prompt for the day (&amp;ldquo;what song makes you think of your best friend?&amp;rdquo; or &amp;ldquo;a song you used to listen to growing up?&amp;rdquo; etc.) combined with a quick search that finds the song with the artwork of the album. This is federated and free, which means it plays nice with the IndieWeb (that&amp;rsquo;s us, if you read this on your RSS feed) and offers a bunch of other options for embedding and playing directly from streaming services.&lt;/p&gt;
&lt;p&gt;I already have it &lt;a href=&#34;https://www.crucialtracks.org/blog/publishing-with-micropub/&#34;&gt;integrated with Micro.blog using Micropub&lt;/a&gt;, which they also support now.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://www.moments.im&#34;&gt;Moments&lt;/a&gt;:&lt;/strong&gt; Think of &lt;a href=&#34;https://glass.photo/&#34;&gt;Glass&lt;/a&gt;, but a free and less &amp;ldquo;meant for serious photographers&amp;rdquo; kind of platform. Not that you &lt;em&gt;can&amp;rsquo;t&lt;/em&gt; be a serious photographer on it, but it just welcomes everyone. The idea is to blog through your photos and tell a story.&lt;/p&gt;
&lt;p&gt;I &lt;a href=&#34;https://taonaw.com/2026/06/16/moments-looks-good-from-peter.html&#34;&gt;mentioned&lt;/a&gt; it briefly, and sadly didn&amp;rsquo;t get the chance to get around to it (photos require more editing and playing around with than a quick post about a song), but it looks polished, and the guy behind it, Peter, reaches out to new folks to help them out at these early stages. Didn&amp;rsquo;t reach out to Peter yet to ask about IndieWeb support, but I will try to.&lt;/p&gt;
</description>
      <source:markdown>Two quick apps I&#39;m trying to write about, but I keep getting pulled away:

**[Crucial Tracks](https://www.crucialtracks.org):** You saw me testing here on the blog. Found out about this thanks to [Lou Plummer](https://amerpie.lol). It&#39;s a slow-paced social network/microblogging network where you can write about your favorite songs.

The service offers a quick prompt for the day (&#34;what song makes you think of your best friend?&#34; or &#34;a song you used to listen to growing up?&#34; etc.) combined with a quick search that finds the song with the artwork of the album. This is federated and free, which means it plays nice with the IndieWeb (that&#39;s us, if you read this on your RSS feed) and offers a bunch of other options for embedding and playing directly from streaming services.

I already have it [integrated with Micro.blog using Micropub](https://www.crucialtracks.org/blog/publishing-with-micropub/), which they also support now.

**[Moments](https://www.moments.im):** Think of [Glass](https://glass.photo/), but a free and less &#34;meant for serious photographers&#34; kind of platform. Not that you *can&#39;t* be a serious photographer on it, but it just welcomes everyone. The idea is to blog through your photos and tell a story.

I [mentioned](https://taonaw.com/2026/06/16/moments-looks-good-from-peter.html) it briefly, and sadly didn&#39;t get the chance to get around to it (photos require more editing and playing around with than a quick post about a song), but it looks polished, and the guy behind it, Peter, reaches out to new folks to help them out at these early stages. Didn&#39;t reach out to Peter yet to ask about IndieWeb support, but I will try to.

</source:markdown>
    </item>
    
    <item>
      <title></title>
      <link>https://taonaw.com/2026/07/09/is-it-friday-yet.html</link>
      <pubDate>Thu, 09 Jul 2026 12:30:46 -0400</pubDate>
      
      <guid>http://jtr.micro.blog/2026/07/09/is-it-friday-yet.html</guid>
      <description>&lt;p&gt;Is it Friday yet?&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/ec43f897d9.jpg&#34; width=&#34;546&#34; height=&#34;600&#34; alt=&#34;A bald man with a beard is wearing dark sunglasses, a black t-shirt with a graphic design, and large black headphones around his neck.&#34;&gt;
</description>
      <source:markdown>Is it Friday yet?



&lt;img src=&#34;https://cdn.uploads.micro.blog/96826/2026/ec43f897d9.jpg&#34; width=&#34;546&#34; height=&#34;600&#34; alt=&#34;A bald man with a beard is wearing dark sunglasses, a black t-shirt with a graphic design, and large black headphones around his neck.&#34;&gt;
</source:markdown>
    </item>
    
  </channel>
</rss>
