Startup error in Emacs: "Project … cannot be read"

The Problem The other day, when I started Emacs as usual, the following message appeared in the minibuffer: Project <Project Name> at <Project Path> cannot be read. Emacs then became a piece of software that simply displayed a white screen. I had recently changed the path of this project, so I suspected that might be the cause. I tried modifying/deleting the project path in projectile-known-projects-file, but the situation didn’t improve. I also tried commands like doom sync and doom upgrade, but none of these resolved the issue....

February 23, 2025 · 1 min · Kaoru Babasaki

Troubleshooting "Server julia-ls starting exited… Do you want to restart it? (y or n)" in Julia/Emacs

The Problem So, I recently fired up Emacs to do some Julia coding after a while, and I ran into this annoying message: Server julia-ls:50759/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n) It kept popping up (even if I pressed y), and LSP just wouldn’t start. It took me a bit of time to figure this out, so I’m leaving this note here for anyone else using Julia in Emacs....

January 29, 2025 · 1 min · Kaoru Babasaki

Fixed Ugly Math Formulas in Anki After Emacs Upgrade

Introduction Hey everyone! I regularly use anki-editor to create Anki cards. But after upgrading Emacs, my math formulas started looking really messed up. Specifically, I had these two problems: In the desktop Anki browser’s preview for each field, the formulas weren’t rendering as formulas. They just showed up as plain LaTeX code. Formulas were being displayed as PNG images. (They used to be rendered inline with MathJax.) Since I rarely edit cards directly in the desktop Anki app, the first issue was somewhat tolerable....

November 24, 2024 · 2 min · Kaoru Babasaki

Fixing Reference Display Issues with ox-hugo

The Problem I was trying to use Org Cite Citations and the following code to display my references: #+print_bibliography: But only the “References” header showed up – the actual list of references was missing. I checked the generated Markdown (.md) files in my content/ directory, and the reference list was there in HTML. However, when I looked at the final HTML files in the public/ directory, the references were gone....

November 12, 2024 · 2 min · Kaoru Babasaki