From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Steffen Subject: Re: org export customization: why do #+EXCLUDE_TAGS: settings have no effect? Date: Wed, 11 Nov 2015 08:15:06 +0100 Message-ID: References: <87pozhv5if.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwPcn-0004DY-Pv for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 02:15:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwPcg-00024n-K2 for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 02:15:21 -0500 Received: from mail-out5.uio.no ([2001:700:100:10::17]:59245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwPcg-00023w-Cb for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 02:15:14 -0500 Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from ) id 1ZwPce-00079k-4S for emacs-orgmode@gnu.org; Wed, 11 Nov 2015 08:15:12 +0100 In-Reply-To: <87pozhv5if.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 10 Nov 2015 23:44:40 +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: emacs-orgmode@gnu.org Thanks, For your small example (exporting to latex) I get \begin{itemize} \item H1 :private: \item H2 \end{itemize} (apart from the preamble etc). What is also weird: If I add the ``standard'' vanilla template (via C-c C-e # beamer), then - 1) some option settings like H:2 vs H:3 /are/ working. - 2) variable org-export-headline-levels does not change By "working" I mean: if I change the #+OPTIONS: H:2 to H:3, refresh the emacs-buffer wrt. org's settings, and export the output (concretetely I did beamer/latex). Now changing the section-level head /does change/ the beamer-latex output the way I'd expect (i.e., it influences the sectioning level). 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". --------------------- 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. Martin >>>>> "Nicolas" =3D=3D Nicolas Goaziou writes: Nicolas> Hello, Nicolas> Martin Steffen writes: >> Now: when I want to /customize/ that in the org-file itself, it >> seems that's done by doing something like >>=20 >>=20 >> #+EXCLUDE_TAGS: private Nicolas> [...] >> Anyhow: having such a specification in the org-file seems to have >> /no effect/, even if I "refresh" the org-file, nor does it work >> when I visit the file for the first time. It seems simply not to >> affect the said variable "org-export-exclude-tags" Nicolas> I cannot reproduce your issue. With the following buffer Nicolas> #+EXCLUDE_TAGS: private * H1 :private: * H2 Nicolas> I get Nicolas> 1 H2 =E2=95=90=E2=95=90=E2=95=90=E2=95=90 Nicolas> when I export to, e.g., UTF-8. Nicolas> Regards, Nicolas> -- Nicolas Goaziou