Overriding Emacs' Broken Bookmark Position Code (Shallow Thoughts)

Akkana's Musings on Open Source Computing and Technology, Science, and Nature.

Sat, 27 Jun 2026

Overriding Emacs' Broken Bookmark Position Code

Emacs has a useful function called bookmarks, where you can make short names for files you visit often.

But bookmarks has one terrible misfeature: it also remembers your position in the file.

That sounds like a good thing, right? But the problem is that the bookmarks system only records these positions sporadically. So it's easy to get stuck on a position you were editing months ago.

For example: I have a bookmark for the file where I keep track of appointments and other calendar entries. But lately, every time I open this bookmark, it opens it with the cursor positioned on September 24. That's three months away; its not the part of the file I'm interested in right now.

Read more ...

Tags: ,
[ 13:33 Jun 27, 2026    More linux/editors | permalink to this entry | ]

Comments via Disqus:

blog comments powered by Disqus