And I see now that it's only top line and before line item comments that
get attached to all items, and trailing comments are attached just to the
preceding item, which makes sense and is great.
2018/07/04 something ; top line
; next line
e: a thing $30
; belongs to a thing
e: another thing $20
; belongs to another thing
; fu: bar
; sna: fu
a: cash $-50
Comes out as:
"2018/07/04","","something","e: a thing","$","30",""," belongs to a thing
top line\n next line"
"2018/07/04","","something","e: another thing","$","20",""," belongs to
another thing\n fu: bar\n sna: fu top line\n next line"
"2018/07/04","","something","a: cash","$","-50",""," top line\n next line"
Which makes sense and I'm much happier to better understand ledger's
comments now.
On Wednesday, July 4, 2018 at 10:31:22 AM UTC-5, Scott Carpenter wrote:
>
> That's awesome! Thank you, Martin!
>
> I had noticed recently while experimenting with csv exports that comments
> on a line by themselves get glommed with other entries so that would have
> inclined me not to think of those as applying to the previous line. And I
> wouldn't have thought of this in any case, so thanks again. :-)
>
> Scott
>
> On Wednesday, July 4, 2018 at 10:19:13 AM UTC-5, Martin Michlmayr wrote:
>>
>> * Scott Carpenter <[email protected]> [2018-07-04 06:36]:
>> > I suspect the answer to this is "no," but: can you have multiple
>> metadata
>> > values for a line item?
>>
>> Yes, but they have to be on separate lines:
>>
>> 2018/07/04 something
>> e: something
>> ; fu: bar
>> ; sna: fu
>> a: cash $-50
>>
>> --
>> Martin Michlmayr
>> https://www.cyrius.com/
>>
>
--
---
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.