Now that I've moved my blog back to a static site generated with Hugo , I noticed that I was writing both my Daily notes and my blog posts in side-by-side Emacs buffers. It got me thinking about consolidating my sites even further.
Latest Posts
Bringing my Daily posts here to baty.net
Comparing film and digital: Mom
I had lunch with my parents recently and took a few photos with both my film and digital cameras. I shot about the same number of photos with each camera, with close to the same number of "keepers". Which do I prefer?
A new blog just for the hell of it
Here we are, running the show as a static blog, using Hugo. But why!? I suppose because I was bored and because it's fun.
Some unremarkable pens the Internet made me buy
I'm an impressionable young man, and when I notice someone on The Internet raving about something, I want to feel that way, too. I often order whatever that thing is, only to be disappointed. For example, here are a few of the pens I bought after being told how remarkable they are. They're not that remarkable.
Roll-062 (Leica M3/T-MAX P3200)
I normally don't like the high-speed films but I'm trying to use what's in my fridge, so here's a few from a roll of Kodak T-MAX P3200 shot at 1600 and processed in HC-100.
Publishing portions of my Org-roam database
I’m trying something new.
I’ve become a pretty heavy user of Org-roam for personal notes. I put nearly everything there now; technical notes, contact information, project notes, vendor info, etc. These notes are all nicely linked and backlinked and live in my main ~/org directory so I can easily find things right within Emacs.
A portion of these notes might be useful to other people. So I’m exporting the shareable notes from Org-roam as Hugo -compatible Markdown files.
Aligning comments in Emacs
I want my per-line code comments to line up nicely, so I’ll often add a bunch of spaces by hand to make things just so. I realized that, being Emacs, there must be an easier way to handle this. Of course there is.
Two minutes of searching revealed a short bit of lisp that does the job nicely:
1 2 3 4 5 6 7 8 ;; Align comments in marked region ;; Via https://stackoverflow.
Roll-061 (Leica MP/ HP5)
As usual, this roll contained a few self-portraits, a few of Alice, and a few of “stuff”. My favorites are the ones taken in my dad’s garage.
Alice. (Leica MP. HP5 Plus. 90mm Elmarit-M)" Alice. (Leica MP. HP5 Plus. 90mm Elmarit-M) Dad's workbench (Leica MP. HP5 Plus. 50mm Summilux-M)" Dad's workbench (Leica MP. HP5 Plus. 50mm Summilux-M) Self-portrait (Leica MP. HP5 Plus. 90mm Elmarit-M)" Self-portrait (Leica MP. HP5 Plus.
Configuring the org-download save directory
When I drag and drop an image into Emacs, I want the attached file to end up in ./img/YYYY/. This is how I tried configuring org-download in my setup (I use Doom Emacs):
1 2 3 4 (setq org-download-method 'directory org-download-image-dir (concat "img/" (format-time-string "%Y") "/") org-download-image-org-width 600 org-download-heading-lvl 1) For some reason, org-download-method was being reset from 'directory to 'attach after loading, and this broke things. I thought maybe I needed to set the variables after org-download was loaded, so I did this:
Posting from Emacs to WordPress using Org2Blog
I’ve settled on WordPress for this blog. (“settled” is a fluid word for me, but let’s assume I mean it for now). However, I prefer to do most of my writing in Emacs and Org mode. To help with this, I’ve configured org2blog and I’m writing this post with it.
I’m using org2blog pretty much right out of the box. Just a single blog configuration with the following tweaks:
1 2 3 4 <div class="org-src-container"><pre id="nil" class="src src-emacs-lisp"><span style="color: #4078f2;">(</span><span style="color: #e45649;">setq</span> <span style="color: #6a1868;">org2blog/wp-track-posts</span> <span style="color: #a626a4;">(</span><span style="color: #b751b6;">list</span> <span style="color: #50a14f;">"~/org/baty.