emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kyle Meyer <kyle@kyleam.com>
Cc: 28999-close@debbugs.gnu.org, Michel Damiens <michel.damiens@gmail.com>
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	[thread overview]
Message-ID: <87h8t7bx98.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87zi8f2jni.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 25 Oct 2017 13:59:29 -0400")

Hello,

Kyle Meyer <kyle@kyleam.com> writes:

> Michel Damiens <michel.damiens@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

      reply	other threads:[~2017-12-03 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87a80fnon9.fsf@gmail.com>
2017-10-25 17:59 ` bug#28999: 25.3.50; org export : exclude-tags not working with org-export-filter-options-functions Kyle Meyer
2017-12-03 16:18   ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8t7bx98.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=28999-close@debbugs.gnu.org \
    --cc=kyle@kyleam.com \
    --cc=michel.damiens@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).