3

How can I display all Internet connections that are used during startup? Sometimes I work in a low speed Internet environment and I would like to remove all the Internet connection code during startup.

Update: strace shows that Emacs stucks when it tries to connect to dbus, but I have no idea why...

  • An easy solution is just flipping the WiFi switch while starting Emacs. – wasamasa May 12 '16 at 17:29
  • I don't think that emacs tries to connect to the Internet by default; unless you explicitly call certain commands which will obviously do that. For example: M-x list packages. – Kaushal Modi May 12 '16 at 18:30
  • 1
    @xuhdev is there any reason you can't use a traditional packet sniffer to determine what connections are being made? – PythonNut May 12 '16 at 22:49
  • bisect your code, I had similar issue before. In my case, it's some legacy flymake file. github.com/redguardtoo/emacs.d/commit/6e7237f – chen bin May 18 '16 at 8:49
  • @chenbin Interesting... My bisecting shows there's something to do with magit, but I still have no idea why... – xuhdev May 19 '16 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.