emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [O] Help speeding up Org iCal export
@ 2020-05-28  0:24 Ken Mankoff
  2020-05-28  8:11 ` Eric S Fraga
  2020-05-28 12:17 ` Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Ken Mankoff @ 2020-05-28  0:24 UTC (permalink / raw)
  To: Org-mode

Hello,

When I eval `(org-icalendar-combine-agenda-files nil)`, it takes about 15 seconds.

Some strange messages in the *Messages* buffer include:

22 files scanned, 7 files contains IDs and in total 23 IDs found.

But my `org-agenda-files` variable only contains 12 files and no #+INCLUDE statements.

There are also several dozen lines of

org-babel-exp process sh at position 74770...
org-babel-exp process sh at position 74830...
org-babel-exp process sh at position 75147...
...
org-babel-exp process sqlite at position 27700...
org-babel-exp process sqlite at position 27704...
org-babel-exp process sh at position 27604...
org-babel-exp process sh at position 27617...
org-babel-exp process sh at position 27691...
org-babel-exp process translate at position 27970...

(and with bash, python, emacs-lisp, and other languages). When I view for example the only #BEGIN_SRC translate block in any of my files it is just a test in my notes file:

#+BEGIN_SRC translate :src en :dest da
This is a test
#+END_SRC

I cannot eval it with C-c C-c because I have set ":eval no" system-wide with:

  (setq org-babel-default-header-args
	(cons '(:eval . "no")
	      (assq-delete-all :eval org-babel-default-header-args)))


Sometimes the Messages contain confirmation that a code block is disabled:

org-babel-exp process plantuml at position 27719...
Evaluation of this plantuml code block is disabled.
org-babel-exp process plantuml at position 27762...
Evaluation of this plantuml code block is disabled.


But those blocks don't have any special header:

#+begin_src plantuml :file tryout.png
...misc plantuml code here.
#+end_src


Can anyone offer suggestions why it reports scanning 22 files, and how to speed it up since no code should be evaluated?

Thank you,

  -k.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-21  0:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28  0:24 [O] Help speeding up Org iCal export Ken Mankoff
2020-05-28  8:11 ` Eric S Fraga
2020-05-28 12:17 ` Nicolas Goaziou
2020-05-28 14:06   ` Ken Mankoff
2022-01-20 22:57     ` Josh Moller-Mara

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