For an async task another emacs session is executed to do the job. This async emacs session runs into a file not found error. At startup it uses the emacs/init file but cannot find the settings files, therefore (require '...) statements are not working. This means the early_init.el is not loaded.
Approch
Fixing the init to load early_init.el if it is async called.
Change the async command to load another init, optimized for the async process.
Procedure
Org Export to LaTex Article C-c C-e C-a l a returns following message in the *Message* buffer:
Initializing asynchronous export process
Process ‘org-export-process’ exited abnormally
In buffer *Org Export Process*:
Cannot open load file: No such file or directory, pre-settings
Error: file-missing ("Cannot open load file" "No such file or directory" "pre-settings")
mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode 0x14ebedc9ae8640>))
debug-early-backtrace()
debug-early(error (file-missing "Cannot open load file" "No such file or directory" "pre-settings"))
require(pre-settings)
eval-buffer(#<buffer *load*> nil "/home/daniel/.config/emacs/init" nil t)
load-with-code-conversion("/home/daniel/.config/emacs/init" "/home/daniel/.config/emacs/init" nil t)
load("/home/daniel/.config/emacs/init" nil t)
command-line-1(("-l" "/home/daniel/.emacs" "-l" "/tmp/org-export-processLQ7ISd"))
command-line()
normal-top-level()
### Problem
Org Export to LaTex Article is not working.
### Estimation
For an async task another emacs session is executed to do the job. This async emacs session runs into a file not found error. At startup it uses the `emacs/init` file but cannot find the settings files, therefore `(require '...)` statements are not working. This means the `early_init.el` is not loaded.
### Approch
- Fixing the `init` to load `early_init.el` if it is async called.
- Change the async command to load *another* init, optimized for the async process.
### Procedure
Org Export to LaTex Article `C-c C-e C-a l a` returns following message in the `*Message*` buffer:
```
Initializing asynchronous export process
Process ‘org-export-process’ exited abnormally
```
In buffer `*Org Export Process*`:
```
Cannot open load file: No such file or directory, pre-settings
Error: file-missing ("Cannot open load file" "No such file or directory" "pre-settings")
mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode 0x14ebedc9ae8640>))
debug-early-backtrace()
debug-early(error (file-missing "Cannot open load file" "No such file or directory" "pre-settings"))
require(pre-settings)
eval-buffer(#<buffer *load*> nil "/home/daniel/.config/emacs/init" nil t)
load-with-code-conversion("/home/daniel/.config/emacs/init" "/home/daniel/.config/emacs/init" nil t)
load("/home/daniel/.config/emacs/init" nil t)
command-line-1(("-l" "/home/daniel/.emacs" "-l" "/tmp/org-export-processLQ7ISd"))
command-line()
normal-top-level()
```
the mentioned lines are inside a (with-eval-after-load 'org ...) block inside of (use-package easymenu :config ...)
easymenu is loaded, so is it org?
org is loaded with (use-package org :defer t ...)
It could be that the process does not invoke the org mode / package.
looks like an issue of the package loading order.
the mentioned lines are inside a `(with-eval-after-load 'org ...)` block inside of `(use-package easymenu :config ...)`
easymenu is loaded, so is it org?
org is loaded with `(use-package org :defer t ...)`
It could be that the process does not invoke the org mode / package.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Org Export to LaTex Article is not working.
Estimation
For an async task another emacs session is executed to do the job. This async emacs session runs into a file not found error. At startup it uses the
emacs/initfile but cannot find the settings files, therefore(require '...)statements are not working. This means theearly_init.elis not loaded.Approch
initto loadearly_init.elif it is async called.Procedure
Org Export to LaTex Article
C-c C-e C-a l areturns following message in the*Message*buffer:In buffer
*Org Export Process*:fix for
initto loadearly-ini.elin4cb72a991a.New error (
*Org Export Process):looks like an issue of the package loading order.
the mentioned lines are inside a
(with-eval-after-load 'org ...)block inside of(use-package easymenu :config ...)easymenu is loaded, so is it org?
org is loaded with
(use-package org :defer t ...)It could be that the process does not invoke the org mode / package.
fixed by
7168c8204a