Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:

> So, maybe we should include
> '(require ox-latex)
> in pcomplete to get the LaTeX keywords

I do not think so.
If we were to do it, we would also need to load all other export
backends. And that would entitle loading all export backends on startup.
Startup is already way too slow.

> ... or a *new*
> #+STARTUP: latex
> to load ox-latex, right?

#+STARTUP: beamer is there to automatically load org-beamer-mode.
Imaginary #+STARTUP: latex would not be equivalent - there is no such
thing as org-latex-mode.

And I generally do not feel like it is a good idea to overload #+STARTUP
even further.

Maybe we can implement some kind of autoloading mechanism for completion
akin `help-enable-autoload'. That would be cleaner. Patches would be welcome.

-- 
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>

Reply via email to