From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Subject: Re: Possible bug: Emacs hangs on (require 'org) Date: Wed, 23 Nov 2016 10:43:10 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9NX1-0004ab-J9 for emacs-orgmode@gnu.org; Tue, 22 Nov 2016 21:43:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9NWx-0008Co-LQ for emacs-orgmode@gnu.org; Tue, 22 Nov 2016 21:43:31 -0500 Received: from [195.159.176.226] (port=37197 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9NWx-0008C7-Ee for emacs-orgmode@gnu.org; Tue, 22 Nov 2016 21:43:27 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c9NWp-0004G5-Pw for emacs-orgmode@gnu.org; Wed, 23 Nov 2016 03:43:19 +0100 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org On 23/11/16 09:31, Luke wrote: > I have a strange situation on my laptop. > > I'm running Ubuntu 16.04, with Emacs 24.5.1. I'm also using the latest > development branch from the org-mode git repository (latest changes > pulled today). > > Recently, for some unknown reason, emacs suddenly started to hang on > startup. Placing some output messages in my .emacs file I was able to > narrow it down to this line: > > (require 'org) > > Loading org-mode hangs Emacs for some reason. If I remove the above line > from .emacs then Emacs will start as normal (although without org-mode, > obviously). > > I tried creating a minimal-org.el file with the following contents: > > ;; activate debugging > (setq debug-on-error t > debug-on-signal nil > debug-on-quit nil) > > ;; add latest org-mode to load path > (add-to-list 'load-path (expand-file-name "~/elisp/org-mode/lisp")) > (add-to-list 'load-path (expand-file-name > "~/elisp/org-mode/contrib/lisp" t)) > > And then running: > > $ emacs -Q -l minimal-org.el > > ...but I still get the same result (Emacs hangs when I run `M-x (require > 'org)`). > > Can anyone help tell me what's wrong, or suggest how I try and track > down the problem? > Further to my previous post, I've discovered that if I disable networking then Emacs loads immediately (no hang). The network connection where I am at the moment is not very reliable, so I'm wondering if org-mode is trying to make some kind of network connection which then hangs while waiting for a response that never comes back. -- Luke