From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#28999: 25.3.50; org export : exclude-tags not working with org-export-filter-options-functions Date: Sun, 03 Dec 2017 17:18:43 +0100 Message-ID: <87h8t7bx98.fsf@nicolasgoaziou.fr> References: <87a80fnon9.fsf@gmail.com> <87zi8f2jni.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLWyx-000320-Ca for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 11:19:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLWyt-00032j-Di for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLWyt-00032d-A0 for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 11:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLWyt-0008Kr-4b for emacs-orgmode@gnu.org; Sun, 03 Dec 2017 11:19:03 -0500 Sender: "Debbugs-submit" Resent-To: emacs-orgmode@gnu.org Resent-Message-ID: In-Reply-To: <87zi8f2jni.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 25 Oct 2017 13:59:29 -0400") 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" To: Kyle Meyer Cc: 28999-close@debbugs.gnu.org, Michel Damiens Hello, Kyle Meyer writes: > Michel Damiens writes: > >> Adding : >> >> (defun my-org-export-change-options (plist backend) >> (cond >> ((equal backend 'html) >> (plist-put plist :exclude-tags "NOHTML") >> (plist-put plist :select-tags "HTML")) >> ((equal backend 'latex) >> (plist-put plist :exclude-tags "NOLATEX") >> (plist-put plist :select-tags "LATEX"))) >> plist) >> >> (add-to-list 'org-export-filter-options-functions >> 'my-org-export-change-options) >> >> to my init.el file doesn't work : headers with NOHTML tag are exported >> to html, using the export dispatcher (C-c C-e h H) > > Shouldn't the values should be a list of strings rather than a single > string? (Is this something that used to work for you?) I agree. This looks like a user error. I'm closing this bug report. Michel, do not hesitate to open a new one if you think the issue is still there. Thank you! Regards, -- Nicolas Goaziou 0x80A93738