A “I just want no input lag no matter how many packages I install. Its a frigging editor after all!! Is that too much to ask??”

B “Yes. (it’s an OS btw)”

A “Sigh.”

1 point

Two questions about your situation.

  1. How old is your computer? Does it have a decent amount of both processor speed and RAM?
  2. How large are the files that you have open that are giving you lag?

I am nowhere near a power user as I use only emacs for Org-Mode but even with a few of my insanely large PIM files (BookNotes.org which contains the notes and highlights to every every nonfiction books I have read in the last 10+ years) I have never encountered any lag in emacs.

permalink
report
reply
1 point

Unless the package is a mode that’s actually active, I can’t see why packages would cause input lag.

permalink
report
reply
1 point

I’ve noticed I have a lot of latency right after startup and the thing which seems to help is a manual garbage collect. That’s bit odd because the last thing I do in my config is set a 5 second timer which is fed a lambda to run a gc after the timer expires. Regardless, I still have better results if I run the gc manually.

I do load of metric ass ton of packages (and modes) and I recursively parse my Org/Org Roam directory for org-agenda items so I’m doing a lot of questionable things.

As others have said, sounds like we might both benefit by spending some quality time with the profiler.

permalink
report
reply
1 point

As a minimal effort first attempts, I just installed XanMod kernel. If that makes a noticeable impact I will loop back here to report.

permalink
report
parent
reply
1 point

I had some latency and stuttering after 29 I started using gcmh and it works much better. Hopefully that will help you

permalink
report
reply
1 point

flyspell on large org-file give serious input lag

permalink
report
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments