<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Fresh and Crispy</title>
    <link>https://blog.cpjobling.net</link>
    <description>Posts in category "emacs" from Fresh and Crispy</description>
    <atom:link href="https://blog.cpjobling.net/feeds/emacs.rss.xml" rel="self"/>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 09:41:28 +0000</lastBuildDate>
    <item>
      <title>Gotta make progress with emacs</title>
      <link>https://blog.cpjobling.net/2026/09/01/gotta-make-progress-with-emacs.html</link>
      <description>&lt;p&gt;I keep getting stuck! I want to learn and use Emacs for my reading and writing but I keep falling down the configuration rabbit hole. I have made a number of attempts to create a vanilla Emacs configuration but rarely get further than &lt;a href="https://protesilaos.com/about/" rel="noopener noreferrer" target="_blank"&gt;Prot's&lt;/a&gt;'s recommended &lt;em&gt;decent defaults&lt;/em&gt; (&lt;a href="https://protesilaos.com/codelog/2026-04-30-emacs-decent-default-sacha-chua/" rel="noopener noreferrer" target="_blank"&gt;Emacs: decent defaults I shared with Sacha Chua&lt;/a&gt;, &lt;a href="https://protesilaos.com/codelog/2024-11-28-basic-emacs-configuration/" rel="noopener noreferrer" target="_blank"&gt;Emacs: a basic and capable configuration&lt;/a&gt; and &lt;a href="https://protesilaos.com/codelog/2025-01-26-emacs-organise-init/" rel="noopener noreferrer" target="_blank"&gt;Emacs: organise your init file (outline-minor-mode or Org literate config)&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;So my plan is now to spend a few weeks working with &lt;a href="https://lucidmanager.org/about/" rel="noopener noreferrer" target="_blank"&gt;Peter Prevos'&lt;/a&gt; &lt;a href="https://lucidmanager.org/tags/emacs/" rel="noopener noreferrer" target="_blank"&gt;Emacs Writing Studio&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I hope to tune this to exploit MacOS using some of the advice from &lt;a href="https://stephenratliff.github.io/learn/emacs-on-mac-guide.html" rel="noopener noreferrer" target="_blank"&gt;Emacs on macOS&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also plan to focus on using &lt;a href="https://www.gnu.org/software/hyperbole/" rel="noopener noreferrer" target="_blank"&gt;Gnu Hyperbole&lt;/a&gt; under the guidance of &lt;a href="https://www.chiply.dev" rel="noopener noreferrer" target="_blank"&gt;Charlie Holland's&lt;/a&gt; series &lt;a href="https://www.chiply.dev/post-hyperbole-hywiki" rel="noopener noreferrer" target="_blank"&gt;HyWiki: Zero Markup Hypertext&lt;/a&gt;, &lt;a href="https://www.chiply.dev/post-hyperbole-implicit-buttons" rel="noopener noreferrer" target="_blank"&gt;Hyperbole Implicit Buttons: Build your Hyperverse&lt;/a&gt;, and &lt;a href="https://www.chiply.dev/post-hyperbole-hyrolo" rel="noopener noreferrer" target="_blank"&gt;Hyperbole HyRolo: Search, Retrieve and Insert Records, Not Lines&lt;/a&gt;. I also want to make use of Charlie's article &lt;a href="https://www.chiply.dev/post-annotate-in-place" rel="noopener noreferrer" target="_blank"&gt;Annotate-in-Place Notes with Emacs and org-remark&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Let's see how this goes!&lt;/p&gt;</description>
      <guid isPermaLink="false">https://blog.cpjobling.net/2026/09/01/gotta-make-progress-with-emacs.html</guid>
      <category>emacs</category>
      <category>configuration</category>
      <category>hiatus</category>
      <category>ews</category>
      <category>macos</category>
      <category>hyperbole</category>
      <pubDate>Tue, 01 Sep 2026 10:23:36 +0200</pubDate>
    </item>
    <item>
      <title>Back to the wiki</title>
      <link>https://blog.cpjobling.net/2026/07/09/back-to-the-wiki.html</link>
      <description>&lt;p&gt;Inspired by &lt;a href="https://www.chiply.dev" rel="noopener noreferrer" target="_blank"&gt;Charlie Holland's&lt;/a&gt; post &lt;a href="https://www.chiply.dev/post-hyperbole-hywiki" rel="noopener noreferrer" target="_blank"&gt;HyWiki: Zero Markup Hypertext&lt;/a&gt;, I have decided to give &lt;a href="https://www.gnu.org/software/hyperbole/man/hyperbole.html#toc-HyWiki-1" rel="noopener noreferrer" target="_blank"&gt;HyWiki&lt;/a&gt; (part of &lt;a href="https://www.gnu.org/software/hyperbole/man/hyperbole.html" rel="noopener noreferrer" target="_blank"&gt;Gnu Hyperbole&lt;/a&gt;) a go.&lt;/p&gt;
&lt;p&gt;I'll report progress later!&lt;/p&gt;</description>
      <guid isPermaLink="false">https://blog.cpjobling.net/2026/07/09/back-to-the-wiki.html</guid>
      <category>emacs</category>
      <category>wiki</category>
      <category>hywiki</category>
      <category>hyberbole</category>
      <pubDate>Thu, 09 Jul 2026 14:23:51 +0200</pubDate>
    </item>
    <item>
      <title>Exploring Emacs' Markdown Mode</title>
      <link>https://blog.cpjobling.net/2026/06/01/exploring-emacs-markdown-mode.html</link>
      <description>&lt;p&gt;In my second &lt;a href="https://blog.cpjobling.net/tag/blogmore/"&gt;tag-blogmore&lt;/a&gt; post (and first &lt;a href="https://blog.cpjobling.net/category/emacs/"&gt;category-emacs&lt;/a&gt; post), I thought this would be
a good opportunity to explore the BlogMore API as well as markdown mode.&lt;/p&gt;
&lt;p&gt;I immediately hit a problem because in Emacs on my Mac, &lt;code&gt;M-3&lt;/code&gt; does not
enter the "pound" symbol needed to mark a heading/subheading. Is
there an "insert heading function" command in markdown-mode? Fortunately there is and it's on the keyboard shortcut &lt;code&gt;C-c C-s 2&lt;/code&gt;
(heading 2 because heading 1 is the post title).&lt;/p&gt;
&lt;p&gt;This is what I found.&lt;/p&gt;
&lt;h3 id="blogmore-commands-discovered"&gt;Blogmore commands discovered&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;blogmore-toggle-draft&lt;/code&gt; -- toggles the &lt;code&gt;draft: true&lt;/code&gt; tag in the
  current posts' metadata block.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;blogmore-link-tag&lt;/code&gt; -- adds a link to a tag page in the current blog.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;blogmore-link-category&lt;/code&gt; -- adds a link to the category page in the current blog.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;blogmore-update-date&lt;/code&gt; -- updates the post's save date which is useful if you are writing a large post and you want the date to reflect the actual publication date.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="blogmore-documentation"&gt;Blogmore documentation&lt;/h3&gt;
&lt;p&gt;Both written by &lt;a href="https://blog.davep.org/about/" rel="noopener noreferrer" target="_blank"&gt;davep&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blogmore.davep.dev" rel="noopener noreferrer" target="_blank" title="BlogMore home page"&gt;BlogMore&lt;/a&gt; -- documemtation for the BlogMore tool that I am now using to create this blog.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/davep/blogmore.el" rel="noopener noreferrer" target="_blank" title="GitHub repository"&gt;davep/blogmore.el&lt;/a&gt; -- provides tools that help in the creation of blog posts for a  BlogMore blog.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="markdown-mode-commands-discovered"&gt;Markdown mode commands discovered&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;C-c C-s 2&lt;/code&gt; (&lt;code&gt;markdown-insert-header-atx-2&lt;/code&gt;) -- inserts level 2 heading.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;C-c C-c p&lt;/code&gt; (&lt;code&gt;markdown-preview&lt;/code&gt;) -- previews content of the current markdown-mode buffer in the default web browser.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;C-c C-l&lt;/code&gt; (&lt;code&gt;markdown-insert-link&lt;/code&gt;) -- isert a URL or Reference link.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="markdown-mode-documentation"&gt;Markdown-mode documentation&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://jblevins.org/projects/markdown-mode/" rel="noopener noreferrer" target="_blank"&gt;Markdown Mode for Emacs&lt;/a&gt;
by &lt;a href="https://jblevins.org" rel="noopener noreferrer" target="_blank"&gt;Jason Blevins&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="fixing-the-m-3-issue-on-a-mac"&gt;Fixing the &lt;code&gt;M-3&lt;/code&gt; issue on a Mac&lt;/h3&gt;
&lt;p&gt;[I found this fix some time ago but I hadn't gotten around to adding it
to my latest Emacs configuration.]&lt;/p&gt;
&lt;p&gt;On a Mac with a UK keyboard, the keystroke to generate the "pound
 sign" (&lt;code&gt;S-3&lt;/code&gt;) &lt;em&gt;literally&lt;/em&gt; produces the currency symbol &lt;code&gt;£&lt;/code&gt;. To get
 the hashtag symbol &lt;code&gt;#&lt;/code&gt; we have to press &lt;code&gt;Option-3&lt;/code&gt; (&lt;code&gt;M-3&lt;/code&gt;), but this is
 intercepted by emacs. This makes it very difficult to deal with
 markdown and org-mode files that use &lt;code&gt;#&lt;/code&gt; extensively.&lt;/p&gt;
&lt;p&gt;To fix this, we have to redefine the global key &lt;code&gt;M-3&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight" data-lang="emacs-lisp"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;;; Allow hash to be entered on Mac UK keyboard&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;global-set-key&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;kbd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;M-3&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;lambda&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;interactive&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;#&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;On my &lt;a href="https://prelude.emacsredux.com/en/latest" rel="noopener noreferrer" target="_blank"&gt;prelude-based&lt;/a&gt; configuration, this code has been added to
&lt;code&gt;../prelude/personal/01-settings.el&lt;/code&gt;.&lt;/p&gt;</description>
      <guid isPermaLink="false">https://blog.cpjobling.net/2026/06/01/exploring-emacs-markdown-mode.html</guid>
      <category>emacs</category>
      <category>blogmore</category>
      <category>markdown</category>
      <category>markdown-mode</category>
      <pubDate>Mon, 01 Jun 2026 13:32:27 +0200</pubDate>
    </item>
  </channel>
</rss>
