emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: news1142@Karl-Voit.at
Cc: emacs-orgmode@gnu.org
Subject: Re: A file with 'org-mode rot'?
Date: Sun, 13 Apr 2014 14:42:48 +0200	[thread overview]
Message-ID: <87zjjph03b.fsf@gmail.com> (raw)
In-Reply-To: <2014-04-13T12-55-57@devnull.Karl-Voit.at> (Karl Voit's message of "Sun, 13 Apr 2014 13:22:00 +0200")

Hello,

Karl Voit <devnull@Karl-Voit.at> writes:

> I am still facing strange behavior and I still do think that we
> need an org-mode-syntax-checker for Org-mode files that cause
> problems.
>
> Example:
>
> | foo | bar | baz |
> |  42 |     |     |
> |  23 |     |     |

I don't understand what a "syntax checker" has to do with it.
Notwithstanding the fact that such a checker assumes all Org obeys to
a single syntax definition, which is what I'm struggling for, but is not
the case actually, it would report, in this case, that syntax is valid.
How would that help?

> It takes seven seconds with 100% CPU core load to move the
> "foo"-column from above from the second column to the first by
> applying ALT-<left>. This is in my main Org-mode file which has got
> 29000 lines.
>
> #+BEGIN_EXAMPLE
> - command-execute                                               29550  99%
>  - call-interactively                                           29550  99%
>   - org-metaleft                                                29469  99%
>    - call-interactively                                         29469  99%
>     - org-table-move-column                                     24559  83%
>        org-table-align                                           9832  33%
>   + byte-code                                                      74   0%
>   + execute-extended-command                                        7   0%
> + yas--post-command-handler                                         6   0%
> + timer-event-handler                                               6   0%
> + ...                                                               0   0%
> #+END_EXAMPLE

I generated a 32000 lines long file and couldn't reproduce the problem.
What Org version are you using?

> Still not possible: org-agenda-list & org-agenda-write to ICS file.
> Org-mode is working hard but is in some kind of endless loop. I
> assume that this also would work when I would change to a small
> Org-mode file. I can test this if it helps.

It would help. So would an ECM for the reported infloop.

Also you can try to set `toggle-debug-on-quit', C-g amid the infloop,
and report the backtrace.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-04-13 12:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 12:41 A file with 'org-mode rot'? Sharon Kimble
2014-04-03 10:40 ` Karl Voit
2014-04-04  9:11   ` Eric S Fraga
2014-04-04 11:06     ` Eric S Fraga
2014-04-11  9:46       ` Bastien
2014-04-11 15:26         ` Nicolas Goaziou
2014-04-13 11:22         ` Karl Voit
2014-04-13 12:42           ` Nicolas Goaziou [this message]
2014-04-13 14:53             ` Karl Voit
2014-04-13 17:49               ` Nicolas Goaziou
2014-04-13 18:08                 ` Erik Iverson
2014-04-15  8:18                   ` Karl Voit
2014-04-14 16:34         ` Eric S Fraga
2014-11-11 16:50   ` Karl Voit
2014-11-11 20:43     ` Marco Wahl

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=87zjjph03b.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).