Hello,
I've real performance problems for opening some Org files. Just some,
hopefully. I don't remember having those problems when I was on
Ubuntu, and I
must already have opened it, back then, but... Anyway, I'm now
(forced) on
Windows, and I have the problem.
For example[fn:1], the small attached file takes me at least 6 s for
opening it!
I really have no idea why. Why is it different from others, longer,
that are
opened in a much shorter time?
What did I do to try to spot the problem?
M-x elp-instrument-package RET org- RET
M-x find-file <FILE> RET
M-x elp-results.
Here they are:
#+begin_src emacs-lisp
org-mode
1 6.719 6.719
org-set-regexps-and-options
1 0.203 0.203
org-compute-latex-and-specials-regexp
1 0.203 0.203
org-match-string-no-properties
35 0.016 0.0004571428
org-infile-export-plist
2 0.016 0.008
org-all-targets
1 0.0 0.0
org-mode-p
13 0.0 0.0
org-babel-result-hide-spec
1 0.0 0.0
org-inlinetask-fontify
2 0.0 0.0
org-bookmark-jump-unhide
1 0.0 0.0
org-cycle
1 0.0 0.0
org-unfontify-region
2 0.0 0.0
org-agenda-files
1 0.0 0.0
org-raise-scripts
2 0.0 0.0
org-activate-dates
2 0.0 0.0
org-point-at-end-of-empty-headline
1 0.0 0.0
org-load-modules-maybe
2 0.0 0.0
org-get-indentation
1 0.0 0.0
org-remove-font-lock-display-properties
2 0.0 0.0
org-mode-flyspell-verify
1 0.0 0.0
org-clocking-p
1 0.0 0.0
org-activate-footnote-links
2 0.0 0.0
org-at-item-checkbox-p
1 0.0 0.0
org-propertize
4 0.0 0.0
org-babel-do-key-sequence-in-edit-buffer
1 0.0 0.0
org-set-startup-visibility
1 0.0 0.0
org-overview
1 0.0 0.0
org-resolve-clocks-if-idle
1 0.0 0.0
org-decompose-region
2 0.0 0.0
org-make-options-regexp
3 0.0 0.0
org-update-radio-target-regexp
1 0.0 0.0
org-font-lock-add-priority-faces
2 0.0 0.0
org-assign-fast-keys
1 0.0 0.0
org-extract-log-state-settings
16 0.0 0.0
org-install-agenda-files-menu
1 0.0 0.0
org-babel-where-is-src-block-head
1 0.0 0.0
org-do-latex-and-special-faces
2 0.0 0.0
org-cycle-internal-global
1 0.0 0.0
org-do-emphasis-faces
2 0.0 0.0
org-link-display-format
3 0.0 0.0
org-src-native-tab-command-maybe
1 0.0 0.0
org-fontify-entities
2 0.0 0.0
org-file-menu-entry
32 0.0 0.0
org-set-visibility-according-to-property
1 0.0 0.0
org-activate-bracket-links
2 0.0 0.0
org-hide-archived-subtrees
1 0.0 0.0
org-imenu-new-marker
3 0.0 0.0
org-delete-all
1 0.0 0.0
org-add-props
3 0.0 0.0
org-cycle-hide-drawers
2 0.0 0.0
org-clocking-buffer
1 0.0 0.0
org-hh:mm-string-to-minutes
2 0.0 0.0
org-combine-plists
1 0.0 0.0
org-cycle-item-indentation
1 0.0 0.0
org-clock-notify-once-if-expired
1 0.0 0.0
org-optimize-window-after-visibility-change
1 0.0 0.0
org-list-at-regexp-after-bullet-p
2 0.0 0.0
org-set-font-lock-defaults
1 0.0 0.0
org-make-target-link-regexp
1 0.0 0.0
org-cycle-level
1 0.0 0.0
org-fontify-meta-lines-and-blocks
10 0.0 0.0
org-babel-hide-result-toggle-maybe
1 0.0 0.0
org-float-time
4 0.0 0.0
org-activate-angle-links
2 0.0 0.0
org-hide-block-toggle-maybe
1 0.0 0.0
org-clock-load
1 0.0 0.0
org-activate-code
2 0.0 0.0
org-font-lock-hook
2 0.0 0.0
org-set-autofill-regexps
1 0.0 0.0
org-cycle-show-empty-lines
2 0.0 0.0
org-activate-target-links
2 0.0 0.0
org-set-local
35 0.0 0.0
org-clock-update-mode-line
1 0.0 0.0
org-defkey
7 0.0 0.0
org-clock-get-clock-string
1 0.0 0.0
org-restart-font-lock
1 0.0 0.0
org-add-hook
4 0.0 0.0
org-remove-keyword-keys
3 0.0 0.0
org-activate-plain-links
2 0.0 0.0
org-font-lock-add-tag-faces
2 0.0 0.0
org-cycle-hide-archived-subtrees
2 0.0 0.0
org-at-table-p
1 0.0 0.0
org-hide-wide-columns
2 0.0 0.0
org-imenu-get-tree
1 0.0 0.0
org-key
7 0.0 0.0
org-at-item-p
4 0.0 0.0
org-babel-hide-all-hashes
1 0.0 0.0
org-default-export-plist
1 0.0 0.0
org-activate-tags
2 0.0 0.0
org-reduced-level
3 0.0 0.0
org-at-item-description-p
1 0.0 0.0
org-outline-level
7 0.0 0.0
org-clock-get-clocked-time
2 0.0 0.0
org-last
3 0.0 0.0
org-invisible-p
2 0.0 0.0
org-get-level-face
3 0.0 0.0
#+end_src
which confirms almost 7 s for just opening that small file into a
buffer.
Though, I don't see any potential explanation therefore. Could you
help me
spotting the problem?
Best regards,
Seb
* Footnotes
[fn:1] I even have (longer) files that take longer to open...
--
Sébastien Vauban
<tags-opening-it-is-
sloooooooooow.org>_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode