Re: Resetting a balance is illegal?

2014-11-27 Thread John Louis Del Rosario
Thanks. Yes, ordering the transactions makes it legal. Unfortunately I 
organize my ledger file with newest transactions at the top.
I'll make do for now :)

But would a feature request for a flag or option to specify the transaction 
date order make sense?

On Monday, November 24, 2014 11:52:27 AM UTC+8, John Louis Del Rosario 
wrote:

 I just tried to reset a balance (
 http://ledger-cli.org/3.0/doc/ledger3.html#Resetting-a-balance), but it 
 seems it's illegal? 

 11/24 * Adjustment
 Liabilities:Credit:Metrobank   = P 0.00
 Equity:Adjustments

 Error: Only one posting with null amount allowed per transaction

 I'm using Ledger 3.1.0-20141005 on OS X.


-- 

--- 
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/d/optout.


Re: ledger-mode upcoming transactions improvements

2014-11-27 Thread John Louis Del Rosario
Interesting! It's like crontab's syntax (which I'm not big fan of :P)

I'm curious at how this works? Does this modify your ledger file to create 
the transactions at the specified schedule? 

On Thursday, November 27, 2014 7:12:23 AM UTC+8, Craig Earls wrote:

 I don't know if anyone is using the upcoming transactions feature of 
 ledger-mode.  If you do, I have just finished completing the date 
 interpreter.  You can now specify things like:

 Every other Thursday starting on 2014/11/27
 2014/11/27+2Th 

 Every third Friday
 */*/3Fr

 Every Monday:
 */*/0Mo

 List of months or days (even years if you plan that far out!)

 */1,3,6,9/15 
 */*/1,15

 I am going to play with them for a while (meaning months) unless there is 
 interest.  If there is interest I will push the changes public.



 -- 
 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/d/optout.


Re: ledger-mode upcoming transactions improvements

2014-11-27 Thread Alan Schmitt
On 2014-11-26 16:12, Craig Earls ender...@gmail.com writes:

 I don't know if anyone is using the upcoming transactions feature of
 ledger-mode.

I do.

 If you do, I have just finished completing the date interpreter. You
 can now specify things like:

Great! This will help me replace lines like this:

[2016-01-05 2016-02-05 2016-03-05 2016-04-05 2016-05-05 2016-06-05 2016-07-05 
2016-08-05 2016-09-05 2016-10-05 2016-11-05] …

Please let us know when you've released it.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

-- 

--- 
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/d/optout.


signature.asc
Description: PGP signature


Re: ledger-mode upcoming transactions improvements

2014-11-27 Thread Richard Cobbe
On Wed, Nov 26, 2014 at 04:12:21PM -0700, Craig Earls wrote:
 I don't know if anyone is using the upcoming transactions feature of
 ledger-mode.  If you do, I have just finished completing the date
 interpreter.  You can now specify things like:

 Every other Thursday starting on 2014/11/27
 2014/11/27+2Th

Oh, lovely!  I'm looking forward to being able to use this.  Thanks for
your efforts on this feature!

Richard

-- 

--- 
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/d/optout.


Re: ledger-mode upcoming transactions improvements

2014-11-27 Thread Craig Earls
I am open to suggestions on the syntax.  I am not completely happy with it
either.

The upcoming transactions are loaded into a new buffer for you to copy
over.  I am slowly working up to inserting them.  I don't like messing with
people files.  I am still smarting from the outrage spawned when
fontification was less than perfect.

On Thu, Nov 27, 2014 at 1:31 AM, John Louis Del Rosario joh...@gmail.com
wrote:

 Interesting! It's like crontab's syntax (which I'm not big fan of :P)

 I'm curious at how this works? Does this modify your ledger file to create
 the transactions at the specified schedule?

 On Thursday, November 27, 2014 7:12:23 AM UTC+8, Craig Earls wrote:

 I don't know if anyone is using the upcoming transactions feature of
 ledger-mode.  If you do, I have just finished completing the date
 interpreter.  You can now specify things like:

 Every other Thursday starting on 2014/11/27
 2014/11/27+2Th

 Every third Friday
 */*/3Fr

 Every Monday:
 */*/0Mo

 List of months or days (even years if you plan that far out!)

 */1,3,6,9/15
 */*/1,15

 I am going to play with them for a while (meaning months) unless there is
 interest.  If there is interest I will push the changes public.



 --
 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/d/optout.




-- 
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/d/optout.


Re: ledger-mode upcoming transactions improvements

2014-11-27 Thread Craig Earls
I just pushed the changes to the server.  Please bang on it and I am really
open to suggestions on making it better.

On Thu, Nov 27, 2014 at 9:52 AM, Craig Earls ender...@gmail.com wrote:

 I am open to suggestions on the syntax.  I am not completely happy with it
 either.

 The upcoming transactions are loaded into a new buffer for you to copy
 over.  I am slowly working up to inserting them.  I don't like messing with
 people files.  I am still smarting from the outrage spawned when
 fontification was less than perfect.

 On Thu, Nov 27, 2014 at 1:31 AM, John Louis Del Rosario joh...@gmail.com
 wrote:

 Interesting! It's like crontab's syntax (which I'm not big fan of :P)

 I'm curious at how this works? Does this modify your ledger file to
 create the transactions at the specified schedule?

 On Thursday, November 27, 2014 7:12:23 AM UTC+8, Craig Earls wrote:

 I don't know if anyone is using the upcoming transactions feature of
 ledger-mode.  If you do, I have just finished completing the date
 interpreter.  You can now specify things like:

 Every other Thursday starting on 2014/11/27
 2014/11/27+2Th

 Every third Friday
 */*/3Fr

 Every Monday:
 */*/0Mo

 List of months or days (even years if you plan that far out!)

 */1,3,6,9/15
 */*/1,15

 I am going to play with them for a while (meaning months) unless there
 is interest.  If there is interest I will push the changes public.



 --
 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/d/optout.




 --
 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/d/optout.


Re: Resetting a balance is illegal?

2014-11-27 Thread Craig Earls
You can always request, but the date ordered file is pretty deeply
ingrained.

On Thu, Nov 27, 2014 at 1:27 AM, John Louis Del Rosario joh...@gmail.com
wrote:

 Thanks. Yes, ordering the transactions makes it legal. Unfortunately I
 organize my ledger file with newest transactions at the top.
 I'll make do for now :)

 But would a feature request for a flag or option to specify the
 transaction date order make sense?


 On Monday, November 24, 2014 11:52:27 AM UTC+8, John Louis Del Rosario
 wrote:

 I just tried to reset a balance (http://ledger-cli.org/3.0/
 doc/ledger3.html#Resetting-a-balance), but it seems it's illegal?

 11/24 * Adjustment
 Liabilities:Credit:Metrobank   = P 0.00
 Equity:Adjustments

 Error: Only one posting with null amount allowed per transaction

 I'm using Ledger 3.1.0-20141005 on OS X.

  --

 ---
 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/d/optout.




-- 
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/d/optout.


Re: Resetting a balance is illegal?

2014-11-27 Thread Martin Blais
If you really care about this particular aspect of it:
http://furius.ca/beancount/doc/comparison#heading=h.8ifnv67670w7



On Thu, Nov 27, 2014 at 3:27 AM, John Louis Del Rosario joh...@gmail.com
wrote:

 Thanks. Yes, ordering the transactions makes it legal. Unfortunately I
 organize my ledger file with newest transactions at the top.
 I'll make do for now :)

 But would a feature request for a flag or option to specify the
 transaction date order make sense?


 On Monday, November 24, 2014 11:52:27 AM UTC+8, John Louis Del Rosario
 wrote:

 I just tried to reset a balance (http://ledger-cli.org/3.0/
 doc/ledger3.html#Resetting-a-balance), but it seems it's illegal?

 11/24 * Adjustment
 Liabilities:Credit:Metrobank   = P 0.00
 Equity:Adjustments

 Error: Only one posting with null amount allowed per transaction

 I'm using Ledger 3.1.0-20141005 on OS X.

  --

 ---
 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/d/optout.


-- 

--- 
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/d/optout.