emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-lint does not finish on some org-mode buffer
Date: Mon, 10 Aug 2015 01:19:31 +0200	[thread overview]
Message-ID: <20150809231931.GA1548@boo.workgroup> (raw)
In-Reply-To: <878u9k9k0j.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

Hi Nicolas,
* Nicolas Goaziou <mail@nicolasgoaziou.fr> [10. Aug. 2015]:
> Gregor Zattler <telegraph@gmx.net> 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
-- 
 -... --- .-. . -.. ..--.. ...-.-

[-- Attachment #2: good.org --]
[-- Type: text/plain, Size: 183 bytes --]

#-*- mode: Org; indent-tabs-mode: nil; coding: utf-8-unix;  -*-

               E-Mail: <mailto:ABCDEF.ABCDE@ABCDEF.de>
               http://www.ABCDEF.de
               ABCDEF GmbH

[-- Attachment #3: bad.org --]
[-- Type: text/plain, Size: 182 bytes --]

#-*- mode: Org; indent-tabs-mode: nil; coding: utf-8-unix;  -*-

               E-Mail: <mailto:ABCDEF.ABCDE@ABCDEF.de
               http://www.ABCDEF.de
               ABCDEF GmbH

  reply	other threads:[~2015-08-09 23:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-09 18:46 org-lint does not finish on some org-mode buffer Gregor Zattler
2015-08-09 22:25 ` Nicolas Goaziou
2015-08-09 23:19   ` Gregor Zattler [this message]
2015-08-10  8:08     ` Nicolas Goaziou
2015-11-10 15:59 ` Karl Voit
2015-11-10 22:52   ` Nicolas Goaziou
2015-11-11  9:40     ` Karl Voit
2015-11-11 20:45       ` Nicolas Goaziou

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=20150809231931.GA1548@boo.workgroup \
    --to=telegraph@gmx.net \
    --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).