I am not using orb or org-roam features in this files
Works in a vanilla emacs config
A few days ago I received a warning regarding company-org-roam url. However, I do not use company-org-roam, but org-roam and org-roam-bibtex. It could be a dependency problem?
Backtrace:
```
gethash("brochier_macroeconomics_2017" nil)
orb-find-note-file("brochier_macroeconomics_2017")
funcall(orb-find-note-file "brochier_macroeconomics_2017")
(lambda (fn) (funcall fn entry-key))(orb-find-note-file)
mapcar((lambda (fn) (funcall fn entry-key)) (orb-find-note-file bibtex-completion-find-note-multiple-files bibtex-completion-find-note-one-file))
(cl-some #'identity (mapcar #'(lambda (fn) (funcall fn entry-key)) bibtex-completion-find-note-functions))
(if (cl-some #'identity (mapcar #'(lambda (fn) (funcall fn entry-key)) bibtex-completion-find-note-functions)) (cons (cons "=has-note=" bibtex-completion-notes-symbol) entry) entry)
(let* ((fields (if fields (progn (append fields (list "=type=" "=key=" "=has-pdf=" "=has-note="))))) (entry (if (and (not do-not-find-pdf) (bibtex-completion-find-pdf entry)) (cons (cons "=has-pdf=" bibtex-completion-pdf-symbol) entry) entry)) (entry-key (cdr (assoc "=key=" entry))) (entry (if (cl-some #'identity (mapcar #'(lambda ... ...) bibtex-completion-find-note-functions)) (cons (cons "=has-note=" bibtex-completion-notes-symbol) entry) entry)) (entry (if fields (let (result) (let ((list entry) (i 0) it it-index) (ignore it it-index) (while list (setq it ... it-index i i ...) (if ... ...))) (nreverse result)) entry))) (setcdr (assoc "=type=" entry) (downcase (cdr (assoc "=type=" entry)))) (bibtex-completion-remove-duplicated-fields entry))
(progn (let* ((fields (if fields (progn (append fields (list "=type=" "=key=" "=has-pdf=" "=has-note="))))) (entry (if (and (not do-not-find-pdf) (bibtex-completion-find-pdf entry)) (cons (cons "=has-pdf=" bibtex-completion-pdf-symbol) entry) entry)) (entry-key (cdr (assoc "=key=" entry))) (entry (if (cl-some #'identity (mapcar #'... bibtex-completion-find-note-functions)) (cons (cons "=has-note=" bibtex-completion-notes-symbol) entry) entry)) (entry (if fields (let (result) (let (... ... it it-index) (ignore it it-index) (while list ... ...)) (nreverse result)) entry))) (setcdr (assoc "=type=" entry) (downcase (cdr (assoc "=type=" entry)))) (bibtex-completion-remove-duplicated-fields entry)))
(if entry (progn (let* ((fields (if fields (progn (append fields ...)))) (entry (if (and (not do-not-find-pdf) (bibtex-completion-find-pdf entry)) (cons (cons "=has-pdf=" bibtex-completion-pdf-symbol) entry) entry)) (entry-key (cdr (assoc "=key=" entry))) (entry (if (cl-some #'identity (mapcar ... bibtex-completion-find-note-functions)) (cons (cons "=has-note=" bibtex-completion-notes-symbol) entry) entry)) (entry (if fields (let (result) (let ... ... ...) (nreverse result)) entry))) (setcdr (assoc "=type=" entry) (downcase (cdr (assoc "=type=" entry)))) (bibtex-completion-remove-duplicated-fields entry))))
bibtex-completion-prepare-entry((("file" . "{Brochier_Silva_2017_THE MACROECONOMIC IMPLICATION...") ("keywords" . "{REVISTO, METADATA}") ("year" . "2017") ("month" . "aug") ("author" . "{Brochier, Lídia and Macedo e Silva, Antonio Carlo...") ("journal" . "{Análise Econômica}") ("number" . "{especial}") ("language" . "{en}") ("abstract" . "{The recent US economic scenario has motivated a s...") ("copyright" . "{Direitos autorais 2017 Análise Econômica}") ("volume" . "35") ("title" . "{The macroeconomics implications of consumption:\n ...") ("=type=" . "article") ("=key=" . "brochier_macroeconomics_2017")) nil nil)
(reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type (point) bibtex-completion-string-hash-table) nil do-not-find-pdf))
(let ((entry-type (match-string 1))) (reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type (point) bibtex-completion-string-hash-table) nil do-not-find-pdf)))
(if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" (regexp-quote entry-key) "[[:space:]]*,") nil t) (let ((entry-type (match-string 1))) (reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type (point) bibtex-completion-string-hash-table) nil do-not-find-pdf))) (progn (display-warning :warning (concat "Bibtex-completion couldn't find entry with key \"" entry-key "\".")) nil))
(progn (mapc #'insert-file-contents bib) (goto-char (point-min)) (if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" (regexp-quote entry-key) "[[:space:]]*,") nil t) (let ((entry-type (match-string 1))) (reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type (point) bibtex-completion-string-hash-table) nil do-not-find-pdf))) (progn (display-warning :warning (concat "Bibtex-completion couldn't find entry with key \"" entry-key "\".")) nil)))
(unwind-protect (progn (mapc #'insert-file-contents bib) (goto-char (point-min)) (if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" (regexp-quote entry-key) "[[:space:]]*,") nil t) (let ((entry-type (match-string 1))) (reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type (point) bibtex-completion-string-hash-table) nil do-not-find-pdf))) (progn (display-warning :warning (concat "Bibtex-completion couldn't find entry with key \"" entry-key "\".")) nil))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (mapc #'insert-file-contents bib) (goto-char (point-min)) (if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" (regexp-quote entry-key) "[[:space:]]*,") nil t) (let ((entry-type (match-string 1))) (reverse (bibtex-completion-prepare-entry (parsebib-read-entry entry-type ... bibtex-completion-string-hash-table) nil do-not-find-pdf))) (progn (display-warning :warning (concat "Bibtex-completion couldn't find entry with key \"" entry-key "\".")) nil))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (mapc #'insert-file-contents bib) (goto-char (point-min)) (if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" (regexp-quote entry-key) "[[:space:]]*,") nil t) (let ((entry-type ...)) (reverse (bibtex-completion-prepare-entry ... nil do-not-find-pdf))) (progn (display-warning :warning (concat "Bibtex-completion couldn't find entry with key \"" entry-key "\".")) nil))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
(let ((bib (bibtex-completion-normalize-bibliography 'bibtex))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (mapc #'insert-file-contents bib) (goto-char (point-min)) (if (re-search-forward (concat "^[ \11]*@\\(" parsebib--bibtex-identifier "\\)[[:space:]]*[({][[:space:]]*" ... "[[:space:]]*,") nil t) (let (...) (reverse ...)) (progn (display-warning :warning ...) nil))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))))
bibtex-completion-get-entry1("brochier_macroeconomics_2017")
(let* ((entry (bibtex-completion-get-entry1 entry-key)) (crossref (bibtex-completion-get-value "crossref" entry)) (crossref (if crossref (progn (bibtex-completion-get-entry1 crossref))))) (bibtex-completion-remove-duplicated-fields (append entry crossref)))
bibtex-completion-get-entry("brochier_macroeconomics_2017")
(assoc "=key=" (bibtex-completion-get-entry key))
(if (string= key "*") t (assoc "=key=" (bibtex-completion-get-entry key)))
(lambda (key) (if (string= key "*") t (assoc "=key=" (bibtex-completion-get-entry key))))("brochier_macroeconomics_2017")
mapcar((lambda (key) (if (string= key "*") t (assoc "=key=" (bibtex-completion-get-entry key)))) ("brochier_macroeconomics_2017"))
(-every\? 'identity (mapcar #'(lambda (key) (if (string= key "*") t (assoc "=key=" (bibtex-completion-get-entry key)))) (split-string keys ",")))
(let ((bibtex-completion-bibliography (org-ref-find-bibliography))) (-every\? 'identity (mapcar #'(lambda (key) (if (string= key "*") t (assoc "=key=" (bibtex-completion-get-entry key)))) (split-string keys ","))))
(or (not org-ref-show-broken-links) (let ((bibtex-completion-bibliography (org-ref-find-bibliography))) (-every\? 'identity (mapcar #'(lambda (key) (if (string= key "*") t (assoc "=key=" ...))) (split-string keys ",")))))
(cond ((or (not org-ref-show-broken-links) (let ((bibtex-completion-bibliography (org-ref-find-bibliography))) (-every\? 'identity (mapcar #'(lambda ... ...) (split-string keys ","))))) 'org-ref-cite-face) (t 'font-lock-warning-face))
(progn (cond ((or (not org-ref-show-broken-links) (let ((bibtex-completion-bibliography (org-ref-find-bibliography))) (-every\? 'identity (mapcar #'... (split-string keys ","))))) 'org-ref-cite-face) (t 'font-lock-warning-face)))
(unwind-protect (progn (cond ((or (not org-ref-show-broken-links) (let ((bibtex-completion-bibliography ...)) (-every\? 'identity (mapcar ... ...)))) 'org-ref-cite-face) (t 'font-lock-warning-face))) (set-match-data save-match-data-internal 'evaporate))
(let ((save-match-data-internal (match-data))) (unwind-protect (progn (cond ((or (not org-ref-show-broken-links) (let (...) (-every\? ... ...))) 'org-ref-cite-face) (t 'font-lock-warning-face))) (set-match-data save-match-data-internal 'evaporate)))
org-ref-cite-link-face-fn("brochier_macroeconomics_2017")
org-activate-links(4177)
font-lock-fontify-keywords-region(1 4177 nil)
font-lock-default-fontify-region(1 4177 nil)
font-lock-fontify-region(1 4177 nil)
font-lock-default-fontify-buffer()
font-lock-fontify-buffer()
org-fancy-priorities-mode()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
org-export--prepare-file-contents("/HDD/PhD/Articles/SFC/Introduction.org" nil 0 2 1 # "/HDD/PhD/Articles/SFC/Petrini_Teixeira_2020_SFC.or...")
org-export-expand-include-keyword()
#f(compiled-function (backend &optional subtreep visible-only body-only ext-plist) "Transcode current Org buffer into BACKEND code.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end.\n\nIf narrowing is active in the current buffer, only transcode its\nnarrowed part.\n\nIf a region is active, transcode that region.\n\nWhen optional argument SUBTREEP is non-nil, transcode the\nsub-tree at point, extracting information from the headline\nproperties first.\n\nWhen optional argument VISIBLE-ONLY is non-nil, don't export\ncontents of hidden elements.\n\nWhen optional argument BODY-ONLY is non-nil, only return body\ncode, without surrounding template.\n\nOptional argument EXT-PLIST, when provided, is a property list\nwith external parameters overriding Org default settings, but\nstill inferior to file-local settings.\n\nReturn code as a string." #)(latex nil nil nil (:output-file "Petrini_Teixeira_2020_SFC.tex"))
apply(#f(compiled-function (backend &optional subtreep visible-only body-only ext-plist) "Transcode current Org buffer into BACKEND code.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end.\n\nIf narrowing is active in the current buffer, only transcode its\nnarrowed part.\n\nIf a region is active, transcode that region.\n\nWhen optional argument SUBTREEP is non-nil, transcode the\nsub-tree at point, extracting information from the headline\nproperties first.\n\nWhen optional argument VISIBLE-ONLY is non-nil, don't export\ncontents of hidden elements.\n\nWhen optional argument BODY-ONLY is non-nil, only return body\ncode, without surrounding template.\n\nOptional argument EXT-PLIST, when provided, is a property list\nwith external parameters overriding Org default settings, but\nstill inferior to file-local settings.\n\nReturn code as a string." #) (latex nil nil nil (:output-file "Petrini_Teixeira_2020_SFC.tex")))
(let ((old-async-init-file org-export-async-init-file) (org-export-async-init-file (make-temp-file "doom-org-async-export"))) (let ((temp-file org-export-async-init-file) (temp-buffer (generate-new-buffer " *temp file*"))) (unwind-protect (prog1 (save-current-buffer (set-buffer temp-buffer) (prin1 (list 'progn (list ... ... ... ... ...) (cons ... ...) (list ... org-export-async-init-file)) (current-buffer))) (save-current-buffer (set-buffer temp-buffer) (write-region nil nil temp-file nil 0))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))) (apply orig-fn args))
+org--fix-async-export-a(#f(compiled-function (backend &optional subtreep visible-only body-only ext-plist) "Transcode current Org buffer into BACKEND code.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end.\n\nIf narrowing is active in the current buffer, only transcode its\nnarrowed part.\n\nIf a region is active, transcode that region.\n\nWhen optional argument SUBTREEP is non-nil, transcode the\nsub-tree at point, extracting information from the headline\nproperties first.\n\nWhen optional argument VISIBLE-ONLY is non-nil, don't export\ncontents of hidden elements.\n\nWhen optional argument BODY-ONLY is non-nil, only return body\ncode, without surrounding template.\n\nOptional argument EXT-PLIST, when provided, is a property list\nwith external parameters overriding Org default settings, but\nstill inferior to file-local settings.\n\nReturn code as a string." #) latex nil nil nil (:output-file "Petrini_Teixeira_2020_SFC.tex"))
apply(+org--fix-async-export-a #f(compiled-function (backend &optional subtreep visible-only body-only ext-plist) "Transcode current Org buffer into BACKEND code.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end.\n\nIf narrowing is active in the current buffer, only transcode its\nnarrowed part.\n\nIf a region is active, transcode that region.\n\nWhen optional argument SUBTREEP is non-nil, transcode the\nsub-tree at point, extracting information from the headline\nproperties first.\n\nWhen optional argument VISIBLE-ONLY is non-nil, don't export\ncontents of hidden elements.\n\nWhen optional argument BODY-ONLY is non-nil, only return body\ncode, without surrounding template.\n\nOptional argument EXT-PLIST, when provided, is a property list\nwith external parameters overriding Org default settings, but\nstill inferior to file-local settings.\n\nReturn code as a string." #) (latex nil nil nil (:output-file "Petrini_Teixeira_2020_SFC.tex")))
org-export-as(latex nil nil nil (:output-file "Petrini_Teixeira_2020_SFC.tex"))
#f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #)(latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #))
apply(#f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) (latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #)))
(let (before-save-hook after-save-hook) (apply orig-fn args))
+org--dont-trigger-save-hooks-on-export-a(#f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #))
apply(+org--dont-trigger-save-hooks-on-export-a #f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) (latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #)))
#f(advice-wrapper :around #f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) +org--dont-trigger-save-hooks-on-export-a)(latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #))
apply(#f(advice-wrapper :around #f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) +org--dont-trigger-save-hooks-on-export-a) (latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #)))
(let ((old-async-init-file org-export-async-init-file) (org-export-async-init-file (make-temp-file "doom-org-async-export"))) (let ((temp-file org-export-async-init-file) (temp-buffer (generate-new-buffer " *temp file*"))) (unwind-protect (prog1 (save-current-buffer (set-buffer temp-buffer) (prin1 (list 'progn (list ... ... ... ... ...) (cons ... ...) (list ... org-export-async-init-file)) (current-buffer))) (save-current-buffer (set-buffer temp-buffer) (write-region nil nil temp-file nil 0))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))) (apply orig-fn args))
+org--fix-async-export-a(#f(advice-wrapper :around #f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) +org--dont-trigger-save-hooks-on-export-a) latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #))
apply(+org--fix-async-export-a #f(advice-wrapper :around #f(compiled-function (backend file &optional async subtreep visible-only body-only ext-plist post-process) "Call `org-export-as' with output to a specified file.\n\nBACKEND is either an export back-end, as returned by, e.g.,\n`org-export-create-backend', or a symbol referring to\na registered back-end. FILE is the name of the output file, as\na string.\n\nA non-nil optional argument ASYNC means the process should happen\nasynchronously. The resulting buffer will then be accessible\nthrough the `org-export-stack' interface.\n\nOptional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and\nEXT-PLIST are similar to those used in `org-export-as', which\nsee.\n\nOptional argument POST-PROCESS is called with FILE as its\nargument and happens asynchronously when ASYNC is non-nil. It\nhas to return a file name, or nil. Export back-ends can use this\nto send the output file through additional processing, e.g,\n\n (defun org-latex-export-to-latex\n (&optional async subtreep visible-only body-only ext-plist)\n (interactive)\n (let ((outfile (org-export-output-file-name \".tex\" subtreep)))\n (org-export-to-file \\='latex outfile\n async subtreep visible-only body-only ext-plist\n (lambda (file) (org-latex-compile file)))\n\nThe function returns either a file name returned by POST-PROCESS,\nor FILE." #) +org--dont-trigger-save-hooks-on-export-a) (latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #)))
org-export-to-file(latex "Petrini_Teixeira_2020_SFC.tex" nil nil nil nil nil #f(compiled-function (file) #))
org-latex-export-to-pdf(nil nil nil nil)
org-export-dispatch(nil)
funcall-interactively(org-export-dispatch nil)
call-interactively(org-export-dispatch nil nil)
command-execute(org-export-dispatch)
```
What did you expect to happen? ... org file export to other formats and fold headings
What actually happened? ... Message error:
File mode specification error: (wrong-type-argument hash-table-p nil)
Additional details:
Backtrace:
System information: