Pedro Andres Aranda Gutierrez <[email protected]> writes: > Then I open an org document which I intend to export to LATEX and try to > autocomplete > #+LAT > but get no completion suggestions.
The patch does not handle this situation. It only improves completion for #+OPTIONS I installed the patch on main, as it is still an improvement. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b280b73d5 Applied, onto main. Supporting all the per-backends keywords will be much more tricky. We will need some other form of autoloading. > The compilation of the patched org is full of warnings: > > In org-html--math-environment-p: > ox-html.el:3100:19: Warning: reference to free variable > ‘org-latex-math-environments-re’ > In end of data: > ox-html.el:3391:32: Warning: the function ‘org-latex--environment-type’ is > not known to be defined. > In end of data: > ox-man.el:1144:9: Warning: the function ‘org-latex-compile’ is not known to > be defined. > In org-org-publish-to-org: > ox-org.el:347:38: Warning: reference to free variable ‘org-html-extension’ > In end of data: > ox-org.el:340:4: Warning: the function ‘org-publish-org-to’ is not known to > be defined. > In end of data: > ox-texinfo.el:2059:4: Warning: the function ‘org-publish-org-to’ is not > known to be defined. Those are valid warnings revealed by the commit as unexpected side effect. Addressed in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2a2d40a19 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
