Re: ledger.el *very* slow to load account names

2018-04-14 Thread Clément Pit-Claudel
On 2018-04-13 20:44, John Rakestraw wrote> Thanks for this code, Clément. > > It makes the search for account names *much* faster. However, commit > 24b43e34dd34de23e54d7ddaa2a147efda6af03d is still better for me. The > account searches on my ledger are slightly (but only very slightly) > faster w

Re: ledger.el *very* slow to load account names

2018-04-14 Thread Clément Pit-Claudel
On 2018-04-13 02:49, Alan Schmitt wrote: >> This patches ledger-accounts-list-in-buffer to use a linear-time >> deduplication (rather than quadratic). > > Thanks a lot! Completion is now as fast as before. Thanks for testing; I've pushed the patch. -- --- You received this message because you

Deposit money to be cleared at a later point in time

2018-04-14 Thread Johann Höchtl
Hi, one bigger problem is that language semantics at times makes it really hard to properly understand the ledger manual https://www.ledger-cli.org/3.0/doc/ledger3.html so I may ask a totally obvious question. Suppose I buy sthg. but delivery takes time. So I have to make a "pre-payment" ? /

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread Craig Earls
"If it makes sense to you, than that is what you should do." I should put that in the manual. On Sat, Apr 14, 2018 at 11:24 AM, Johann Höchtl wrote: > Hi, > > one bigger problem is that language semantics at times makes it really > hard to properly understand the ledger manual > https://www.l

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread Taylor R Campbell
> Date: Sat, 14 Apr 2018 11:24:58 -0700 (PDT) > From: Johann Höchtl > > Suppose I buy sthg. but delivery takes time. So I have to make a > "pre-payment" ? / is this the same as a deposit? How would I structure that > in ledger? > > Instead of > > 2018-01-04 * TV set pre-paymant > Expenses:E

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread Taylor R Campbell
> Date: Sat, 14 Apr 2018 19:21:03 + > From: Taylor R Campbell > > > Date: Sat, 14 Apr 2018 11:24:58 -0700 (PDT) > > From: Johann Höchtl > > > > 2018-02-04 * TV set delivery > > Deposit:Electronics $250 > > Assets:Banking -$250 > > Expenses:Electronics > > Deposit:Electronics = $

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread Johann Höchtl
On 2018-04-14 21:25, Taylor R Campbell wrote: Date: Sat, 14 Apr 2018 19:21:03 + From: Taylor R Campbell Date: Sat, 14 Apr 2018 11:24:58 -0700 (PDT) From: Johann Höchtl 2018-02-04 * TV set delivery Deposit:Electronics $250 Assets:Banking -$250 Expenses:Electronics Deposit:

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread Klauss Hass
You could also use effective dates for that: 2018-01-04 TV Set purchase Expenses:Electronics. $1050 * Assets:Banking -$800 ; [=2018-01-04] ! Assets:Banking -$250 ; [=2018-02-04] > On 14 Apr 2018, at 15:24, Johann Höchtl wrote: > > Hi, > > one bigger problem is tha

register report links to entries in ledger

2018-04-14 Thread John Rakestraw
Hi, folks -- Before I file an issue report in ledger-mode, I'm hoping someone can confirm that this is actually a bug instead of a feature change. In earlier versions of ledger-mode (at least as late as the Sept 7 commit on github), entries in a register report link back to the corresponding e

Re: register report links to entries in ledger

2018-04-14 Thread Clément Pit-Claudel
On 2018-04-14 17:39, John Rakestraw wrote: > Is this a deliberate change in the code? If so, is there some way to get > something like the earlier behavior? Definitely a bug, assuming that you do have ledger-report-links-in-register set to t, which is the default. Quite possibly introduced (sur

Re: Deposit money to be cleared at a later point in time

2018-04-14 Thread o1bigtenor
On Sat, Apr 14, 2018 at 2:45 PM, Johann Höchtl wrote: > > > On 2018-04-14 21:25, Taylor R Campbell wrote: > >> Date: Sat, 14 Apr 2018 19:21:03 + >>> From: Taylor R Campbell >>> >>> Date: Sat, 14 Apr 2018 11:24:58 -0700 (PDT) From: Johann Höchtl 2018-02-04 * TV set delivery >>