My session has become lagged; switching to another window is sometimes doesn't take, and might need two or three attempts before I can input into that window as expected. I wish I knew WHAT had built up to cause this issue; lacking time, I'll probably just need to reboot at some point.

@worldsendless you might be able to use the profiler (M-x profiler-start, profiler-report) to identify the culprit. It's often an unexpectedly expensive hook. For example in my case ibuffer-auto-mode's post-command-hook was slowing things down so I ended up making a custom version.

Follow

@zrzz That is an excellent idea! In fact, hooks indeed sound like a likely culprit, the sort of thing that accumulates over emacs run time. Next time I have the slowdown, I will definitely do the profiler

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.