You are not logged in.
Pages: 1
A few days ago emacs started loading very slowly for me. I hadn't touched the .emacs file in a while so I had no idea what was going on. I moved .emacs to .emacs.old and saw that emacs was still taking a lot of time. After Googling the issue to see if it was specific to Arch, I found this: https://wiki.archlinux.org/index.php/Emacs#Slow_startup
I ran emacs -q and emacs still loaded slowly, confirming my belief that the issue wasn't configuration related. The wiki then linked to this page: https://wiki.archlinux.org/index.php/Em … figuration
But that section doesn't exist. Does anyone know how to fix this problem?
Last edited by gsingh93 (2013-10-27 17:15:20)
Offline
How long is it taking? About 4 seconds, including several extensions in my configuration on my system.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
You removed the configuration, but you are still trying to start it with the same user. I don't know anything really about emacs, but I think it would be a good test to see if the problem persists if you create a new user account. Then you can determine if it is possibly something about your user that is causing the problem, or if it can be attributed to the system somehow.
Offline
I'm really thinking this is a network error like the Wiki mentioned. The time it takes to start is between 1 second and 10 seconds depending on where I am and the time of day (this is on a college campus, so variation makes sense). Trying it for a different user doesn't help. If only the Wiki provided the solution instead of just a dead link ![]()
Offline
I've solved the problem.
I noticed that this issue was only happening on a particular WiFi network, so I used Wireshark to see what was going on the network that was causing issues and another network. The bad network was showing some issues with DNS lookups for my domain name, which was "arch", so I added
127.0.0.1 localhost archto my /etc/hosts file, and now the startup time is fine. I'll probably update the Wiki with this information.
Offline
Pages: 1