[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] using info in a filter

From: John Kitchin
Subject: Re: [O] using info in a filter
Date: Wed, 30 Mar 2016 14:33:38 -0400
User-agent: mu4e 0.9.16; emacs

ok, thanks.

Nicolas Goaziou writes:

> Hello,
> John Kitchin <address@hidden> writes:
>> How does one use the info in a filter?
>> e.g.
>> in (defun my-block-filter (data backend info))
>> data is the transcoded block string, and I want to add something to it
>> based on say the type of block, name and header of the corresponding
>> block. Is it possible to get to that from the info? Or is this a case
>> where it is easier to make a custom backend with a function like:
>> (defun sb-format (sb contents info)) that builds up the output string?
> Purpose for INFO in filters is to give access to export options. You
> cannot have easily access to the element being exported.
> Another option is to use a parse tree filter, or as you suggest,
> a custom back-end.
> Regards,

Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

reply via email to

[Prev in Thread] Current Thread [Next in Thread]