Thanks!

On December 26, 2016 5:28:56 PM GMT+01:00, Martin Blais <bl...@furius.ca> wrote:
>https://bitbucket.org/blais/beancount/issues/150/review-behaviour-of-options-and-plugins
>
>On Mon, Dec 26, 2016 at 2:51 AM, Stefano Zacchiroli <z...@upsilon.cc>
>wrote:
>
>> On Sun, Dec 25, 2016 at 02:35:08PM -0500, Martin Blais wrote:
>> > Tell me, how would you expect / like that the options and plugins
>> > directives be interpreted over multiple files?
>> > What seems to be a good behavior in your view?
>>
>> JFTR: I use a single "big ledger" file, so I don't personally suffer
>> from the problem of repeating plugins in multiple files. Still, from
>a
>> "ledger engineering" point of view, I'd love to have a single
>"include
>> plugins.beancount" directive somewhere.
>>
>> Answering your question, as a user I'd love "include" to be
>completely
>> transparent. That is: the behavior of beancount on a file that
>contains
>> one or more "include" lines should be exactly the same of beancount
>> called on a different file where all includes have been
>(transitively)
>> resolved inlining the content(s) of the referenced file(s).
>>
>> I'd be totally fine if, to achieve this, you'll end up imposing
>> draconian restrictions such as: "all 'plugin' and/or 'option'
>directives
>> must appear at the beginning of the file obtained after resolving all
>> 'include' directives".
>>
>> I do realize that this might entail implementing a two-stage parsing
>of
>> sort, which might be annoying. But you asked about my favorite
>behavior,
>> and that would be it :)
>>
>> Cheers.
>> --
>> Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o
>. o
>> Computer Science Professor . CTO Software Heritage . . . . . o . . .
>o o
>> Former Debian Project Leader . OSI Board Director  . . . o o o . . .
>o .
>> « the first rule of tautology club is the first rule of tautology
>club »
>>
>> --
>> You received this message because you are subscribed to the Google
>Groups
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it,
>send an
>> email to beancount+unsubscr...@googlegroups.com.
>> To post to this group, send email to beancount@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/beancount/20161226075138.slac6l52pkvrnrij%40upsilon.cc.
>> For more options, visit https://groups.google.com/d/optout.
>>

-- 
Sent from my mobile phone. Please excuse my brevity and top-posting.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/087DE8D7-29E9-4D4F-985A-B83B40E8989F%40upsilon.cc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to