emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Stelian Iancu <lists@siancu.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Emacs hangs in org file
Date: Mon, 07 Jan 2013 08:41:01 -0500	[thread overview]
Message-ID: <7065.1357566061@alphaville> (raw)
In-Reply-To: Message from Stelian Iancu <lists@siancu.net> of "Mon, 07 Jan 2013 09:21:40 +0100." <CAGoVJLEGsHO8EQqz0DKCyBHEBXanXYpHkasfxVy9ET-C8LN=jA@mail.gmail.com>

Stelian Iancu <lists@siancu.net> wrote:

>  I have a fairly simple org file with only a couple of headings, TODOs
> and some notes. The issue I'm seeing is that Emacs hangs to the point
> where I have to force close it when I'm trying to expand a
> headline. The behavior seems random, i.e. it's not always the same
> header and I don't have specific steps to reproduce.
>
> Versions:
> GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-12-30 on bob.porkrind.org
> 
> Org-mode version 7.9.2 (7.9.2-181-ge8aaca-elpaplus @ /Users/stelianiancu/.emacs.d/elpa/
> org-plus-contrib-20121231/)
> 
> Any ideas how can I debug this further or why this might happen?
> 

Does it hang or is is stuck in a loop? Check whether emacs is is
accumulating CPU time with ps.

If it's in a loop and C-g works to get it out, you can set
debug-on-quit, interrupt it and ponder the backtrace. Doing it a couple
of times might indicate where the problem is.

If not, then the only thing I can think of is attaching strace to the
emacs process, and figuring out what it is doing.

In either case, easier said than done, but desperate times call for
desperate measures.

Nick

  parent reply	other threads:[~2013-01-07 13:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07  8:21 Emacs hangs in org file Stelian Iancu
2013-01-07  8:50 ` Jambunathan K
2013-01-07 12:41   ` Stelian Iancu
2013-01-07 13:41 ` Nick Dokos [this message]
2013-01-08  9:31   ` Stelian Iancu
2013-01-08 19:19     ` David Engster
2013-01-09 14:41       ` Stelian Iancu
2013-01-07 14:07 ` Achim Gratz

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=7065.1357566061@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@siancu.net \
    /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).