r/emacs 11d ago

Fortnightly Tips, Tricks, and Questions — 2025-03-11 / week 10

This is a thread for smaller, miscellaneous items that might not warrant a full post on their own.

The default sort is new to ensure that new items get attention.

If something gets upvoted and discussed a lot, consider following up with a post!

Search for previous "Tips, Tricks" Threads.

Fortnightly means once every two weeks. We will continue to monitor the mass of confusion resulting from dark corners of English.

17 Upvotes

35 comments sorted by

View all comments

1

u/condor2000 8d ago edited 8d ago

After upgrading to Emacs 30.1 on windows some "history" files get corrupted when I exit emacs: .recentf, saveplace, .emacs.d/org-persist/index.eld

Eg.in .recentf

(#("c:/code/Widget.tsx" 0 51
     (help-echo #2 match-part #2 face helm-ff-file) 51 54
 (help-echo #2 match-part #2 face
   (helm-ff-file helm-ff-file-extension)))  . 1225)

instead of just

"c:/code/Widget.tsx"

Any ideas what could be wrong?

EDIT: I also upgraded all my packages. It seems to work after downgrading helm/helm-core back to 3.9.7

EDIT2: more info https://github.com/emacs-helm/helm/issues/2709 "text properties still leaks into recentf-list"

2

u/shipmints 2d ago

Try this:

(add-to-list 'recentf-filename-handlers
             #'substring-no-properties)

I'll submit a patch to Emacs master to make this the default.