all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org, Charles Berry <ccberry@ucsd.edu>
Subject: Re: Filters not working
Date: Sat, 10 Aug 2013 09:46:04 +0200	[thread overview]
Message-ID: <87siyim1j7.fsf@gmail.com> (raw)
In-Reply-To: <m18v0a36n3.fsf@poto.myhome.westell.com> (Thomas S. Dye's message of "Fri, 09 Aug 2013 11:18:24 -1000")

Hello,

tsd@tsdye.com (Thomas S. Dye) writes:

> Charles Berry <ccberry@ucsd.edu> writes:
>
>> The changes introduced in commit
>>
>>   cea0434c4f7f7f1fc1547e6790b96a76bc217e15
>>   ox: Change back-ends internal representation to structures
>>
>> necessitate extracting the name of the back-end from a vector.
>>
>> So, this bit of code 
>>
>>      (memq backend '(beamer latex)) 
>>
>> will never return t, because backend is a vector.
>>
>> Probably what you want is 
>>
>>      (memq (org-export-backend-name backend) '(latex beamer))
>
> Yes, got it now.

Actually, I didn't mean to introduce a type change in filter arguments.

I fixed it: BACKEND is again a symbol. `org-export-derived-backend-p'
still works, and so does `memq'.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-08-10  7:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 17:37 Filters not working Thomas S. Dye
2013-08-09 18:29 ` Charles Berry
2013-08-09 19:39   ` Thomas S. Dye
2013-08-09 20:30     ` Aaron Ecay
2013-08-09 21:16       ` Thomas S. Dye
2013-08-09 20:52     ` Charles Berry
2013-08-09 21:18       ` Thomas S. Dye
2013-08-10  7:46         ` Nicolas Goaziou [this message]
2013-08-10 16:34           ` Thomas S. Dye

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

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

  git send-email \
    --in-reply-to=87siyim1j7.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.