From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: Re: org-lint does not finish on some org-mode buffer Date: Mon, 10 Aug 2015 01:19:31 +0200 Message-ID: <20150809231931.GA1548@boo.workgroup> References: <20150809184614.GA9416@boo.workgroup> <878u9k9k0j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOZsy-0003IE-60 for emacs-orgmode@gnu.org; Sun, 09 Aug 2015 19:20:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOZsu-0000vx-3f for emacs-orgmode@gnu.org; Sun, 09 Aug 2015 19:20:12 -0400 Received: from mout.gmx.net ([212.227.17.21]:56883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOZst-0000tN-PU for emacs-orgmode@gnu.org; Sun, 09 Aug 2015 19:20:08 -0400 Received: from boo.workgroup ([87.185.165.230]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LeSOH-1Z3GQN3q05-00qEEn for ; Mon, 10 Aug 2015 01:20:07 +0200 Content-Disposition: inline In-Reply-To: <878u9k9k0j.fsf@nicolasgoaziou.fr> 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: emacs-orgmode --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi Nicolas, * Nicolas Goaziou [10. Aug. 2015]: > Gregor Zattler writes: >> I run org-lint on one of my org-mode buffers -- 13015 lines with >> ~2000 CLOCK: lines -- and it did not finish within 1 1/2 hours. >> >> Is this a bug? I did another run for a few minutes and profiled >> this on. Profiler reports are attached. > > It looks like an infloop when trying to parse a link. Could you send the > file, or even bisect the file in order to find problematic link? You are right. I bisected the file. There is a ’>’ missing. At least with my configuration the attached file ’bad.org’ freezes Emacs with latest org-mode (but it is in most cases possible to do a C-G): emacs-snapshot -Q -L ~/src/org-mode/lisp/ -nw bad.org I consider this a bug. File ’good.org’ with closing ’>’ does not cause this problems. Thanks for your help. Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.- --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="good.org" #-*- mode: Org; indent-tabs-mode: nil; coding: utf-8-unix; -*- E-Mail: http://www.ABCDEF.de ABCDEF GmbH --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bad.org" #-*- mode: Org; indent-tabs-mode: nil; coding: utf-8-unix; -*- E-Mail: