Narrowing the prices command

2023-07-14 Thread Craig Earls
After 13 years I thought I knew all of the ledger tricks I needed. I recently bought some "Ford Motor Company" stock, ticker "F". Some of my ancient scripts rely on the "ledger prices" command. Turns out that "ledger prices F" return prices for EVERY commodity that has an 'F' in the symbol. I

Re: Is there a scriptable way to clear transactions past transactions with future bank statements ?

2019-09-13 Thread Craig Earls
One thing to keep in mind is that, by design, ledger-cli NEVER alters the input file. On Fri, Sep 13, 2019 at 10:29 Jimi Damon wrote: > Clearing that way is really cumbersome, isn't nearly as scriptable as the > method mentioned and really doesn't jive well with modern day > Cryptocurrency /

Re: Calculation instead of amount

2019-08-20 Thread Craig Earls
Ledger-mode will also bring up the calculator C-c C-b On Tue, Aug 20, 2019 at 08:50 Fredrik wrote: > Can I use an equation instead of a number entry for an amount? > > Example: > 2018/08/01 Calc transaction > Destination 4-1.23 > Source > > Or can I do something similar with ledger-mode

Re: querying on amount

2019-08-18 Thread Craig Earls
—limit “(amount==7.53)” On Sun, Aug 18, 2019 at 07:51 Jeff Abrahamson wrote: > I find myself wanting to query on transaction amounts. > > ] reg amount 7.53 > ...see all transactions that have (credit or debit or both with) value > 7.53... > ] > > I've read the docs through twice, I'm not seeing

Re: ledger showing an Incorrect sum in register

2019-07-23 Thread Craig Earls
Start trying narrow it down in your data file. Delete stuf until it goes away then put stuff back in to isolate it On Tue, Jul 23, 2019 at 16:07 Paulo Phagula wrote: > I get the very same result > > On Wednesday, July 24, 2019 at 12:58:45 AM UTC+2, Craig Earls wrote: >>

Re: ledger showing an Incorrect sum in register

2019-07-23 Thread Craig Earls
Can you run it without —permissive On Tue, Jul 23, 2019 at 15:50 Paulo Phagula wrote: > Hi, > > I had been pulling my hair last night while trying to reconcile my > accounts, until > I noticed that ledger is not summing correctly. Now, I don't know if this > is an issue with my data or if it is

Re: Overriding options in init-file?

2019-07-15 Thread Craig Earls
If you are typing ledger comes frequently, it is time to start making your own shell scripts On Mon, Jul 15, 2019 at 17:10 Matthew Sewell wrote: > This is a great question and I am also curious about this if anyone has an > answer. > > On Sunday, July 14, 2019 at 10:08:59 AM UTC-7, Soren

Re: Data Entry GUI - Cashier

2019-05-13 Thread Craig Earls
What text editor are you using? On Mon, May 13, 2019 at 00:49 Alen Šiljak wrote: > Hi! Thanks for the feedback. It would be useful to also note your most > common use-case scenario. I.e. - how many transactions do you normally > enter at once, how many accounts do you have (assets, income, and

Re: Ledger-Cli Chart of Accounts and Mapping to Form 990

2019-03-29 Thread Craig Earls
The EMACS ledger-mode code is maintained as a completely separate project on Github. There are a few other big projects that are highly coupled but independently maintained. On Thu, Mar 28, 2019 at 23:24 Martin Michlmayr wrote: > * Will Middleton [2019-03-10 06:31]: > > I wonder if it makes

Re: exporting to tabular format

2019-03-06 Thread Craig Earls
Not built in to ledger. On Wed, Mar 6, 2019 at 00:19 Alan Schmitt wrote: > Hello, > > Is there a way to export a ledger file to tabular format? Ideally, > one > would have one columns per account/asset and one line per > transaction. > > Thanks, > > Alan > > -- > > --- > You received this

Re: Order of transactions matter for balance assignments?

2019-03-05 Thread Craig Earls
Yes it matters. It is pretty deep inside the logic. On Fri, Mar 1, 2019 at 07:13 Rodrigo Camacho wrote: > Hello, > > Is this still the case? It doesn't much sense for this to matter. > > Best. > > On Sunday, 14 January 2018 00:51:38 UTC+1, John Wiegley wrote: >> >> > "PM" == Peleg Michaeli

Re: Need Ledger Information

2019-02-27 Thread Craig Earls
Thanks for the kind words about the manual. On Wed, Feb 27, 2019 at 05:29 o1bigtenor wrote: > On Wed, Feb 27, 2019 at 5:03 AM megha g > wrote: > > > > Hi Team, > > > > Greetings for the Day! > > > > As i am new to this Ledger topic. I am not getting proper idea about > ledger, From where it

Re: Backup and cloud-storage

2019-02-02 Thread Craig Earls
Local git repo. Script for routine commits. Local external hard drive and back blaze cloud backup. On Sat, Feb 2, 2019 at 07:38 Pete Keen wrote: > > -- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com -- --- You received this message because you are subscribed to

Re: Suppress display of and is reports?

2019-01-12 Thread Craig Earls
I need to see if those are in the manual. I don’t think they are. On Sat, Jan 12, 2019 at 09:42 Martin Michlmayr wrote: > * Craig Earls [2019-01-12 09:14]: > > Is there a way to suppress the display of "articial" posting in a > > register report. > > Acc

Suppress display of and is reports?

2019-01-12 Thread Craig Earls
Is there a way to suppress the display of "articial" posting in a register report. This is display only. -- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To

Re: Commodity performance over time

2019-01-11 Thread Craig Earls
I found my problem. I had a deeply buried register-format in my lederrc that was using (total) rather than (display_total). That register format has probably been there for seven years. :( On Fri, Jan 11, 2019 at 08:29 Klauss Hass wrote: > Sure > > Just tried running the command ledger -f

Re: Commodity performance over time

2019-01-10 Thread Craig Earls
367.78 47.7843 VBASX 2012-11-13 * DDVIFSX Dividend Asse:Investments:401K:Deferred $ 0.03 47.7843 VBASX 0.0003 VIFSX 2012-11-13 * DDVIFSX Dividend Asse:I On Thu, Jan 10, 2019 at 3:22 PM John Wiegley wrote: > >>>>> "CE" == Craig E

Re: Commodity performance over time

2019-01-09 Thread Craig Earls
I have never gotten -V to work as I thought it should. I think it should just show the $ balance after each transaction. For me it always adds in extra commodities with the dollar balance. On Tue, Jan 8, 2019 at 8:40 PM Gautam Mohan wrote: > Wow, thanks so much! It was under my nose the whole

Re: Options for specifying account in a balance query

2019-01-04 Thread Craig Earls
Never hit that limit! Can you group your accounts in a tree structure? On Fri, Jan 4, 2019 at 18:35 Scott Carpenter wrote: > Tried to glom a whole bunch of accounts together for a query, but appears > there is a 256 character limit for the // grouping, e.g.: > > While parsing value expression:

Re: Balance-like report by commodity, showing values at current price?

2018-12-09 Thread Craig Earls
adding --collapse gives you the value of all of your holdings in your exchange currency without splitting them into accounts. On Sun, Dec 9, 2018 at 12:16 PM Craig Earls wrote: > Now that is nice! Thanks Martin. > > On Sun, Dec 9, 2018 at 11:44 AM Martin Michlmayr wrote: > &

Re: Balance-like report by commodity, showing values at current price?

2018-12-09 Thread Craig Earls
Now that is nice! Thanks Martin. On Sun, Dec 9, 2018 at 11:44 AM Martin Michlmayr wrote: > * John Lee [2018-12-09 16:16]: > > Still, I'm a little surprised there's not a more explicit way that > > neither requires adding extra metadata to duplicate core information > > like account names

Re: Auto-Download CSV

2018-10-15 Thread Craig Earls
Any thing easy enough for consumers to use would be a security nightmare. Quicken can do it using QIF. But the handshaking and security aren’t well documented. On Mon, Oct 15, 2018 at 17:44 Andy L wrote: > I'm manually downloading CSV from my banks and brokerages. Now I'd like > to automate

Re: Building a command line tool for automating entry of recurring transactions

2018-08-31 Thread Craig Earls
. > > On Friday, August 31, 2018 at 12:56:08 PM UTC-7, Craig Earls wrote: >> >> I have something very similar built into ledger-mode >> >> On Fri, Aug 31, 2018 at 12:18 Gavin Hughes wrote: >> >>> I'm starting work on ledger-recur shown below (and pr

Re: Building a command line tool for automating entry of recurring transactions

2018-08-31 Thread Craig Earls
I have something very similar built into ledger-mode On Fri, Aug 31, 2018 at 12:18 Gavin Hughes wrote: > I'm starting work on ledger-recur shown below (and prettier in this gist > ). > I see this topic gets discussed

Re: Register Report only with Payee and No Accounts

2018-07-31 Thread Craig Earls
s. Appreciate if you could >> provide some suggestions on how to control the format ? >> Appreciate it >> Thanks >> >> >> On Tuesday, July 31, 2018 at 10:46:16 PM UTC+7, Craig Earls wrote: >>> >>> Use a custom format on a register repor

Re: Python changing xact/post states (uncleared, pending, cleared)

2018-07-08 Thread Craig Earls
Ledger never writes to the file. If you are looking to programmatically alter the ledger you wil need to do it directly On Sun, Jul 8, 2018 at 01:51 wrote: > Hi guys, is there any way I can modify the state of transactions in my > ledger file, from uncleared to cleared/pending? I'm thinking of

Re: information request

2018-07-07 Thread Craig Earls
"fuel - gas - clear" seems to repeat the numerical structure. But, when I looked more closely at the transaction you had above "fuel" didn't seem to correlate to "10". On Sat, Jul 7, 2018 at 7:03 PM, o1bigtenor wrote: > > > On Sat, Jul 7, 2018 at 5

Re: information request

2018-07-07 Thread Craig Earls
everything under 9350 On Sat, Jul 7, 2018 at 15:09 o1bigtenor wrote: > > > On Tue, Jul 3, 2018 at 3:29 PM, Craig Earls wrote: > >> Is your account hierarchy separated by periods, or colons? If you use >> colons you get this grouping for free using the —depth option. &

Re: information request

2018-07-03 Thread Craig Earls
I forwarded your resume to an energetic s expert to see if they had any requests open On Tue, Jul 3, 2018 at 15:36 Craig Earls wrote: > If they are periods then ledger sees them as completely separate accounts. > If they in a hierarchy then colons are used to express that. There is no

Re: information request

2018-07-03 Thread Craig Earls
t 3:29 PM, Craig Earls wrote: > > Is your account hierarchy separated by periods, or colons? If you use >> colons you get this grouping for free using the —depth option. >> >> > I wasn't aware that there might be some benefit to using something other > than periods so

Re: information request

2018-07-03 Thread Craig Earls
Is your account hierarchy separated by periods, or colons? If you use colons you get this grouping for free using the —depth option. On Tue, Jul 3, 2018 at 13:07 o1bigtenor wrote: > Greetings > I have gotten comfortable using ledger to check entries and to pull an > occasional amount but I

Re: Register: use expressions to filter amounts?

2018-06-16 Thread Craig Earls
—limit “(amount>200)” That’s a hint. And a clause limit the commodity might be necessary as well On Sat, Jun 16, 2018 at 07:28 Scott Carpenter wrote: > I'd like to be able to run a register query and specify greater than or > less than > comparisons for the amounts, e.g. show me all entries >

Re: Bugzilla bugs are on GitHub now

2018-06-01 Thread Craig Earls
Here, here! Thanks Martin. On Fri, Jun 1, 2018 at 10:54 John Wiegley wrote: > > "MM" == Martin Michlmayr writes: > > MM> I've imported most of these manually now. > > Thank you so much, Martin! Your service has been invaluable to this > project. > We now have our history back. :) > > John

Re: ledger case sensitive or no?

2018-05-13 Thread Craig Earls
gt; > ledger -f example.ledger bal expenses:groceries > 30 USD Expenses > 20 USDGroceries > 10 USDgroceries > > 30 USD > > > On Saturday, May 12, 2018 at 10:00:07 PM UTC-7, Craig Earl

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

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

2018-04-09 Thread Craig Earls
>From time to time well intentioned people try to improve the regexs. I don’t keep up with the latest code any more because my workflow is fine and I am more worried about breaking it than keeping up with new features. Check to see if there has been a change to the regexs. Several years ago

Re: Storing Transaction Time

2018-03-18 Thread Craig Earls
What if you use a dash or colon to separate date from time? I think the ledger parser breaks on white space before it does much else. On Sun, Mar 18, 2018 at 06:22 Vishesh Handa wrote: > Hi > > Most of my banks give me the date and time of each transaction. I think >

Re: Payee reporting

2018-03-01 Thread Craig Earls
ledger --group-by "(payee)" --subtotal reg Expenses --collapse On Thu, Mar 1, 2018 at 18:53 Scott Carpenter wrote: > Next up on my ledgerbil reporting list is reporting by payees, e.g. for > expenses on a monthly or yearly basis, showing payee totals. > > I don't think

Re: Ledger tabular report

2018-02-21 Thread Craig Earls
Nice. I put something like that together several years ago using bash. Yours is prettier. On Tue, Feb 20, 2018 at 11:04 PM, Scott Carpenter wrote: > My ledgerbil python program is somewhat limited to my own usage, but I'm > pleased with this "grid" report: > > $ ledgerbil

Re: windows msys ledger strange ouput text

2018-01-07 Thread Craig Earls
I agree about the color codes. What is up with the version and license though? On Sat, Jan 6, 2018 at 9:25 PM Jacob MacDonald wrote: > I believe those are color codes. Run in a different terminal or disable > the coloring of output > > On Sat, Jan 6, 2018, 21:18 craig

Re: Investment Report

2018-01-06 Thread Craig Earls
Yep. I have done similar labor. There is no built in way to do that. On Sat, Jan 6, 2018 at 12:41 AM Scott Carpenter wrote: > Heh. Thank you, John! > > On Saturday, January 6, 2018 at 1:34:16 AM UTC-6, John Wiegley wrote: > >> > "SC" == Scott Carpenter

Re: Budget causes my ledger not to parse file?

2017-12-05 Thread Craig Earls
Whitespace shouldn't matter. If you would be will to create a file that caused the error then send it to me privately I can take a look. On Tue, Dec 5, 2017 at 6:36 PM, Andrew Thorp wrote: > Would the number of newlines after the budget make a difference? I don't > know why

Re: Budget causes my ledger not to parse file?

2017-12-05 Thread Craig Earls
You still have a problem there should be any difference On Tue, Dec 5, 2017 at 7:05 PM Andrew Thorp wrote: > I beleive I have fixed it. The rest of my postings followed the budget. > After moving the budget to it's own file and adding it to the `include`s in > my main file,

Re: pricedb api data source?

2017-11-10 Thread Craig Earls
I thought that was deprecated last year. On Fri, Nov 10, 2017 at 08:38 Jim Robinson wrote: > Martin, > > Thanks very much, the Google Finance api looks like a replacement for what > Yahoo Finance had been providing. :) > > Jim > > -- > > --- > You received this message

Re: pricedb api data source?

2017-11-07 Thread Craig Earls
I am also looking. No luck so far. On Tue, Nov 7, 2017 at 07:36 Jim Robinson wrote: > Hi Folks, > > Does anyone here have an alternative to the yahoo finance api for pulling > daily pricedb values? > > Looks like folks were abusing the yahoo site and they've shut down

Re: Tracking car expenses

2017-10-27 Thread Craig Earls
No. A posting (individual entries) are additions or subtractions to the underlying account. On Fri, Oct 27, 2017 at 6:13 AM, Sanel Z. wrote: > Hi guys, > > I'm trying to use ledger for tracking car expenses (maintenance, fuel and > etc), but also I'm recording number of

Re: ledger xact - "Error: Invalid date:"

2017-10-24 Thread Craig Earls
17:16:44 ~/FinanceData > ledger xact 2017-10-31 Dep 2017-10-31 Deposit Assets:VWCU:Grace$ 12.00 Expenses:Medical:Professional Fees 17:16:51 ~/FinanceData > ledger xact 2017/10/31 Dep RMB45 2017-10-31 Deposit Assets:VWCU:Grace

Re: ledger xact - "Error: Invalid date:"

2017-10-24 Thread Craig Earls
_64 x86_64 > > Cheers, > > -- > Alexandre Rademaker > http://arademaker.github.io > http://researcher.ibm.com/person/br-alexrad > > > On 24 Oct 2017, at 20:40, Craig Earls <ender...@gmail.com> wrote: > > I have the same installation description with no pro

Re: ledger xact - "Error: Invalid date:"

2017-10-24 Thread Craig Earls
I have the same installation description with no problem. Try brew install -s ledger to build it from source. Possibly there is binary compatibility issue with the brewed installation On Tue, Oct 24, 2017 at 15:33 Alexandre Rademaker wrote: > > Same error here! Any Idea?

Re: ledger xact - "Error: Invalid date:"

2017-10-13 Thread Craig Earls
I just moved to High Sierra, no problem here I use the hombrew install as well. I do build from source though. On Thu, Oct 12, 2017 at 23:48 Alexander Pletnev wrote: > Having the same problem after update ledger on mac. Please post if you > solved. > > > On Monday,

Re: Suggestion: make "include" order files before importing

2017-10-04 Thread Craig Earls
Ledger is open source and depends on users to keep going. John W. has done an amazing job writing the foundation ,the rest of us need to help out. Consider jumping in with a patch to fix the bug that is irritating you. Steve Purcell and I are the principle maintainers of the emacs code. I have

Re: if: Error in ledger-add-transaction: Error: Invalid date:

2017-09-08 Thread Craig Earls
Thank you On Fri, Sep 8, 2017 at 12:33 Leo Bossmann wrote: > Hi, > > never mind, the error is at a different point, and it seems to be in my > input file. Please ignore everything above :/ > > Thanks anyway > > Leo > > -- > > --- > You received this message because you

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-08-11 Thread Craig Earls
You are welcome. I am glad it gets used. On Fri, Aug 11, 2017 at 20:38 Kinley Dorji <kinl...@gmail.com> wrote: > Hey Craig, > > Didn't know your were behind ledger-mode. It's super useful - thank you! > > Kinley > > On Wednesday, February 22, 2017 at 2:43:39

Re: assigned currency during import/convert of csv file

2017-08-11 Thread Craig Earls
Ledger-mode doesn't import on its own. It also doesn't do mass edits on xacts. On Fri, Aug 11, 2017 at 10:40 John Wiegley wrote: > > "TR" == Todd Roth writes: > > TR> When converting a bank statement csv file to ledger format with the > TR>

Re: bare numbers and presicion

2017-07-30 Thread Craig Earls
I tried this when I first started using Ledger 4 years ago. There are a number of other problems that come up if you try to use only bare numbers. Bare numbers are treated differently than commodities internally. You will save yourself many headaches if you just slap a euro sign on the numbers.

Re: colorize report in Emacs ledger-report mode?

2017-06-10 Thread Craig Earls
Thanks John, I will see if I can get that working. On Fri, Jun 2, 2017 at 10:06 AM, John Wiegley <jo...@newartisans.com> wrote: > >>>>> "CE" == Craig Earls <ender...@gmail.com> writes: > > CE> If there is an emacs mode that can inter

Re: ledger-mode color customization

2017-05-12 Thread Craig Earls
There is a much easier way. Under the ledger menu in emacs is "Customize Ledger Mode" click on that then click on "Ledger Faces" then you can customize away without altering source code that will get stomped on when we release updates. "Faces" are what emacs calls "fonts". On Thu, May 11, 2017

Re: Format of Balance Report

2017-04-27 Thread Craig Earls
It is easy to forget that Bash (or any other shell) is a command interpreter and doesn't necessarily send what you type to the program you are running. On Thu, Apr 27, 2017 at 06:51 Marvo Lazer wrote: > I should just sleep on these problems. This post ( >

Re: Euro symbol inconvenience... suggestions?

2017-03-15 Thread Craig Earls
I would just wait a few years then you'll probably be back to your national currency. On Wed, Mar 15, 2017 at 13:09 Marcin Borkowski wrote: On 2017-03-15, at 20:04, Erik Hetzner wrote: > In general, in emacs, I'd do > > `C-x (` to start a keyboard macro >

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-22 Thread Craig Earls
I should add that I have been an emacs user since 1995. Emacs == escape meta alt control shift. My brother is a vim user. He was always a disappointment to mother. On Wed, Feb 22, 2017 at 12:09 Martin Blais wrote: > On Wed, Feb 22, 2017 at 1:05 PM, James

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-22 Thread Craig Earls
My approach to avoiding RSI is to have terrible typing form that makes me move a lot more than a real typist When I am editing with emacs I resent having to use the mouse much. So I am almost entirely keyboard On Wed, Feb 22, 2017 at 11:05 James wrote: > Emac users, > Do

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-22 Thread Craig Earls
Gnus! That brings back memories. I haven't used it since the nineties. On Wed, Feb 22, 2017 at 10:30 Michael Englehorn wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > James writes: > > I just want to conduct a quick survey here. Could

Re: Sorting lines in reports

2017-01-16 Thread Craig Earls
sets:US:BofA:Checking -79.85 USD > Expenses:Home:Internet79.85 USD > > 2013-02-05 * "RiverBank Properties" "Paying the rent" > Assets:US:BofA:Checking -2400.00 USD > Expenses:Home:R

Re: Sorting lines in reports

2016-12-31 Thread Craig Earls
or some other more > arbitrary data. > > Is this something anyone else would find useful? Or is there even a way to > do something similar already? > > > > > > > On Saturday, December 31, 2016 at 9:29:04 AM UTC-10, Craig Earls wrote: >> >> How is ledger supposed to k

Re: Sorting lines in reports

2016-12-31 Thread Craig Earls
How is ledger supposed to know the characteristics of the commodities in the accounts? Ledger just sees account names as a string of characters, it does not treat an account that starts with "asset" or "Vermögenswert" any differently than any other account. It does not know how liquid or

Re: ledger-mode repo

2016-10-31 Thread Craig Earls
git clone https://github.com/ledger/ledger-mode.git On Mon, Oct 31, 2016 at 10:24 AM, John Wiegley <jo...@newartisans.com> wrote: > >>>>> "CE" == Craig Earls <ender...@gmail.com> writes: > > CE> Any ideas? I am not a git guru, just a git. &

ledger-mode repo

2016-10-30 Thread Craig Earls
I haven't worked on the ledger-mode code since the repository was split from the ledger code base. I must be doing something stupid. I have cloned the ledger-mode repo from git hub but when I look at commit history I am seeing change to the ledger codebase, not the elisp code. I am using

Re: Virtual Accounts and Ledger-Mode Tab Completion

2016-10-25 Thread Craig Earls
Thank you. That tells me exactly where it is. On Tuesday, October 25, 2016, Jacob MacDonald wrote: > To be clear, you're seeing: > > 1) Accounts which have non-bracketed instances can be completed inside and > outside of brackets. > 2) Accounts which are only ever entered

Re: Virtual Accounts and Ledger-Mode Tab Completion

2016-10-24 Thread Craig Earls
The bugs are getting fewer and further between. I will look at it this weekend. On Monday, October 24, 2016, John Wiegley wrote: > > "r" == rtjmay > writes: > > r> Is this a bug in ledger-mode, or am I doing something incorrectly? > >

Re: Emcas: Trying to complete an entry via C-TAB doesn't seem to work

2016-08-06 Thread Craig Earls
You are supposed to put the date of the transaction in first, then the partial payee name. Then it works fine. I will look into improving the error response. On Sat, Aug 6, 2016 at 1:53 AM, Kaito Michishige wrote: > Hi! > > I was looking at using xact to make adding entries

Re: Moving ledger-mode out of the main ledger repository

2016-08-04 Thread Craig Earls
I agree. I will work this this weekend. On Thursday, August 4, 2016, Simon Michael wrote: > This is great. It will be clearer what's happening in each project. It's > also nice that ledger-mode's commit history was preserved. > > Craig, how about moving ledger-mode issue

Moving ledger-mode out of the main ledger repository

2016-08-02 Thread Craig Earls
Works for me. As far as synchronizing releases there isnt much necessary. Unless the interface changes ledger node is happy with 3.x version. On Tuesday, August 2, 2016, Ben Finney > wrote:

Re: Moving ledger-mode out of the main ledger repository

2016-08-02 Thread Craig Earls
Works for me. As far as synchronizing releases there isnt much necessary. Unless the interface changes ledger-mode is happy with 3.x version. On Tuesday, August 2, 2016, Ben Finney wrote: > "John Wiegley" > > writes: > > >

Re: Extremely weird balance issues

2016-07-30 Thread Craig Earls
I am not sure what's going on either, but what shell are you using? $ signs need to be escaped in most of them. On Sat, Jul 30, 2016 at 9:17 AM, Manuel Amador (Rudd-O) wrote: > Hello, check this out with ledger 3.0 (numbers fudged, proportions kept): > >

Re: Feature idea: custom named reports!

2016-07-28 Thread Craig Earls
My most used reports run ledger a few times and format the output. I use python scripts for those. Simple reports are save in emacs modewhere they can be linked back to the input file. On Wednesday, July 27, 2016, Josh Hanson wrote: > Since I don't have every detail

Re: Creating balance report with transactions filtered by their value

2016-07-22 Thread Craig Earls
--limit "(amount > 100.00)" On Thursday, July 21, 2016, raczek wrote: > Hi everyone! > > Is it possible to create balance report for transactions that are > restricted by their value? > For example: "Show balance report for certain account for transactions > whose value

Re: Terminal date in period expressions

2016-06-28 Thread Craig Earls
Imagine the date is followed by 00:00:00. They are instants in time not entire days. On Tuesday, June 28, 2016, Vikas Rawal wrote: > The following period expression excludes transactions on March 31, 2016. > > --period 'from 2015/04/01 to 2016/03/31’ > > Is this a feature

Re: Format balance report as org table

2016-06-23 Thread Craig Earls
The easiest way is just to use shell to print any header or footer info prior to issuing the ledger command. On Thursday, June 23, 2016, Vikas Rawal wrote: > > > > > Yes. You need to write the fornat option to deliver what you want. > > > > Thanks. > > This gives me the

Re: Format balance report as org table

2016-06-23 Thread Craig Earls
Yes. You need to write the fornat option to deliver what you want. On Thursday, June 23, 2016, Vikas Rawal wrote: > I use org babel to create ledger reports in org mode. Is it possible to > get the output of the following report formatted as an org mode table? > > #+name:

Reporting value of a investment account over time

2016-06-01 Thread Craig Earls
I have been trying to crack this for a long time. I have gotten very close, but wonder if there is a better way. I track contributions to my retirement account using transactions like this: 2016-01-XX 401K Contribution Investments10.453 XYZ @@ $250.00 Income:Exempt I want a report

Re: Python API segmentation faults (was: Charts software for ledger?)

2016-04-20 Thread Craig Earls
I have been using ledger happily for five years now. I just havent put much effort into. On Wednesday, April 20, 2016, Ben Finney <ben+led...@benfinney.id.au> wrote: > "Manuel Amador (Rudd-O)" > <rud...@rudd-o.com <javascript:;>> writes: > > >

Re: Charts software for ledger?

2016-04-20 Thread Craig Earls
Since i have never gotten python to work without segfaults i cant answer On Wednesday, April 20, 2016, Manuel Amador (Rudd-O) wrote: > Hi! I'm looking for a program that will help me chart my net worth and > other such things such as expenses. > > The few programs I have

Re: Working with per-bank-account files

2016-03-19 Thread Craig Earls
tuned to the CSV i fet from my banks. On Thursday, March 17, 2016, Tobias Pfeiffer <tgpfeif...@web.de> wrote: > Hi Craig, > > On Thu, 17 Mar 2016 08:08:25 -0700 Craig Earls wrote: > > I use one big file. > > > > My account tree looks like th

Re: Working with per-bank-account files

2016-03-18 Thread Craig Earls
I use one big file. My account tree looks like this: Assets:BankA:Checking Assets:BankA:Savings Assets:BankB:Savings On Thu, Mar 17, 2016 at 7:55 AM, Tobias Pfeiffer wrote: > Hi, > > I wanted to ask the mailing list for a kind of "best practice" approach > when working

Re: reconcile ledger mode problem: no colors

2016-02-20 Thread Craig Earls
Jit-lock-mode is t in the reconcile buffer for performance. I had a complaint long ago from someone with thousands of unckered transaction that reconcile was too slow. On Saturday, February 20, 2016, Alan Schmitt wrote: > Hello, > > On 2016-02-20 17:12, Alexander

Re: reconcile ledger mode problem: no colors

2016-02-14 Thread Craig Earls
I had never heard of spacemacs before. I looked at it and it seems about as blasphemous an editor as could be constructed! I will see if I can get it running and take a look. On Sun, Feb 14, 2016 at 11:10 AM, Alan Schmitt < alan.schm...@polytechnique.org> wrote: > Hello, > > I'm giving

Re: Introducing: ledgerhelpers, a new way to enter Ledger data

2016-02-11 Thread Craig Earls
There is no Makefile in the source tree that I could find. On Thu, Feb 11, 2016 at 4:25 AM, Manuel Amador (Rudd-O) <rud...@rudd-o.com> wrote: > On 02/11/2016 03:08 AM, Craig Earls wrote: > > This seems interesting but requires jumping through serious hoops on > > Mac Os s

Re: Introducing: ledgerhelpers, a new way to enter Ledger data

2016-02-10 Thread Craig Earls
This seems interesting but requires jumping through serious hoops on Mac Os since El Capitan won't even let root create directories under /usr without disabling System Integrity Protection On Tue, Feb 9, 2016 at 8:29 PM, Manuel Amador (Rudd-O)

Re: new portal site for ledger-likes; content, naming

2016-02-08 Thread Craig Earls
Ledgerdemain, financial magic On Monday, February 8, 2016, Alex Johnstone wrote: > I too like plaintextaccounting. It's a little long but fits the intent. > Top google hits for it (for me) are wikipedia linking to Ledger-cli site, > and hledger. > > other "modern" urls could

Re: new docs site, anyone ?

2016-02-07 Thread Craig Earls
If we really wanted to make it easy to find info we could ask john about a name change. "Ledger" is a pretty common word. We should be all millenial and spell it ledjir or something else english-ish. On Sunday, February 7, 2016, Simon Michael wrote: > On 2/7/16 9:32 AM, John

Re: Extracting entries matching a tag

2016-02-06 Thread Craig Earls
ledger bal --file ledger.dat --limit "tag('SubProject')=='December workshops'" On Sat, Feb 6, 2016 at 1:35 AM, Vikas Rawal wrote: > This ought to be simple, but I am unable to figure it out. > > I want to print a subset of entries from my journal for which tag >

Re: Getting started; assigning accounts to bank .csv data

2016-02-01 Thread Craig Earls
I have a custom elisp mode that sucks in csv from my bank and sticks it in my ledger. The emacs ledger mode has enough built in autocompletion that hand rntering a few xavts here and there isnt onerous. Its all about the editor. On Monday, February 1, 2016, John Hendy wrote:

Re: Monthly summary of expenses to spreadsheet

2016-01-11 Thread Craig Earls
Yeah, multiple commodities in the same account are difficult to format. On Sun, Jan 10, 2016 at 9:50 PM, Alex Johnstone wrote: > Actually, that gave me a strange output, it didn't totalise the accounts. > However, switching to this got what I was after: > > ledger reg -M

Re: Monthly summary of expenses to spreadsheet

2016-01-09 Thread Craig Earls
Something like this: ledger reg --format "%(format_date(date, '%b')), %(account), %(quantity(amount)), %(commodity)\n" On Sat, Jan 9, 2016 at 10:31 PM, Alex Johnstone wrote: > Thanks for the offer, probably something like: > > month,account,amount,commodity > > So looking

Re: Monthly summary of expenses to spreadsheet

2016-01-09 Thread Craig Earls
BTW, If you want ledger to give you a monthly totals for all of your account in a CSV format you can try something like this: ledger bal --period "this month" Expenses --format "%(account), %(quantity(amount)), %(commodity(amount)) \n" On Sat, Jan 9, 2016 at 11:11 PM

Re: GnuCash interest

2015-12-17 Thread Craig Earls
The New Years Resolutions to "finally organize my finances" show up pretty clearly. On Wednesday, December 16, 2015, Martin Blais wrote: > Interesting trend... > https://www.google.com/trends/explore#q=gnucash > > (Before you bother trying: neither Ledger-cli nor Beancount

New "Check Ledger" feature in ledger-mode

2015-12-05 Thread Craig Earls
I added a basic "ledger check" feature to ledger-mode. It runs ledger --explicit --strict bal" on a non-existent account and captures any warnings in a buffer. You can navigate to the error from the check buffer. ​You run ledger check from the ledger menu."​ P.S. I accidentally unsubbed from

Re: Updated ledger.el to latest version and having some issues

2015-09-18 Thread Craig Earls
Shouldn't make a difference. On Fri, Sep 18, 2015 at 5:49 PM, John Louis Del Rosario wrote: > I updated ledger.el recently (via MELPA) and I've noticed that saving my > ledger file no longer refreshes the report buffer. > Could this have something to do with the recent release

Re: Ledger doesn't find files with relative paths in the include statement

2015-08-31 Thread Craig Earls
If you want it to include files regardless of the working directory you are using you need to put fully qualified path names into your data files. Or, you can put your ledger commands into batch files and have the batch files move into the correct directories. On Mon, Aug 31, 2015 at 4:03 AM,

Re: Sub-directores of the ledger not showing-

2015-08-29 Thread Craig Earls
What is in your .ledgerrc? On Saturday, August 29, 2015, Kev Lau superinterstel...@gmail.com wrote: Hi, I am unable to access the sub-directories of the ledger. Currently when I do ledger -f company.bat My output looks as follows:- US$1,000.00 ASSETS US$500.00 EXPENSES

  1   2   3   4   5   6   7   8   9   >