emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Luke <mideniko1234-org@yahoo.co.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Possible bug: Emacs hangs on (require 'org)
Date: Wed, 23 Nov 2016 10:43:10 +0800	[thread overview]
Message-ID: <o12vo0$abg$1@blaine.gmane.org> (raw)
In-Reply-To: <o12ri4$72h$1@blaine.gmane.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

  parent reply	other threads:[~2016-11-23  2:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23  1:31 Possible bug: Emacs hangs on (require 'org) Luke
2016-11-23  2:39 ` Eric Abrahamsen
2016-11-23  2:56   ` Luke
2016-11-23  3:30     ` Eric Abrahamsen
2016-11-23  2:43 ` Luke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-06 14:30 Martin Zuther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='o12vo0$abg$1@blaine.gmane.org' \
    --to=mideniko1234-org@yahoo.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).