Re: Ledger-mode reconcile: space bar not working

2022-08-30 Thread Alan
Take a look at this , and see the 
section on "Making the most of RET and SPC" (easy) or "Overriding and 
intercept keymaps".

On Monday, May 23, 2022 at 2:48:25 PM UTC-7 Pete Kelly wrote:

> Somewhat solved. The spacebar was bound to an evil mode command to move 
> forward one character. I switched from Emacs mode to evil mode with CTRL-Z 
> and now the spacebar is bound correctly to 'ledger-reconcile-toggle.'
>
> Should I put something in my .emacs to disable evil mode in the 
> ledger-mode reconcile buffer? What's the right way to do it?
>
> Thank you,
> Pete
>
> On Monday, May 23, 2022 at 2:35:54 PM UTC-4 Pete Kelly wrote:
>
>> My first time trying to reconcile an account using ledger-mode. I put the 
>> cursor on the account to be reconciled, for example,
>>
>> 2022-01-01 Stop & Shop
>>  Expenses:Groceries   $50
>>  Assets:Checking <--- CURSOR ON THIS LINE
>>
>> then start reconciliation with C-c C-r. The account 'Assets:Checking' is 
>> displayed in the minibuffer, I press Enter. The Reconcile buffer appears. I 
>> enter the target balance and the cursor appears at the top of the Reconcile 
>> buffer When I move the cursor to a transaction and press the space bar to 
>> clear it, nothing happens, except that the cursor moves to the right one 
>> space.
>>
>> My Emacs version is 27.2 on MacOS High Sierra
>>
>> Probably just a beginner mistake on my part, but I can't solve it.
>>
>> Thank you for any help,
>> Pete
>>
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/4e13bade-5ff4-4b93-b5d5-b7e7292b19e8n%40googlegroups.com.


Re: is this a bug?

2022-08-30 Thread Lipp F.
Thanks John. I am wondering if you can be more specific. I have tried to
add -G to "ledger reg" and it throws an error - "Error: Cannot add a
sequence to an integer"

I am looking to get a list with account values, it could be either balance
or gain, for a period of time. Is there any way to do that?

On Tue, Aug 30, 2022 at 2:37 PM John Wiegley  wrote:

> > "lf" == lipp f  writes:
>
> lf> Those are investment / trading accounts and, although there are no
> always
> lf> transactions for the last day, the value of the accounts always change
> due
> lf> to daily changes for prices of securities held. There are daily
> entries in
> lf> the pricedb for all securities.
>
> In that case you may want to add -G for the gain/loss report, since that
> generates "daily positions adjustments" beyond the last entry in the
> ledger.
>
> John
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAG-zHX7%3D7JPVfOcxkQ4swYa8k4aE4Pz%2B6hEAoYVfrRPrN5ajNg%40mail.gmail.com.


Re: is this a bug?

2022-08-30 Thread John Wiegley
> "lf" == lipp f  writes:

lf> Those are investment / trading accounts and, although there are no always
lf> transactions for the last day, the value of the accounts always change due
lf> to daily changes for prices of securities held. There are daily entries in
lf> the pricedb for all securities.

In that case you may want to add -G for the gain/loss report, since that
generates "daily positions adjustments" beyond the last entry in the ledger.

John

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2zgfl60ij.fsf%40newartisans.com.


Re: is this a bug?

2022-08-30 Thread lipp f
Those are investment / trading accounts and, although there are no always 
transactions for the last day, the value of the accounts  always change due 
to daily changes for prices of securities held. There are daily entries in 
the pricedb for all securities.



On Tuesday, August 30, 2022 at 11:42:32 AM UTC-4 jwie...@gmail.com wrote:

> > "lf" == lipp f  writes:
>
> lf> "ledger reg" command is missing records at the end. I am running these 
> on
> lf> Aug 31. For acc1 the last row is 2022-08-21 (2 weeks missing) and for 
> acc2
> lf> the last row is 2022-07-03 (9 weeks missing). Is this a bug? Any
> lf> workaround?
>
> And you have transactions related to account acc1 in your file beyond
> 2022-08-21?
>
> John
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/f7560da9-bcc8-4cf1-99f0-bcdfa74d3512n%40googlegroups.com.


Re: is this a bug?

2022-08-30 Thread John Wiegley
> "lf" == lipp f  writes:

lf> "ledger reg" command is missing records at the end. I am running these on
lf> Aug 31. For acc1 the last row is 2022-08-21 (2 weeks missing) and for acc2
lf> the last row is 2022-07-03 (9 weeks missing). Is this a bug? Any
lf> workaround?

And you have transactions related to account acc1 in your file beyond
2022-08-21?

John

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2v8q9eo0u.fsf%40newartisans.com.


is this a bug?

2022-08-30 Thread lipp f
"ledger  reg" command is missing records at the end. I am running these on 
Aug 31. For acc1 the last  row is 2022-08-21 (2 weeks missing) and for  
acc2 the last  row is  2022-07-03   (9 weeks missing). Is this a bug? Any 
workaround?

$ ledger -J -X USD -V -M --collapse reg acc1

2020-03-01 3.2250856547
2020-03-08 12.7704218218652774763
2020-03-15 26.18540631567
2020-03-22 36.3850603442
..
2022-08-07 34043.6595879335223997432
2022-08-14 33566.2372724361028684014
2022-08-21 29085.177419898814
2022-08-21 29143.673327103207785134

$ ledger -J -X USD -V -M --collapse reg acc2

2020-09-06 -67.5034127105
2020-09-13 -88.70350586078
2020-09-20 -57.70738591814
2020-09-27 -44.918500714
...
2022-06-26 5658.840091886942
2022-06-26 5676.8992906700606888
2022-07-03 6501.099703264095
2022-07-03 6587.0297032640949555

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/738d13f0-7cb6-4f9e-aa7c-0ba5fd49f0a2n%40googlegroups.com.