From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stelian Iancu Subject: Re: Emacs hangs in org file Date: Tue, 8 Jan 2013 10:31:14 +0100 Message-ID: References: <7065.1357566061@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b162e7d6ad5b004d2c39b87 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsVWh-0000z6-Kp for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 04:31:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsVWe-0004AV-Mz for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 04:31:19 -0500 Received: from mail-da0-f53.google.com ([209.85.210.53]:53748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsVWe-0004AE-EZ for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 04:31:16 -0500 Received: by mail-da0-f53.google.com with SMTP id x6so107427dac.26 for ; Tue, 08 Jan 2013 01:31:14 -0800 (PST) In-Reply-To: <7065.1357566061@alphaville> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --047d7b162e7d6ad5b004d2c39b87 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jan 7, 2013 at 2:41 PM, Nick Dokos wrote: > Stelian Iancu 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 > > Well it seems that it didn't hang at all. What happens is that the buffer which contains the org file doesn't seem to accept any keyboard input anymore. If I use the mouse to switch to another buffer, there the keyboard input works as it should. Then if I switch back to the problematic file, it works as well, for a while. Also, I've noticed that the problem seems to be happening when I try to expand a heading. For now I can do this mouse switching of buffers but I'd really like to know what happens and how can it be fixed. --047d7b162e7d6ad5b004d2c39b87 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Mon, Jan 7, 2013 at 2:41 PM, Nick Dokos <nicholas.dokos@hp.= com> wrote:
Stel= ian Iancu <lists@siancu.net> = wrote:

> =A0I have a fairly simple org file with only a couple of headings, TOD= Os
> and some notes. The issue I'm seeing is that Emacs hangs to the po= int
> 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.por= krind.org
>
> Org-mode version 7.9.2 (7.9.2-181-ge8aaca-elpaplus @ /Users/stelianian= cu/.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 i= s
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


Well it seems that= it didn't hang at all. What happens is that the buffer which contains = the org file doesn't seem to accept any keyboard input anymore. If I us= e the mouse to switch to another buffer, there the keyboard input works as = it should. Then if I switch back to the problematic file, it works as well,= for a while. Also, I've noticed that the problem seems to be happening= when I try to expand a heading.

For now I can do this mouse switching of bu= ffers but I'd really like to know what happens and how can it be fixed.= =A0

--047d7b162e7d6ad5b004d2c39b87--