user673592
user673592

Reputation: 2120

Un-quitable buffers

For some reason I can not kill certain buffers (and therefore also can not quit Emacs cleanly). Only the following message is displayed:

equal: Wrong type argument: listp, \.\.\.

The only work-around I found is to do write-file and save it under a different name - then I can kill both the original and the new buffer. However once I reopen the original file I am back to the original error message. I can't say why or when this happens for some of the buffers. It might be I activate unwittingly some sort of protection?

This makes my work quite hard so I'll appreciate any ideas! Thank you very much!

Upvotes: 0

Views: 80

Answers (1)

event_jr
event_jr

Reputation: 17707

You have a bug in your initialization file. Turn on debug-on-error and see if you can get a backtrace. Binary Search to find it.

However before you start down that road, check if you have a package that saves settings across Emacs sessions. I've seen very similar issues when session, but it may manifest itself with other similar packages.

The issue is some data structure being saved is too big, so Emacs abbreviates it to "...", and when you start Emacs the next time, it gets restored /wrong/.

Upvotes: 2

Related Questions