From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org export customization: why do #+EXCLUDE_TAGS: settings have no effect? Date: Wed, 11 Nov 2015 22:06:19 +0100 Message-ID: <871tbw8cvo.fsf@nicolasgoaziou.fr> References: <87pozhv5if.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwcZH-0003BU-2O for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 16:04:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwcZF-0001jp-UX for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 16:04:34 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:43452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwcZF-0001jh-Ns for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 16:04:33 -0500 In-Reply-To: (Martin Steffen's message of "Wed, 11 Nov 2015 08:15:06 +0100") 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: Martin Steffen Cc: emacs-orgmode@gnu.org Martin Steffen writes: > For your small example (exporting to latex) I get > > \begin{itemize} > \item H1 :private: > \item H2 > \end{itemize} Then something may be wrong with `org-export-headline-levels', or `org-latex-classes' in your config. > What is strange though: the emacs-variable org-export-headline-levels > does not change when doing that, expect that I would have expected that > refreshing the buffer would do exactly that: update that variable and > thereby influencing the sectioning-levels: > > --------------------- > org-export-headline-levels is a variable defined in `ox.el'. > Its value is 3 > ... > This option can also be set with the OPTIONS keyword, > e.g. "H:2". > --------------------- ox-beamer uses this option item for something else, `org-beamer-frame-level'. IOW `org-export-headline-levels' has no effect during Beamer export. > I did not to comprehensive experiments which #+OPTIONS work or work > strangely, I just noticed that H:3 etc ``work'' (but I don't know why), > whereas the #EXCLUDE_TAGS do ``not work'' when refreshing the > buffer. For instance in that simple example you provided. Did you try with emacs -Q? Regards,