Catching up on this thread. I think I've commented before on posting-level comments, I like the idea though I've never needed it myself, but it would require new syntax, since comments are... well comments and will always be stripped. I think ideally this is something that would - Use the same syntax for transaction level and posting levels - The new syntax should also solve the problem of payee vs. narration ambiguity (one string vs. two strings... not great). - Finally, the idea of coercing a set of pre-declared payees might be also in line with this change.
e.g. 2012-01-01 * ~"payee" "narration" Assets:Bank:Checking 100.00 USD "posting level narration" ... Something like this. If this is made free-form again (i.e., not using quotes) both syntaxes should be distinct from comments. Whatever is done, should also be backward compatible. So I don't know. In any case, this is a matter for a big change, so v3 or beyond for sure. In the meantime, use metadata. On Sun, Sep 6, 2020 at 8:59 AM Mefju <[email protected]> wrote: > On Sat, Sep 5, 2020 at 11:39 PM K O'Neill <[email protected]> wrote: > >> *Thanks for the help. So I guess the first step is defining my metadata >> key pn for post-narrations.* > > > You do not need to define, just start using it. > > >> *Then the next step would be to see if a plugin can be written to parse >> strings that come after the amounts and insert them into the pn metadata >> automatically. I don't believe such a plugin exists already. I've found >> various plugins here and there but no centralized directory of user plugins >> to confirm this. I hope that the plugin can suppress Parser errors.* >> > > It will be hard, since comments are dropped during the parsing phase by > design. > I suggest filling the pn metadata manually. It is much easier than > pre-processing a beancount file... > > For example with "comment" metadata: > > 2020-04-29 * "Bauhaus" > Expenses:House 5,000.00 HUF > comment:"Cutter" > Expenses:House 2,000.00 HUF > comment:"Strings" > Expenses:House 1,000.00 HUF > comment:"Duct tape" > Assets:Bank -8,000.00 HUF > > I still hope that eventually Beancount will be able to parse posting and > transaction comments and put it into metadata, so I could use the following > with the same meaning: > > 2020-04-29 * "Bauhaus" > Expenses:House 5,000.00 HUF ; Cutter > Expenses:House 2,000.00 HUF ; Strings > Expenses:House 1,000.00 HUF ; Duct tape > Assets:Bank -8,000.00 HUF > > Mefju. > (Farkas Máté) > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CABOOhz9r7OZyHFhtxbEqZ2U9aHn0m-Uz1QqzXShpv8xt6p8fYA%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CABOOhz9r7OZyHFhtxbEqZ2U9aHn0m-Uz1QqzXShpv8xt6p8fYA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhN5oYt%3DL5m32hgmBLwwb%3DN5Fu3fKdGBxhytPtkmKd8oAA%40mail.gmail.com.
