Re: Significance of lot tags

2011-11-30 Thread Martin Michlmayr
* Craig Earls ender...@gmail.com [2011-11-30 13:15]: Let me take a crack at this one. Assuming you are using V3 of ledger, you actually did not assign any tags to those postings. No, but I assigned lot tags, see the option --lot-tags You assigned three different commodities. Well, this is

Re: Significance of lot tags

2011-11-30 Thread Craig Earls
I haven't used lot-tags, and I haven't traced them out through the source to document them yet, so I may be off here. However, I think the --lot-tags option only works if you have assigned meta tags to the postings. From a Journal syntax perspective, you have three separate commodities GBP, GBP

Re: Significance of lot tags

2011-11-30 Thread John Wiegley
Martin Michlmayr tbm-r+vwnyxsfmfqt0dzr+a...@public.gmane.org writes: Well, this is the question I was trying to ask: are commodities with lot tags different commodities or not? My belief so far was that they are *not* different commodities (i.e. the lot tags are just some meta info), but the

Re: Significance of lot tags

2011-11-30 Thread Craig Earls
Thanks John, Does the entire commodity have to be surround by parens? When does ledger distinguish between two lots of the same commodity and two different commodities? In other words: GBP (test) GBP (abc) (GBP test) Would strip() see 1, 2, or 3 commodities in that bunch? On Wed, Nov 30,

Re: Significance of lot tags

2011-11-30 Thread John Wiegley
Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org writes: Does the entire commodity have to be surround by parens? When does ledger distinguish between two lots of the same commodity and two different commodities? No, only the tag is surrounded by parens. The full syntax is:

Re: Significance of lot tags

2011-11-30 Thread Craig Earls
Cool! I was completely wrong, which means I learned more! I'll play with this and get it int the docs. On Wed, Nov 30, 2011 at 15:39, John Wiegley jwieg...@gmail.com wrote: Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org writes: Does the entire commodity have to be surround by