[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The Org mode in the Org Git does not export
From: |
Rudolf Adamkovič |
Subject: |
Re: The Org mode in the Org Git does not export |
Date: |
Sat, 01 Oct 2022 20:04:17 +0200 |
Ihor Radchenko <yantar92@gmail.com> writes:
> Can you execute [...] after loading org and try exporting again?
****************************
* EXPERIMENT 1 - TREATMENT *
****************************
*** VERSIONS:
- Emacs 29 (adaa2fc90e)
- Org (ebbc2ffaa)
*** CONFIGURATION:
;;; -*- lexical-binding: t; -*-
;;; .emacs --- Emacs configuration
;; Make the Org mode less dependent on the arrow keys.
;; From the documentation: "You must set it before loading Org."
(setq-default org-use-extra-keys t)
;; Minimal configuration.
(setq org-export-use-babel nil
org-export-with-broken-links 'mark
org-cite-csl-styles-dir "~/"
org-cite-export-processors '((t csl)))
(with-eval-after-load 'ox
(require 'oc-csl))
;; EXPERIMENT
;; Can you please set org-element-use-cache to nil and org-fold-core-style
;; to 'overlays in your config and try the export again?
(setq org-element-use-cache nil
org-fold-core-style 'overlays)
;; Load the latest Org mode.
(add-to-list 'load-path "~/src/org-mode/lisp/")
;; EXPERIMENT
;; Can you execute [...] after loading org and try exporting again?
(with-eval-after-load 'org
(defun org-export-copy-buffer ()
"Return a copy of the current buffer.
The copy preserves Org buffer-local variables, visibility and
narrowing."
(let ((copy-buffer-fun (org-export--generate-copy-script (current-buffer)))
(new-buf (generate-new-buffer (buffer-name) 'inhibit-hooks)))
(with-current-buffer new-buf
(funcall copy-buffer-fun)
(set-buffer-modified-p nil))
new-buf)))
*** EXPORT:
completed, took 1 minute and 56 seconds
*** NOTES:
I could not capture the profile. This time, after both
'profiler-report' or 'profiler-stop', I got:
cl--assertion-failed: Assertion failed: (>= match imatch)
**************************
* EXPERIMENT 2 - CONTROL *
**************************
*** VERSIONS:
- Emacs 29 (adaa2fc90e)
- Org (ebbc2ffaa)
*** CONFIGURATION:
;;; -*- lexical-binding: t; -*-
;;; .emacs --- Emacs configuration
;; Make the Org mode less dependent on the arrow keys.
;; From the documentation: "You must set it before loading Org."
(setq-default org-use-extra-keys t)
;; Minimal configuration.
(setq org-export-use-babel nil
org-export-with-broken-links 'mark
org-cite-csl-styles-dir "~/"
org-cite-export-processors '((t csl)))
(with-eval-after-load 'ox
(require 'oc-csl))
*** EXPORT:
completed, took 12 seconds
Rudy
--
"I love deadlines. I love the whooshing noise they make as they go by."
-- Douglas Adams, The Salmon of Doubt, 2002
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia
- Re: The Org mode in the Org Git does not export,
Rudolf Adamkovič <=
- Re: The Org mode in the Org Git does not export, Ihor Radchenko, 2022/10/07
- Re: The Org mode in the Org Git does not export, Rudolf Adamkovič, 2022/10/07
- Re: The Org mode in the Org Git does not export, Ihor Radchenko, 2022/10/07
- Re: The Org mode in the Org Git does not export, Rudolf Adamkovič, 2022/10/07
- Re: The Org mode in the Org Git does not export, Ihor Radchenko, 2022/10/09
- Re: The Org mode in the Org Git does not export, Rudolf Adamkovič, 2022/10/09
- Re: The Org mode in the Org Git does not export, Ihor Radchenko, 2022/10/10
- Re: The Org mode in the Org Git does not export, Rudolf Adamkovič, 2022/10/10