abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
143 stars 16 forks source link

can`t org-export-html #32

Closed donneyluck closed 1 year ago

donneyluck commented 1 year ago

hi @abougouffa after my test minemacs can`t org export html i have create a simple file test.org then press SPC m e h h

image

i have read FAQ and add code in config.el

(with-eval-after-load 'org
  (setq org-export-in-background nil))

(with-eval-after-load 'org
  ;; You can also set it to your own custom init.el, just do not forget to
  ;; provide `me-org-export-async-init' in it.
  (setq org-export-async-init-file nil))

still not work
Looks a bit complicated from my beginner's perspective, maybe it needs to be simplified

abougouffa commented 1 year ago

I've just tested it with the README.org file of this repository, in my machine the export runs OK (with org-html-export-to-html or org-html-export-as-html).

After adding this to your config.el, can you tell me what error Emacs is signaling?

(with-eval-after-load 'org
  (setq org-export-in-background nil))
donneyluck commented 1 year ago

My son is sick, so may have to take the test again later

When I test it, I will updating this issues

abougouffa commented 1 year ago

No problem @donneyluck ,

I wish your son a good recovery 💟

donneyluck commented 1 year ago

hi @abougouffa i have test it again try to export README.org work well but it take 10s is this normal?

abougouffa commented 1 year ago

It depends on the machine and the file, but for an export to HTML it should be quite fast.

donneyluck commented 1 year ago

ok I will continue to pay attention to this