On Fri, Sep 05, 2014 at 12:05:34AM +0200, Olaf Conradi wrote: > The output is correct in all cases. See explanations below.
To clarify, I was not pointing out any particular bug in the *implementation* of Ledger-CLI; I understand why it does what it does. But I do think that it is confusing behavior and I'm trying to verify whether there is agreement among Ledger users that it could be improved upon (at the price of departing from the current semantics). > Narrative is payee unless overridden by a metatag on the transaction. > If you moved the payee metatag below the first posting it should match > because in that case the payee "baz" is only set on the first posting, > while the second posting will keep the narrative payee "qux": Right. However, I think it makes perfect sense for a transaction to have a payee tag (as opposed to individual postings having payees, which is useful in other use cases), and I don't see why using such a tag should make unusable the transaction description (or narrative, or whatever, no matter what you use that line for). > Not that I know of. Payee and narrative are really the same thing. I beg to disagree. At a conceptual level they are very different information. The payee is the entity you gave money to (or get money from, in some interpretations) and is usually something that tend to recur in your ledger (e.g. Safe Way, Whole Foods, Enron, etc.). OTOH the narrative is a open-ended description of the specific details of a transaction (e.g. "grocery for holidays in the Yellowstone Park", "weekly grocery", "fuel for work trip to San Francisco", etc.). Conflating them into a single bucket of information has drawbacks, as I believe my examples show. (YMMV, of course.) Cheers. -- Stefano Zacchiroli . . . . . . . [email protected] . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Former Debian Project Leader . . @zack on identi.ca . . 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 "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
