From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Redshank gets loaded when exporting ELisp code blocks to HTML!? Date: Mon, 07 Apr 2014 17:37:55 +0200 Message-ID: <87wqf1i20c.fsf@gmail.com> References: <86fvlpryql.fsf@somewhere.org> <874n25jh3t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXBcW-00088d-RI for emacs-orgmode@gnu.org; Mon, 07 Apr 2014 11:38:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXBcN-0004Px-Sm for emacs-orgmode@gnu.org; Mon, 07 Apr 2014 11:38:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:54144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXBcN-0004Pq-LE for emacs-orgmode@gnu.org; Mon, 07 Apr 2014 11:37:51 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WXBcL-0000HH-2s for emacs-orgmode@gnu.org; Mon, 07 Apr 2014 17:37:49 +0200 In-Reply-To: <874n25jh3t.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 07 Apr 2014 17:26:30 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org 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. See `org-html-final-function'. When the major mode > switch happens, all associated minor modes are installed. Err, I'm wide of the mark. Sacha is right. Regards, -- Nicolas Goaziou