emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: A file with 'org-mode rot'?
Date: Sun, 13 Apr 2014 13:22:00 +0200	[thread overview]
Message-ID: <2014-04-13T12-55-57@devnull.Karl-Voit.at> (raw)
In-Reply-To: 877g6w2e7f.fsf@bzg.ath.cx

* Bastien <bzg@gnu.org> wrote:
> Hi Eric and Karl,

Hi Bastien!

> Just checking -- are things better now?

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 |     |     |

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

The very same operation in a small test file works fine.

Another example:

moving from @2$1 to @2$2 with TAB: 4 seconds
#+BEGIN_EXAMPLE
- command-execute                                                3847  80%
 - call-interactively                                            3845  80%
  - yas-expand                                                   3509  73%
   - yas--fallback                                               3509  73%
    - call-interactively                                         3509  73%
     - org-cycle                                                 3509  73%
      - call-interactively                                       3503  73%
       - org-table-next-field                                    3503  73%
          org-table-align                                        1760  36%
      + org-try-structure-completion                                6   0%
  + org-self-insert-command                                        91   1%
  + byte-code                                                      85   1%
  + next-line                                                      49   1%
  + previous-line                                                  42   0%
  + minibuffer-complete                                            22   0%
  + execute-extended-command                                       17   0%
  + profiler-report-toggle-entry                                   12   0%
  + org-yank                                                        7   0%
  + kill-ring-save                                                  3   0%
  + org-return                                                      3   0%
    org-kill-line                                                   3   0%
    scroll-up-command                                               2   0%
+ yas--post-command-handler                                       648  13%
+ redisplay_internal (C function)                                 103   2%
+ ...                                                             100   2%
+ timer-event-handler                                              73   1%
+ clm/log-command                                                  12   0%
+ xselect-convert-to-string                                        10   0%
  internal-timer-start-idle                                         2   0%
#+END_EXAMPLE

Again: in a small test file, it works in a fast way.

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.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

  parent reply	other threads:[~2014-04-13 11:22 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 [this message]
2014-04-13 12:42           ` Nicolas Goaziou
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=2014-04-13T12-55-57@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --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).