GNU bug report logs - #28999
25.3.50; org export : exclude-tags not working with org-export-filter-options-functions

Previous Next

Package: org-mode;

Reported by: Michel Damiens <michel.damiens <at> gmail.com>

Date: Wed, 25 Oct 2017 17:07:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 28999-close <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Kyle Meyer <kyle <at> kyleam.com>
Cc: 28999-close <at> debbugs.gnu.org, Michel Damiens <michel.damiens <at> gmail.com>
Subject: Re: 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
Hello,

Kyle Meyer <kyle <at> kyleam.com> writes:

> Michel Damiens <michel.damiens <at> gmail.com> 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




This bug report was last modified 7 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.