Re: [O] Redshank gets loaded when exporting ELisp code blocks to HTML!?

2014-05-02 Thread Sebastien Vauban
Hello Sacha and Nicolas, Answering after a (too) long time with very intermittent Internet access... Sacha Chua wrote: > Sebastien Vauban writes: > >> Why are Emacs Lisp minor modes loaded for exporting the Org document >> to HTML? If not necessary, this seems suboptimal (performance-wise). > >

Re: [O] Redshank gets loaded when exporting ELisp code blocks to HTML!?

2014-04-07 Thread Nicolas Goaziou
Nicolas Goaziou writes: Correcting myself, > Sebastien Vauban > writes: > >> What I don't understand is: >> >> Why are Emacs Lisp minor modes loaded for exporting >> the Org document to HTML? > > As a final filter, `set-auto-mode' is called in order to indent the > buffer properly. Se

Re: [O] Redshank gets loaded when exporting ELisp code blocks to HTML!?

2014-04-07 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > What I don't understand is: > > Why are Emacs Lisp minor modes loaded for exporting > the Org document to HTML? As a final filter, `set-auto-mode' is called in order to indent the buffer properly. See `org-html-final-function'. When the major mode swi

Re: [O] Redshank gets loaded when exporting ELisp code blocks to HTML!?

2014-04-07 Thread Sacha Chua
Sebastien Vauban writes: Hello, Sebastien! > Why are Emacs Lisp minor modes loaded for exporting > the Org document to HTML? > If not necessary, this seems suboptimal (performance-wise). org-export-format-source-code-or-example loads the mode associated with the language in org-src-lang