emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič" <salutis@me.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: "Fraga, Eric" <e.fraga@ucl.ac.uk>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: The Org mode in the Org Git does not export
Date: Sat, 01 Oct 2022 20:04:17 +0200	[thread overview]
Message-ID: <m2zgef774u.fsf@me.com> (raw)
In-Reply-To: <87edvs2qlj.fsf@localhost>

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


  reply	other threads:[~2022-10-01 18:05 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-25 16:40 The Org mode in the Org Git does not export Rudolf Adamkovič
2022-09-25 17:06 ` Fraga, Eric
2022-09-27 22:19   ` Rudolf Adamkovič
2022-09-28  3:06     ` Ihor Radchenko
2022-09-28 12:45       ` Rudolf Adamkovič
2022-09-28 12:55         ` Rudolf Adamkovič
2022-09-28 13:24           ` Ihor Radchenko
2022-09-28 15:49           ` Max Nikulin
2022-09-28 13:14         ` Ihor Radchenko
2022-09-28 15:56           ` Rudolf Adamkovič
2022-09-28 17:29             ` Rudolf Adamkovič
2022-09-29  2:30               ` Ihor Radchenko
2022-09-29 13:37                 ` Rudolf Adamkovič
2022-09-29 13:56                   ` Ihor Radchenko
2022-09-30 12:01                     ` Rudolf Adamkovič
2022-10-01  3:02                       ` Ihor Radchenko
2022-10-01 18:04                         ` Rudolf Adamkovič [this message]
2022-10-07  5:31                           ` Ihor Radchenko
2022-10-07  9:10                             ` Rudolf Adamkovič
2022-10-07 10:24                               ` Ihor Radchenko
2022-10-07 14:18                                 ` Rudolf Adamkovič
2022-10-09  6:36                                   ` Ihor Radchenko
2022-10-09 15:29                                     ` Rudolf Adamkovič
2022-10-10 10:15                                       ` Ihor Radchenko
2022-10-10 22:08                                         ` Rudolf Adamkovič
2022-09-26  4:39 ` Ihor Radchenko
2022-09-27 22:30   ` Rudolf Adamkovič

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=m2zgef774u.fsf@me.com \
    --to=salutis@me.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).