Re: accounting

2021-01-05 Thread Ihor Radchenko
Also, ledger can format output as Elisp sexp (with emacs command). That should be easier to parse. Best, Ihor

Re: accounting

2021-01-05 Thread Eric S Fraga
On Tuesday, 5 Jan 2021 at 16:35, Uwe Brauer wrote: > Yeah, your solution does not work for the example I had in mind > but I realize now what I miss: the output should be an org table If the ledger formatting options cannot help you (they are potentially quite powerful), all I can suggest is a po

Re: accounting

2021-01-05 Thread Uwe Brauer
>>> "CM" == Charles Millar writes: > On 1/4/21 3:54 AM, Uwe Brauer wrote: >> Hi >> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >> Points out how to use ledger within org mode. >> Is there any simpler solution? >> Regards >> Uwe Brauer >> > If "simpler" means just maki

Re: accounting

2021-01-05 Thread Uwe Brauer
> On Monday, 4 Jan 2021 at 21:01, Uwe Brauer wrote: > Yes. > Sorry I was brief: I cut and pasted something from one of my files while > in a rush! > Basically, you could do: > #+begin_src ledger :cmdline -V --format "%-20A %14T\n" bal --flat assets > 2010/01/01 * Starting balance > assets:

Re: accounting

2021-01-04 Thread Uwe Brauer
> On 04/01/2021 21:04, Uwe Brauer wrote: > https://beancount.github.io/ > is the project home page. You can find the documentation here: > https://beancount.github.io/docs/ > I haven't submitted beancount-mode to any Emacs package repository yet, > there is still some work I would like to do b

Re: accounting

2021-01-04 Thread Daniele Nicolodi
On 04/01/2021 21:04, Uwe Brauer wrote: "DN" == Daniele Nicolodi writes: > >> On 04/01/2021 09:54, Uwe Brauer wrote: >>> Hi >>> >>> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >>> >>> Points out how to use ledger within org mode. >>>

Re: accounting

2021-01-04 Thread Samuel Wales
i don't know if this is the best, but for some reason i had it so that ledger goes into a block [used to be example or so, now is ledger], and then post-process it with a shell source block. perhaps this will make more sense [in the distant past it made more sense to me]. when i process it, i cal

Re: Accounting WAS Emacs-orgmode Digest, Vol 179, Issue 4

2021-01-04 Thread Uwe Brauer
> Also, in practical terms for day to day, rather than input things manually, > I highly recommend downloading csvs (or similar formats) from your bank and > using the ruby gem `reckon` which is a bayesian predictor that will learn > from your ledger on how to expense your bank account entries and

Re: accounting

2021-01-04 Thread Uwe Brauer
>>> "DN" == Daniele Nicolodi writes: > On 04/01/2021 09:54, Uwe Brauer wrote: >> Hi >> >> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >> >> Points out how to use ledger within org mode. >> >> Is there any simpler solution? > As other poi

Re: accounting

2021-01-04 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > On Monday, 4 Jan 2021 at 13:43, Uwe Brauer wrote: >> The example in this link is ok, also the output (the result of the >> ledger operation) is not very nicely formatted. > ledger does allow you to control, in detail, how the output should be >

Re: Accounting WAS Emacs-orgmode Digest, Vol 179, Issue 4

2021-01-04 Thread Daryl Manning
;d personally love to see people build some more tools on top of the ledger format. I keep wanting to take a shot at some portfolio tools, but never seem to be able to fit in the time. =] On Tue, Jan 5, 2021 at 1:01 AM wrote: > > 19. accounting (Uwe Brauer) > 20. Re: accounting (Er

Re: accounting

2021-01-04 Thread Eric S Fraga
On Monday, 4 Jan 2021 at 13:43, Uwe Brauer wrote: > The example in this link is ok, also the output (the result of the > ledger operation) is not very nicely formatted. ledger does allow you to control, in detail, how the output should be formatted. The default output is suitable for a console d

Re: accounting

2021-01-04 Thread Charles Millar
On 1/4/21 3:54 AM, Uwe Brauer wrote: Hi https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html Points out how to use ledger within org mode. Is there any simpler solution? Regards Uwe Brauer If "simpler" means just making entries into your ledger.dat file using orgmode y

Re: accounting

2021-01-04 Thread Uwe Brauer
>>> "AB" == Arne Babenhauserheide writes: > Uwe Brauer writes: >> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >> >> Points out how to use ledger within org mode. >> >> Is there any simpler solution? > Do you mean simpler accounting in org-mode

Re: accounting

2021-01-04 Thread Daniele Nicolodi
On 04/01/2021 09:54, Uwe Brauer wrote: > Hi > > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html > > Points out how to use ledger within org mode. > > Is there any simpler solution? As other pointed out, you are not describing what you want to accomplish, thus is impossi

Re: accounting

2021-01-04 Thread Dr. Arne Babenhauserheide
Uwe Brauer writes: > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html > > Points out how to use ledger within org mode. > > Is there any simpler solution? Do you mean simpler accounting in org-mode, or do you mean simpler ledger-integration? You can always tangle your le

Re: accounting

2021-01-04 Thread Eric S Fraga
On Monday, 4 Jan 2021 at 09:54, Uwe Brauer wrote: > Points out how to use ledger within org mode. > Is there any simpler solution? How do you wish it to be simpler? What is it you wish to do? -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-166-g291993