When I switched to Emacs from Vim, I really loved the extensibility of Emacs. But compared with Vim, Emacs still feels somewhat sluggish. Especially when I moved my pointer/cursor around, and typing something.It's still my biggest issue with Emacs. Every time when I try Vim again, then I know again why I like to be inside Vim. It feels so snappy.
Now it seems there is a proof about my experiences with Emacs as not being so snappy:
https://pavelfatin.com/typing-with-pleasure/
I assume the latency has something to do with the font locking and Elisp in Emacs? This is a general question, not to be specific to a culprit. Emacs in overall feels less 'snappier' than Vim.
Is there any suitable approach to make Emacs more 'snappier'? Like if we could compile our extensive dot-Emacs into a compiled version of personal customized emacs in binary code? Would that make Emacs feel snappy? Or are there another ways to make Emacs feeling more 'snappy' like with Vim?
I use Xubuntu 16.04 on SSD with GUI Emacs version 25.1
emacs -Q
? There are a zillion things that make Emacs slower or faster. You taggedfont-lock
- does that mean that if you turn offfont-lock-mode
then your problem disappears? What's the relation of font locking to your problem? Please make your question narrow and self-contained - it should not be a quest for general performance improvements, and it should not require analysis of a blog. – Drew Apr 25 '16 at 18:06PHP-mode
. I don't code in PHP, so I cannot comment on the presence or lack of snappiness. But then to help corroborate your observation, post something that can be reproduced by others: post an example file + post a minimum emacs configuration with which you start seeing the issue. – Kaushal Modi Apr 25 '16 at 20:43