Re: Ledger Mode bugs from John Rakestraw
Le mardi 12 février 2013 03:40:15 UTC+1, Craig Earls a écrit : 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? This use case is too simple for me, as I often have one transaction with several postings (more than two). So I do not expect any automation like if one posting is cleared, then all others posting should be cleared. And about the question how do you use clearing, my way of using as not yet been cited, it so I described it : - I manually clear Assets and Liabilities account (by checking my paper from the bank) - I more or less automate (I mean I clear without thinking) Expenses and Revenues postings. - I do not clear at transaction level, always at posting level, and I let emacs ledger mode reconcile at transaction level when last posting is cleared. Thierry -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
I wimped out. I decided that I like clearing entire transactions. So this no longer bothers me. When those of you who like clearing single postings and leaving transactions permanently heterogeneous (John uses that in the code!) decide what you want please let me know. On Wed, Feb 13, 2013 at 4:15 PM, Paul Lathrop p...@tertiusfamily.net wrote: SKYNET! I would color transactions with one-or-more cleared sub-items as cleared. I'm sure someone else will disagree :-) Other possibility is to have three transaction states: no sub-items cleared, some sub-items cleared, all sub-items cleared. --Paul On Tue, Feb 12, 2013 at 5:09 AM, Craig Earls ender...@gmail.com wrote: So this idea will break the current current color highlighting scheme since it detects cleared transactions based on their overall status. Any ideas that don't require me to make the ledger-mode human level intelligent? On Mon, Feb 11, 2013 at 9:35 PM, Douglas Philips douglas.phil...@gmail.com wrote: On 2/11/13 7:40 PM, Craig Earls wrote: So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? When I have the item 'in hand'. For stuff bought in person/brick-n-mortar, it's right away. If it is something I mail ordered or eBay/Amazon ordered (or even ordered for PDF book download), then I clear it when I have the goods in hand. If it is: 2013/01/01 (2245) Pay Bill Liabilities:Credit Card:Discover $100 Assets:Checking then I clear each line separately when I reconcile each statement. -=Doug -- --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
So this idea will break the current current color highlighting scheme since it detects cleared transactions based on their overall status. Any ideas that don't require me to make the ledger-mode human level intelligent? On Mon, Feb 11, 2013 at 9:35 PM, Douglas Philips douglas.phil...@gmail.com wrote: On 2/11/13 7:40 PM, Craig Earls wrote: So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? When I have the item 'in hand'. For stuff bought in person/brick-n-mortar, it's right away. If it is something I mail ordered or eBay/Amazon ordered (or even ordered for PDF book download), then I clear it when I have the goods in hand. If it is: 2013/01/01 (2245) Pay Bill Liabilities:Credit Card:Discover $100 Assets:Checking then I clear each line separately when I reconcile each statement. -=Doug -- --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Thierry, Thanks for pointing out the solarize them. I very much like it better than what I was using and have adopted it in ledger-mode. Also, thank you for taking the time to test out the new-ledger mode. I need to spend some time writing tests so that I can push out changes without breaking things. As far as reconciling, I am working on bringing the pending state back. It was simpler to get some of the new major functions in with it disabled. I do have one concern about the way you would like reconcile-finish to work. Maybe I am misunderstanding something. I use pending to indicate that a transaction has not yet completed in the real world. It does not reflect the internal state of my reconciliation process. As such, a function that automatically toggles all pending to cleared doesn't make much sense for me. Philosophically, ledger tries not to impose anything on users more than absolutely necessary. If reconcile-finish puts all pending transactions to cleared that would certainly harm my work flow and imply something about the pending state that is not intended by ledger. In fact, I found it so hard to understand why reconcile-finish was there I didn't bother to adapt it to the rest of what I was doing. I can bring it back, but I would name it differently to something like ledger-reconcile-promote-pending-to-cleared, and leave it to the user to bind it as he sees fit. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
On Mon, Feb 11, 2013 at 11:05 AM, Craig Earls ender...@gmail.com wrote: As far as reconciling, I am working on bringing the pending state back. It was simpler to get some of the new major functions in with it disabled. I do have one concern about the way you would like reconcile-finish to work. Maybe I am misunderstanding something. I use pending to indicate that a transaction has not yet completed in the real world. It does not reflect the internal state of my reconciliation process. As such, a function that automatically toggles all pending to cleared doesn't make much sense for me. Philosophically, ledger tries not to impose anything on users more than absolutely necessary. If reconcile-finish puts all pending transactions to cleared that would certainly harm my work flow and imply something about the pending state that is not intended by ledger. In fact, I found it so hard to understand why reconcile-finish was there I didn't bother to adapt it to the rest of what I was doing. I can bring it back, but I would name it differently to something like ledger-reconcile-promote-pending-to-cleared, and leave it to the user to bind it as he sees fit. -- Craig, Corona De Tucson, AZ enderw88.wordpress.com I also always assumed that the pending flag character was for purposes of reconciling, similar to the intermediate cleared/c status in GnuCash. That was why it was positioned on the transaction line the way it was. As I'm sure you know, totaling up the amounts of the reconciled-pending transactions is very useful when reconciling: that sum can be used to compare the difference in a statement's previous balance vs its current balance... when this comparison is zero, you know reconciliation was [most likely] done properly. When this state is reached, the reconciliation completion code changes all the pending flags to reconciled. So +1 for Thierry's interpretation. Chris -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Got it. I am also working on providing a target for the reconciliation mode so that you will get the delta left for the reconciliation. But multi-commodity balances are lots of work to deal with, so it will take a while. Would it be worth it to put out a single commodity traget in the interim? On Mon, Feb 11, 2013 at 2:28 PM, Chris Leyon cle...@gmail.com wrote: On Mon, Feb 11, 2013 at 11:05 AM, Craig Earls ender...@gmail.com wrote: As far as reconciling, I am working on bringing the pending state back. It was simpler to get some of the new major functions in with it disabled. I do have one concern about the way you would like reconcile-finish to work. Maybe I am misunderstanding something. I use pending to indicate that a transaction has not yet completed in the real world. It does not reflect the internal state of my reconciliation process. As such, a function that automatically toggles all pending to cleared doesn't make much sense for me. Philosophically, ledger tries not to impose anything on users more than absolutely necessary. If reconcile-finish puts all pending transactions to cleared that would certainly harm my work flow and imply something about the pending state that is not intended by ledger. In fact, I found it so hard to understand why reconcile-finish was there I didn't bother to adapt it to the rest of what I was doing. I can bring it back, but I would name it differently to something like ledger-reconcile-promote-pending-to-cleared, and leave it to the user to bind it as he sees fit. -- Craig, Corona De Tucson, AZ enderw88.wordpress.com I also always assumed that the pending flag character was for purposes of reconciling, similar to the intermediate cleared/c status in GnuCash. That was why it was positioned on the transaction line the way it was. As I'm sure you know, totaling up the amounts of the reconciled-pending transactions is very useful when reconciling: that sum can be used to compare the difference in a statement's previous balance vs its current balance... when this comparison is zero, you know reconciliation was [most likely] done properly. When this state is reached, the reconciliation completion code changes all the pending flags to reconciled. So +1 for Thierry's interpretation. Chris -- --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
On Mon, Feb 11, 2013 at 4:31 PM, Craig Earls ender...@gmail.com wrote: Got it. I am also working on providing a target for the reconciliation mode so that you will get the delta left for the reconciliation. But multi-commodity balances are lots of work to deal with, so it will take a while. Would it be worth it to put out a single commodity traget in the interim? I personally don't use multi-currency/commodity so I don't feel I can speak to that feature. On those few occasions when I have traveled abroad, I usually have a small enough number of transactions in a foreign currency that it is feasible for me to go back and manually edit the entries, retroactively changing the amounts into whatever USD appears on my credit card statement, trusting that the bank did the conversion properly. :-) I have to revisit those transactions anyway because there's usually some unforseen foreign currency conversion charge which gets applied after the fact that I need to account for. But I think a single reconciliation target would be sufficient 99.999% of the time. As an aside, I think it's quite convenient to be asked Previous statement balance / Current statement balance as two separate questions to determine this target number because those two values usually clearly appear on the statements and it saves me from potential arithmetic errors. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
I was actually think of just keeping it simpler, with asking for the current target balance which would be the ending statement balance. The methods that require the opening balance assume that the the previous statement is not available or wasn't balanced. The multi-commodity accounts that I was really trying for is to balance a brokerage account which probably has many different commodities being held at the same time, as opposed to multi-currency. On Mon, Feb 11, 2013 at 2:53 PM, Chris Leyon cle...@gmail.com wrote: On Mon, Feb 11, 2013 at 4:31 PM, Craig Earls ender...@gmail.com wrote: Got it. I am also working on providing a target for the reconciliation mode so that you will get the delta left for the reconciliation. But multi-commodity balances are lots of work to deal with, so it will take a while. Would it be worth it to put out a single commodity traget in the interim? I personally don't use multi-currency/commodity so I don't feel I can speak to that feature. On those few occasions when I have traveled abroad, I usually have a small enough number of transactions in a foreign currency that it is feasible for me to go back and manually edit the entries, retroactively changing the amounts into whatever USD appears on my credit card statement, trusting that the bank did the conversion properly. :-) I have to revisit those transactions anyway because there's usually some unforseen foreign currency conversion charge which gets applied after the fact that I need to account for. But I think a single reconciliation target would be sufficient 99.999% of the time. As an aside, I think it's quite convenient to be asked Previous statement balance / Current statement balance as two separate questions to determine this target number because those two values usually clearly appear on the statements and it saves me from potential arithmetic errors. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Chris Leyon cle...@gmail.com writes: I also always assumed that the pending flag character was for purposes of reconciling, similar to the intermediate cleared/c status in GnuCash. Yes, this is why the pending flag was created, in fact. Craig, have you restored that functionality in ledger-mode yet? 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Still working on it. On Mon, Feb 11, 2013 at 6:06 PM, John Wiegley jo...@newartisans.com wrote: Chris Leyon cle...@gmail.com writes: I also always assumed that the pending flag character was for purposes of reconciling, similar to the intermediate cleared/c status in GnuCash. Yes, this is why the pending flag was created, in fact. Craig, have you restored that functionality in ledger-mode yet? 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? On Mon, Feb 11, 2013 at 6:35 PM, Craig Earls ender...@gmail.com wrote: Still working on it. On Mon, Feb 11, 2013 at 6:06 PM, John Wiegley jo...@newartisans.com wrote: Chris Leyon cle...@gmail.com writes: I also always assumed that the pending flag character was for purposes of reconciling, similar to the intermediate cleared/c status in GnuCash. Yes, this is why the pending flag was created, in fact. Craig, have you restored that functionality in ledger-mode yet? 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.com -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
On Monday, February 11, 2013 9:40:15 PM UTC-5, Craig Earls wrote: So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking I don't ever clear a expense posting like that. I clear postings from savings and checking accounts when I reconcile against a bank statement, and I also clear postings for an assets account I have for reimbursable expenses. I'm reluctant to use words like always and never, but my general practice is not to clear postings of expense accounts. Interested to hear what others do. (I've already learned a lot about accounting practice merely because I use ledger and subscribe to this list.) (As long as I'm here, I'd also like to say that in general I like the new ledger-mode and appreciate the work you're doing on it.) --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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
On Mon, Feb 11, 2013 at 9:40 PM, Craig Earls ender...@gmail.com wrote: So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? Why would it ever need to be cleared? I have no problem with one branch being in a cleared state and the other not. To me that seems like a normal workflow requirement The bank sends me a statement every month, so I know that the check cleared and should be marked as such at the end of bank account reconciliation, which generally happens monthly. But the hobby store doesn't send me a statement, so why should I bother clearing that branch of the posting? However, suppose this hobby store does send statements ... except it's just one at the end of the year. So that Hobbies posting will have to stay uncleared for potentially many months until I get around to reconciling it. Ledger can't know when -- or even *IF* -- I'll get around to reconciling my Hobbies account, so in general that branch of the posting must remain uncleared until I clear it, either manually or through a reconciliation process. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
I don't ever clear a expense posting like that. same here. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Craig Earls ender...@gmail.com writes: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? For me, never. I only want to clear the account I'm reconciling. 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Once again I find that I am off in lala land. I always clear entire transactions for no real reason. I will adapt. On Monday, February 11, 2013, John Wiegley wrote: Craig Earls ender...@gmail.com javascript:; writes: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? For me, never. I only want to clear the account I'm reconciling. 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 javascript:;. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
On 2/11/13 7:40 PM, Craig Earls wrote: So let me ask this: It appears most people want the individual posting to be acted upon, and marked pending. When, if ever do you want the balancing postings cleared? For example: 2013/09/11 Hobby Shop Expenses:Hobbies $100.00 Assets:Checking If you clear the Checking posting, when do you want the Hobbies posting cleared? When I have the item 'in hand'. For stuff bought in person/brick-n-mortar, it's right away. If it is something I mail ordered or eBay/Amazon ordered (or even ordered for PDF book download), then I clear it when I have the goods in hand. If it is: 2013/01/01 (2245) Pay Bill Liabilities:Credit Card:Discover $100 Assets:Checking then I clear each line separately when I reconcile each statement. -=Doug -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
Hi Craig and all, I am happy that there has been some recent improvement on ledger lisp mode. Nevertheless those changes are not yet mature, and I opened some bugs (around 10) about that. I believe that they will be fixed sooner or later. The more annoying to me is that ledger-mode steals C-c C-v key-binding from standard Emacs. Could the key-binding being made customizable so that standard Emacs way of working is restored? Now, why do I use ledger lisp mode? 1. syntax highlighting 2. reconciliation of accounts 1. syntax highlighting The new color were not appealing to me (taste may vary), but hopefully they have been made customizable, and I share my color palette that I copied from solarized http://ethanschoonover.com/solarized color theme: '(ledger-font-cleared-face ((t (:foreground #657b83 '(ledger-font-comment-face ((t (:foreground #93a1a1 :slant italic '(ledger-font-highlight-face ((t (:background #eee8d5 '(ledger-font-pending-face ((t (:foreground #cb4b16 '(ledger-font-posting-account-face ((t (:foreground #268bd2 '(ledger-font-reconciler-cleared-face ((t (:foreground #657b83 '(ledger-font-reconciler-pending-face ((t (:foreground #cb4b16 '(ledger-font-reconciler-uncleared-face ((t (:foreground #dc322f :weight bold '(ledger-font-uncleared-face ((t (:foreground #dc322f :weight bold '(ledger-occur-xact-face ((t (:background white 2. reconciliation of accounts There is a breakage that appeared in this new ledger reconcile mode. This is the breakage reported by John Rakestraw as C-c C-c not working anymore. But for me this is not just a key-binding that does not work any more, this is my method, my way of working of reconciling that is now broken. Let me explain: In ledger there is three characters to mark a transaction : ', !, *, respectively for uncleared, pending, cleared. In the *OLD* ledger.el reconcile mode, in the *reconcile* buffer when a posting was marked, it was moved from uncleared to pending state, that is ! character. Then using ledger-reconcile-finish (that is C-c C-c key-binding) all postings in *reconcile* buffer where moved from pending state to cleared. Why is this so useful for me? The reconciliation process is very long for me (because I have many sources: credit card tickets, first checkbook, second checkbook, work credit card that is debited on my account, transfer without tickets, etc...) , this is often more than one hour, and this is very difficult to get one hour uninterrupted. So when in *reconcile* buffer, the mark to pending state reminds me, when I am back from interruption, that I was in a process of reconciliation, and I know where to restart, and also, I reconcile in no particular order, moving to pending postings spread all over my file. In the *NEW* ldg-reconcile mode, just before the interruption, I save my file. Yes I do want to save my file in case electricity micro-cut or any other issue. If I save, then I am now forced to go to cleared state. This is not what I want, because I loose where I stopped reconciliating. The *NEW* ldg-reconcile mode has suppressed the ! pending state and also, removed the ledger-reconcile-finish function by merging it into ledger-reconcile-save. My concern is that you wrote in answer to John R : As far as the transaction reconciliation behavior you are seeing, that is as intended. I would like here to argue to go back to the old way of working of reconciliation. The new mode is not usable for me, and I will stay in old mode if this way of working is kept. Hopefully ledger.el legacy is still around. But again, I am happy from last improvements, I believe in the new ldg-mode, I spent time reporting bugs to improve it, I believe it will be better in the long run. I only use ledger Emacs mode for syntax highlighting and reconciliation, and the breakage on the latter is too big for me. Is there a way to customize : like having the two way of working, the old (with ! pending state) and the new (without pending state) ? Thanks Best regards, Thierry Le dimanche 10 février 2013 01:48:31 UTC+1, Craig Earls a écrit : This has been resolved. If ledger-clear-whole-entries is nil then reconcile mode will clear the posting, not the entire xact. On Sat, Feb 9, 2013 at 10:54 AM, John Rakestraw jo...@johnrakestraw.comjavascript: wrote: Hi, Craig -- On Saturday, February 9, 2013 11:31:48 AM UTC-5, Craig Earls wrote: Thanks John, I can't reproduce the save error you are seeing. I will keep trying. Thanks. Let me know if I can provide additional information. As far as the transaction reconciliation behavior you are seeing, that is as intended. I will see if I can make it configurable to clear only the posting from the reconcile window. C-c C-c inthe ledger buffer still clears only the posting you are on... In my mind I clear the entire transaction (especially if their are only two postings,
Re: Ledger Mode bugs from John Rakestraw
Hi, Craig -- Thanks for your continued work on this. I'm really sorry I don't have time right now to bang on this really hard, but here's what I uncovered with a few minutes work. 1. Fixed, spacebar toggling now also scrolls the buffer Yes, I can confirm that this is fixed. 2. That was my personal preference. I made it configurable using ledger-reconcile-force-window-bottom in the ledger group I appreciate your adding this option. This also now works as expected. 3. That looks like a ledger problem. I think I have run across the same thing, or it has been commented on here recently. Yes, I should have realized that. (I think it's a recently introduced bug, though.) 4. Thanks I didn't remove a hook form the ledger buffer after the recon window is killed. Sloppy 5. C-c C-c has now been replaced with s to save. Let me know if it doesn't work as you expect. The command bound to C-c C-c has been broken for a while and I combined it with save. When I'm in the reconcile window and hit s to save, I get the error end of file during parsing and the file doesn't save. If I quit reconcile with q, the reconcile window closes adn I'm asked buffer modified, kill anyway? If I hit n, then I'm left with the ledger file open but unsaved and I can save it. If I hit y, I lose my changes. One other point -- I noticed in my tests that marking a posting as cleared in the reconcile window marks the entire transaction as cleared rather than just that posting. If I'm reconciling my checking account, I would expect the transaction to be marked this way: 2013/02/01 Check for groceries Expenses:Groceries$10.00 * Account:Checking But instead it's marked this way: 2013/02/01 * Check for groceries Expenses:Groceries$10.00 Account:Checking Again, it's possible that it's user error. I pulled from git and then transferred the ledger lisp files to my the directory with my other lisp files. Let me know if I should be doing something else. Thanks. --John Thanks for the help! On Fri, Feb 8, 2013 at 7:32 PM, John Rakestraw jo...@johnrakestraw.comjavascript: wrote: Hi, Craig -- On Friday, February 8, 2013 7:17:37 PM UTC-5, Craig Earls wrote: John, I have that feature in now and pushed to the server. Let me know if it is what you wanted. This is promising -- thanks for working on it. But I think there are some rough spots. I'm swamped with work and home life right now, so I can't do a lot of tests, but here are a few things I see -- - The follow works fine when I use the cursor key to move from one entry to the next. However, when I use the space bar to go through the list of entries in the reconcile window, the other window doesn't follow. - The reconcile window now opens below the ledger window -- I'd rather have it follow my regular setting, which would have it open to the right of my ledger window - It seems that the ledger file no longer allows the me to post the actual total value of the account, as in this: 2013/02/08 Make the account value right This:Account = $50.00 Another:2dAccount When I run a report with an entry like this, I get Error: Only one posting with null amount allowed per transaction with a line number referencing that transaction. - When I'm in ledger mode and save the ledger, the file saves properly, but I get this backtrace with debug-on-error set: set-buffer(#killed buffer) (save-current-buffer (set-buffer buf) (let ((coding-system-for-write (quote utf-8)) (coding-system-for-read (quote utf-8))) (apply (function call-process-region) (append (list (point-min) (point-max) ledger-binary-path nil outbuf nil -f -) args))) outbuf) (let ((buf (or input-buffer (current-buffer))) (outbuf (or output-buffer (generate-new-buffer *ledger-tmp* (save-current-buffer (set-buffer buf) (let ((coding-system-for-write (quote utf-8)) (coding-system-for-read (quote utf-8))) (apply (function call-process-region) (append (list (point-min) (point-max) ledger-binary-path nil outbuf nil -f -) args))) outbuf)) ledger-exec-ledger(#killed buffer #buffer *temp* --uncleared --real emacs platinum) (progn (ledger-exec-ledger buf (current-buffer) --uncleared --real emacs account) (goto-char (point-min)) (if (eobp) nil (if (looking-at () nil (error (buffer-string))) (read (current-buffer (unwind-protect (progn (ledger-exec-ledger buf (current-buffer) --uncleared --real emacs account) (goto-char (point-min)) (if (eobp) nil (if (looking-at () nil (error (buffer-string))) (read (current-buffer (and (buffer-name temp-buffer) (kill-buffer temp-buffer))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (ledger-exec-ledger buf (current-buffer) --uncleared --real
Re: Ledger Mode bugs from John Rakestraw
Thanks John, I can't reproduce the save error you are seeing. I will keep trying. As far as the transaction reconciliation behavior you are seeing, that is as intended. I will see if I can make it configurable to clear only the posting from the reconcile window. C-c C-c inthe ledger buffer still clears only the posting you are on... In my mind I clear the entire transaction (especially if their are only two postings, in your example why wouldn't also clear the expenses posting?). On Sat, Feb 9, 2013 at 7:47 AM, John Rakestraw jo...@johnrakestraw.com wrote: Hi, Craig -- Thanks for your continued work on this. I'm really sorry I don't have time right now to bang on this really hard, but here's what I uncovered with a few minutes work. 1. Fixed, spacebar toggling now also scrolls the buffer Yes, I can confirm that this is fixed. 2. That was my personal preference. I made it configurable using ledger-reconcile-force-window-bottom in the ledger group I appreciate your adding this option. This also now works as expected. 3. That looks like a ledger problem. I think I have run across the same thing, or it has been commented on here recently. Yes, I should have realized that. (I think it's a recently introduced bug, though.) 4. Thanks I didn't remove a hook form the ledger buffer after the recon window is killed. Sloppy 5. C-c C-c has now been replaced with s to save. Let me know if it doesn't work as you expect. The command bound to C-c C-c has been broken for a while and I combined it with save. When I'm in the reconcile window and hit s to save, I get the error end of file during parsing and the file doesn't save. If I quit reconcile with q, the reconcile window closes adn I'm asked buffer modified, kill anyway? If I hit n, then I'm left with the ledger file open but unsaved and I can save it. If I hit y, I lose my changes. One other point -- I noticed in my tests that marking a posting as cleared in the reconcile window marks the entire transaction as cleared rather than just that posting. If I'm reconciling my checking account, I would expect the transaction to be marked this way: 2013/02/01 Check for groceries Expenses:Groceries$10.00 * Account:Checking But instead it's marked this way: 2013/02/01 * Check for groceries Expenses:Groceries$10.00 Account:Checking Again, it's possible that it's user error. I pulled from git and then transferred the ledger lisp files to my the directory with my other lisp files. Let me know if I should be doing something else. Thanks. --John Thanks for the help! On Fri, Feb 8, 2013 at 7:32 PM, John Rakestraw jo...@johnrakestraw.com wrote: Hi, Craig -- On Friday, February 8, 2013 7:17:37 PM UTC-5, Craig Earls wrote: John, I have that feature in now and pushed to the server. Let me know if it is what you wanted. This is promising -- thanks for working on it. But I think there are some rough spots. I'm swamped with work and home life right now, so I can't do a lot of tests, but here are a few things I see -- - The follow works fine when I use the cursor key to move from one entry to the next. However, when I use the space bar to go through the list of entries in the reconcile window, the other window doesn't follow. - The reconcile window now opens below the ledger window -- I'd rather have it follow my regular setting, which would have it open to the right of my ledger window - It seems that the ledger file no longer allows the me to post the actual total value of the account, as in this: 2013/02/08 Make the account value right This:Account = $50.00 Another:2dAccount When I run a report with an entry like this, I get Error: Only one posting with null amount allowed per transaction with a line number referencing that transaction. - When I'm in ledger mode and save the ledger, the file saves properly, but I get this backtrace with debug-on-error set: set-buffer(#killed buffer) (save-current-buffer (set-buffer buf) (let ((coding-system-for-write (quote utf-8)) (coding-system-for-read (quote utf-8))) (apply (function call-process-region) (append (list (point-min) (point-max) ledger-binary-path nil outbuf nil -f -) args))) outbuf) (let ((buf (or input-buffer (current-buffer))) (outbuf (or output-buffer (generate-new-buffer *ledger-tmp* (save-current-buffer (set-buffer buf) (let ((coding-system-for-write (quote utf-8)) (coding-system-for-read (quote utf-8))) (apply (function call-process-region) (append (list (point-min) (point-max) ledger-binary-path nil outbuf nil -f -) args))) outbuf)) ledger-exec-ledger(#killed buffer #buffer *temp* --uncleared --real emacs platinum) (progn (ledger-exec-ledger buf (current-buffer) --uncleared --real emacs account) (goto-char (point-min)) (if (eobp) nil
Re: Ledger Mode bugs from John Rakestraw
Hi, Craig -- On Saturday, February 9, 2013 11:31:48 AM UTC-5, Craig Earls wrote: Thanks John, I can't reproduce the save error you are seeing. I will keep trying. Thanks. Let me know if I can provide additional information. As far as the transaction reconciliation behavior you are seeing, that is as intended. I will see if I can make it configurable to clear only the posting from the reconcile window. C-c C-c inthe ledger buffer still clears only the posting you are on... In my mind I clear the entire transaction (especially if their are only two postings, in your example why wouldn't also clear the expenses posting?). Suppose I have two accounts and I'm transferring money from one account to the other. I reconcile each of these accounts when I get the monthly statement. But one account cycle goes from the 1st of the month to the 1st, while the other goes from the 15th to the 15th. I'll mark one side cleared when I'm reconciling that account on the 1st, but I want the other posting to show as unreconciled when I'm reconciling that account on the 15th. Another use -- I use my credit card to spend money that's to be reimbursed by the university. I'll reconcile the credit card side of that transaction when I pay my credit card bill, but I don't want to reconcile the other side of the transaction until I'm reimbursed by the university -- that's how I track whether I've been reimbursed. Those are my two use cases. Maybe there's another way to do what I'm doing? Thanks again -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Ledger Mode bugs from John Rakestraw
This has been resolved. If ledger-clear-whole-entries is nil then reconcile mode will clear the posting, not the entire xact. On Sat, Feb 9, 2013 at 10:54 AM, John Rakestraw jo...@johnrakestraw.com wrote: Hi, Craig -- On Saturday, February 9, 2013 11:31:48 AM UTC-5, Craig Earls wrote: Thanks John, I can't reproduce the save error you are seeing. I will keep trying. Thanks. Let me know if I can provide additional information. As far as the transaction reconciliation behavior you are seeing, that is as intended. I will see if I can make it configurable to clear only the posting from the reconcile window. C-c C-c inthe ledger buffer still clears only the posting you are on... In my mind I clear the entire transaction (especially if their are only two postings, in your example why wouldn't also clear the expenses posting?). Suppose I have two accounts and I'm transferring money from one account to the other. I reconcile each of these accounts when I get the monthly statement. But one account cycle goes from the 1st of the month to the 1st, while the other goes from the 15th to the 15th. I'll mark one side cleared when I'm reconciling that account on the 1st, but I want the other posting to show as unreconciled when I'm reconciling that account on the 15th. Another use -- I use my credit card to spend money that's to be reimbursed by the university. I'll reconcile the credit card side of that transaction when I pay my credit card bill, but I don't want to reconcile the other side of the transaction until I'm reimbursed by the university -- that's how I track whether I've been reimbursed. Those are my two use cases. Maybe there's another way to do what I'm doing? Thanks again -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Craig, Corona De Tucson, AZ enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.