emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ANN] Org Invoice 1.0.0
@ 2008-11-26 18:01 Peter Jones
  2008-11-26 20:21 ` Oliver Charles
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Peter Jones @ 2008-11-26 18:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

All,

I thought I'd share some elisp that I'm using in conjunction with
org-mode for helping me prepare invoices.

The attached file is useful for producing an org mode dblock that groups
headings by date and calculates billing information based on your hourly
rate.  It also has a clean API for other elisp packages to use.

I currently have another elisp file that submits the invoice data to my
private invoicing system, and I'm working on another that submits to
FreshBooks (a web-based accounting package that one of my clients uses).

At some point in the future, if there's enough interest I'll post this
to Worg with a tutorial.

To those org-mode users in the US that are celebrating Thanksgiving,
have a Happy Holidays!


[-- Attachment #2: org-invoice.el --]
[-- Type: application/emacs-lisp, Size: 16297 bytes --]

[-- Attachment #3: Type: text/plain, Size: 65 bytes --]


-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-11-26 18:01 [ANN] Org Invoice 1.0.0 Peter Jones
@ 2008-11-26 20:21 ` Oliver Charles
  2008-12-06 19:36 ` Mark A. Hershberger
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 28+ messages in thread
From: Oliver Charles @ 2008-11-26 20:21 UTC (permalink / raw)
  To: Peter Jones; +Cc: emacs-orgmode

Wow, great work - this looks really useful! I'm gonna have a play now :)

Thanks for posting!
- Ollie

On Wed, Nov 26, 2008 at 6:01 PM, Peter Jones <mlists@pmade.com> wrote:
> All,
>
> I thought I'd share some elisp that I'm using in conjunction with
> org-mode for helping me prepare invoices.
>
> The attached file is useful for producing an org mode dblock that groups
> headings by date and calculates billing information based on your hourly
> rate.  It also has a clean API for other elisp packages to use.
>
> I currently have another elisp file that submits the invoice data to my
> private invoicing system, and I'm working on another that submits to
> FreshBooks (a web-based accounting package that one of my clients uses).
>
> At some point in the future, if there's enough interest I'll post this
> to Worg with a tutorial.
>
> To those org-mode users in the US that are celebrating Thanksgiving,
> have a Happy Holidays!
>
>
> --
> Peter Jones, http://pmade.com
> pmade inc.  Louisville, CO US
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-11-26 18:01 [ANN] Org Invoice 1.0.0 Peter Jones
  2008-11-26 20:21 ` Oliver Charles
@ 2008-12-06 19:36 ` Mark A. Hershberger
  2008-12-06 21:34   ` Peter Jones
  2008-12-11  0:49 ` [ANN] Org Invoice 1.0.0 Oliver Charles
  2008-12-11 11:38 ` Ulf Stegemann
  3 siblings, 1 reply; 28+ messages in thread
From: Mark A. Hershberger @ 2008-12-06 19:36 UTC (permalink / raw)
  To: emacs-orgmode

Peter Jones <mlists@pmade.com> writes:

> I thought I'd share some elisp that I'm using in conjunction with
> org-mode for helping me prepare invoices.

Very nice.  I was looking for something like this.

Now, if I can just figure out how to integrate invoicing and ledger....

Mark.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-12-06 19:36 ` Mark A. Hershberger
@ 2008-12-06 21:34   ` Peter Jones
  2008-12-06 21:54     ` Tim O'Callaghan
  2008-12-07 20:23     ` Mark A. Hershberger
  0 siblings, 2 replies; 28+ messages in thread
From: Peter Jones @ 2008-12-06 21:34 UTC (permalink / raw)
  To: emacs-orgmode

mah@everybody.org (Mark A. Hershberger) writes:
> Now, if I can just figure out how to integrate invoicing and ledger....

Is ledger an application, or some additional org functionality you want?

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Re: [ANN] Org Invoice 1.0.0
  2008-12-06 21:34   ` Peter Jones
@ 2008-12-06 21:54     ` Tim O'Callaghan
  2008-12-07 20:23     ` Mark A. Hershberger
  1 sibling, 0 replies; 28+ messages in thread
From: Tim O'Callaghan @ 2008-12-06 21:54 UTC (permalink / raw)
  To: emacs-orgmode

I think he means:

http://www.newartisans.com/software/ledger.html

Tim.

2008/12/6 Peter Jones <mlists@pmade.com>:
> mah@everybody.org (Mark A. Hershberger) writes:
>> Now, if I can just figure out how to integrate invoicing and ledger....
>
> Is ledger an application, or some additional org functionality you want?
>
> --
> Peter Jones, http://pmade.com
> pmade inc.  Louisville, CO US
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-12-06 21:34   ` Peter Jones
  2008-12-06 21:54     ` Tim O'Callaghan
@ 2008-12-07 20:23     ` Mark A. Hershberger
  2008-12-07 22:25       ` Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0) Carsten Dominik
  1 sibling, 1 reply; 28+ messages in thread
From: Mark A. Hershberger @ 2008-12-07 20:23 UTC (permalink / raw)
  To: emacs-orgmode

Peter Jones <mlists@pmade.com> writes:

> mah@everybody.org (Mark A. Hershberger) writes:
>> Now, if I can just figure out how to integrate invoicing and ledger....
>
> Is ledger an application, or some additional org functionality you want?

http://www.newartisans.com/software/ledger.html (Thanks, Tim, for the
link.)

A new tax year is starting up and I'm looking at how I do accounting
again — along with all the regrets about the past being less than
perfect.

Adapting my usage of Org for invoicing to work with org-invoice would
help a lot.  Integrating it with ledger would help that much more.

Mark.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0)
  2008-12-07 20:23     ` Mark A. Hershberger
@ 2008-12-07 22:25       ` Carsten Dominik
  2008-12-07 22:51         ` Russell Adams
  2008-12-08 16:58         ` Org and Ledger Mark A. Hershberger
  0 siblings, 2 replies; 28+ messages in thread
From: Carsten Dominik @ 2008-12-07 22:25 UTC (permalink / raw)
  To: Mark A. Hershberger; +Cc: emacs-orgmode

Hi Mark,

John Wiegley also asked me recently if there would be a path for  
intergating
Org with ledger in some way, because apparently this has been brought  
up on the ledger mailing list.  I have never used ledger, and so I  
have no picture in my head of what would be useful.  Maybe we should  
have a discussion of ideas here?

- Carsten

On Dec 7, 2008, at 9:23 PM, Mark A. Hershberger wrote:

> Peter Jones <mlists@pmade.com> writes:
>
>> mah@everybody.org (Mark A. Hershberger) writes:
>>> Now, if I can just figure out how to integrate invoicing and  
>>> ledger....
>>
>> Is ledger an application, or some additional org functionality you  
>> want?
>
> http://www.newartisans.com/software/ledger.html (Thanks, Tim, for the
> link.)
>
> A new tax year is starting up and I'm looking at how I do accounting
> again — along with all the regrets about the past being less than
> perfect.
>
> Adapting my usage of Org for invoicing to work with org-invoice would
> help a lot.  Integrating it with ledger would help that much more.
>
> Mark.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0)
  2008-12-07 22:25       ` Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0) Carsten Dominik
@ 2008-12-07 22:51         ` Russell Adams
  2008-12-08 16:58         ` Org and Ledger Mark A. Hershberger
  1 sibling, 0 replies; 28+ messages in thread
From: Russell Adams @ 2008-12-07 22:51 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, Dec 07, 2008 at 11:25:32PM +0100, Carsten Dominik wrote:
> Hi Mark,
>
> John Wiegley also asked me recently if there would be a path for  
> intergating
> Org with ledger in some way, because apparently this has been brought up 
> on the ledger mailing list.  I have never used ledger, and so I have no 
> picture in my head of what would be useful.  Maybe we should have a 
> discussion of ideas here?
>
> - Carsten

Ledger rocks as a double entry accounting tool. I've been using it for
some basic accounting, expense reports, and more with latex & perl. I
even wrote a CSV importer (CSV2Ledger) that provides much of the
functionality I felt was missing from importers in other packages (ie:
Gnucash).

On the flip side, Ledger is exactly that, a double entry accounting
tool. Not more, or less. I'm faced with needing the ability to
integrate it into some business workflows (ie: expense reporting,
invoicing cycles, tax reporting, etc) which I'll have to write all of
the logic myself. I can use Ledger for the data, but I have to code
the workflows I require.

I've been struggling with this for several months, because I want to
avoid solutions like Quickbooks that provide a workflow coupled to an
accounting backend with proprietary formats in that other OS. I'm
certainly open to suggestions.

Thanks.

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and Ledger
  2008-12-07 22:25       ` Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0) Carsten Dominik
  2008-12-07 22:51         ` Russell Adams
@ 2008-12-08 16:58         ` Mark A. Hershberger
  1 sibling, 0 replies; 28+ messages in thread
From: Mark A. Hershberger @ 2008-12-08 16:58 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Carsten Dominik

Carsten Dominik <dominik@science.uva.nl> writes:

> I have never used ledger, and so I have no picture in my head of
> what would be useful.  Maybe we should have a discussion of ideas
> here?

I think Russell Adams gives a hint at the problem:

> I'm faced with needing the ability to integrate it into some business
> workflows (ie: expense reporting, invoicing cycles, tax reporting,
> etc) which I'll have to write all of the logic myself. I can use
> Ledger for the data, but I have to code the workflows I require.

With the introduction of org-invoice, I can begin to see my way through
this muddled mess.

Ideally, when I generate an invoice, I could verify that all was correct
and invoke some sort of “send-to-client” function that would make an
entry in ledger's “Accounts Receivable” as well as emailing the invoice
to the client (or updating FreshBooks, or what have you).

Another idea is budgeting: Org and its tables seems like natural fit
for this.  If I could easily tie org to ledger accounts, maybe I could
see when I'm spending more than is budgeted.

Or if I keep track of a “TO BUY” list in org and need to save money for
some big ticket item, maybe I could have Org query ledger to see how
much money I have saved.

Pie-in-the-sky ideas, and my use of ledger as-yet is non-existent, but
this would really help.

Mark.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-11-26 18:01 [ANN] Org Invoice 1.0.0 Peter Jones
  2008-11-26 20:21 ` Oliver Charles
  2008-12-06 19:36 ` Mark A. Hershberger
@ 2008-12-11  0:49 ` Oliver Charles
  2008-12-11  4:23   ` Peter Jones
  2008-12-11 11:38 ` Ulf Stegemann
  3 siblings, 1 reply; 28+ messages in thread
From: Oliver Charles @ 2008-12-11  0:49 UTC (permalink / raw)
  To: Peter Jones; +Cc: emacs-orgmode

Hi Peter,

I tried emailing you about this when it was first released, but I
didn't have any reply, so I'll try again (please forgive my rudeness
if I'm being ignored on purpose! ;)

've just been having a play - and not
having much luck getting any output. I use org-mode with odd-levels on
by default.

I've tried setting `org-invoice-default-level' to 3, but that doesn't
seem to change the situtation. I've tried these invoices:

With `org-invoice-default-level' set to *2*:

* Invoices
** An Invoice Header
*** [2008-11-25 Tue] An Invoice Item
   :PROPERTIES:
   :WORK:     0:10
   :CLOCKSUM: 0:10
   :END:

#+BEGIN: invoice
| Task / Date | Time | Price |
|-------------+------+-------|
| Total:      | 0:00 |  0.00 |
#+END:

Any idea what I'm missing? If I can get this working with the default
org-mode setup, I can then start fiddling and changing this to suit my
setup (invoices start at level 3, etc)

On Wed, Nov 26, 2008 at 6:01 PM, Peter Jones <mlists@pmade.com> wrote:
> At some point in the future, if there's enough interest I'll post this
> to Worg with a tutorial.

Please do, this would be much appreciated!

-Ollie

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-12-11  0:49 ` [ANN] Org Invoice 1.0.0 Oliver Charles
@ 2008-12-11  4:23   ` Peter Jones
  2008-12-11 10:05     ` Oliver Charles
  0 siblings, 1 reply; 28+ messages in thread
From: Peter Jones @ 2008-12-11  4:23 UTC (permalink / raw)
  To: emacs-orgmode

"Oliver Charles" <oliver.g.charles@googlemail.com> writes:
> I tried emailing you about this when it was first released, but I
> didn't have any reply, so I'll try again (please forgive my rudeness
> if I'm being ignored on purpose! ;)

Oliver, I'm not ignoring you, your email must have found its way to my
spam folder.  Sorry about that!

> 've just been having a play - and not
> having much luck getting any output. I use org-mode with odd-levels on
> by default.
>
> I've tried setting `org-invoice-default-level' to 3, but that doesn't
> seem to change the situtation. I've tried these invoices:
>
> With `org-invoice-default-level' set to *2*:
>
> * Invoices
> ** An Invoice Header
> *** [2008-11-25 Tue] An Invoice Item
>    :PROPERTIES:
>    :WORK:     0:10
>    :CLOCKSUM: 0:10
>    :END:
>
> #+BEGIN: invoice
> | Task / Date | Time | Price |
> |-------------+------+-------|
> | Total:      | 0:00 |  0.00 |
> #+END:
>
> Any idea what I'm missing? If I can get this working with the default
> org-mode setup, I can then start fiddling and changing this to suit my
> setup (invoices start at level 3, etc)

Since you are using odd levels, set org-invoice-default-level to 2, and
use a structure like this:

* Invoices
*** An Invoice Header
***** [2008-11-25 Tue] An Invoice Item
   :PROPERTIES:
   :WORK:     0:10
   :CLOCKSUM: 0:10
   :END:

#+BEGIN: invoice
| Task / Date | Time | Price |
|-------------+------+-------|
| Total:      | 0:00 |  0.00 |
#+END:

This is based on what I know about org-odd-levels-only, which isn't
much.  org-invoice should correctly move up to the 3-star heading if you
set org-invoice-default-level to 2.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Re: [ANN] Org Invoice 1.0.0
  2008-12-11  4:23   ` Peter Jones
@ 2008-12-11 10:05     ` Oliver Charles
  0 siblings, 0 replies; 28+ messages in thread
From: Oliver Charles @ 2008-12-11 10:05 UTC (permalink / raw)
  To: Peter Jones; +Cc: emacs-orgmode

Excellent! Thank you very much, I wonder how I missed that :) Seems
like a great package, I'll try and give it some more extensive testing
later

On Thu, Dec 11, 2008 at 4:23 AM, Peter Jones <mlists@pmade.com> wrote:
> "Oliver Charles" <oliver.g.charles@googlemail.com> writes:
>> I tried emailing you about this when it was first released, but I
>> didn't have any reply, so I'll try again (please forgive my rudeness
>> if I'm being ignored on purpose! ;)
>
> Oliver, I'm not ignoring you, your email must have found its way to my
> spam folder.  Sorry about that!
>
>> 've just been having a play - and not
>> having much luck getting any output. I use org-mode with odd-levels on
>> by default.
>>
>> I've tried setting `org-invoice-default-level' to 3, but that doesn't
>> seem to change the situtation. I've tried these invoices:
>>
>> With `org-invoice-default-level' set to *2*:
>>
>> * Invoices
>> ** An Invoice Header
>> *** [2008-11-25 Tue] An Invoice Item
>>    :PROPERTIES:
>>    :WORK:     0:10
>>    :CLOCKSUM: 0:10
>>    :END:
>>
>> #+BEGIN: invoice
>> | Task / Date | Time | Price |
>> |-------------+------+-------|
>> | Total:      | 0:00 |  0.00 |
>> #+END:
>>
>> Any idea what I'm missing? If I can get this working with the default
>> org-mode setup, I can then start fiddling and changing this to suit my
>> setup (invoices start at level 3, etc)
>
> Since you are using odd levels, set org-invoice-default-level to 2, and
> use a structure like this:
>
> * Invoices
> *** An Invoice Header
> ***** [2008-11-25 Tue] An Invoice Item
>   :PROPERTIES:
>   :WORK:     0:10
>   :CLOCKSUM: 0:10
>   :END:
>
> #+BEGIN: invoice
> | Task / Date | Time | Price |
> |-------------+------+-------|
> | Total:      | 0:00 |  0.00 |
> #+END:
>
> This is based on what I know about org-odd-levels-only, which isn't
> much.  org-invoice should correctly move up to the 3-star heading if you
> set org-invoice-default-level to 2.
>
> --
> Peter Jones, http://pmade.com
> pmade inc.  Louisville, CO US
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-11-26 18:01 [ANN] Org Invoice 1.0.0 Peter Jones
                   ` (2 preceding siblings ...)
  2008-12-11  0:49 ` [ANN] Org Invoice 1.0.0 Oliver Charles
@ 2008-12-11 11:38 ` Ulf Stegemann
  2008-12-11 15:14   ` Peter Jones
  3 siblings, 1 reply; 28+ messages in thread
From: Ulf Stegemann @ 2008-12-11 11:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi Peter,

Peter Jones <mlists@pmade.com> wrote:

> I thought I'd share some elisp that I'm using in conjunction with
> org-mode for helping me prepare invoices.
>
> The attached file is useful for producing an org mode dblock that groups
> headings by date and calculates billing information based on your hourly
> rate.  It also has a clean API for other elisp packages to use.

yesterday, I had the time to have a quick look at org-invoice. It
already looks very interesting. Thank you for sharing this.

If you plan to expand your package I'd have suggestions for it:
Currently, times are always given as hours and rates as hourly rates. 
This is fine for a collection of smaller tasks. For projects it's much
more common to use person days, -weeks or -months. So it would be nice
if one could choose between these calculation schemes (or if the best
scheme would be chosen automatically). NB that it's quite common that a
person day is not hourly rate times eight, so different rates would be
necessary, too. And while we are at it, a column that indicates the rate
used would be fine.

Another nice feature would be to have invoice items with a fixed price,
i.e. where the price is not calculated based on work or clock time.
Imagine e.g. hardware sold along with IT services or things like that.

Those things are rather ideas than feature requests but nevertheless, I
thought I'll let you know as I think org-invoice has quite a good
potential, e.g. I can imagine that it's not only handy for actual
invoices but also for project planning, cost estimates, bids and all
other things where a cost component is involved.

Ulf

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [ANN] Org Invoice 1.0.0
  2008-12-11 11:38 ` Ulf Stegemann
@ 2008-12-11 15:14   ` Peter Jones
  0 siblings, 0 replies; 28+ messages in thread
From: Peter Jones @ 2008-12-11 15:14 UTC (permalink / raw)
  To: emacs-orgmode

Ulf Stegemann <ulf-news@zeitform.de> writes:
> If you plan to expand your package I'd have suggestions for it:
> Currently, times are always given as hours and rates as hourly rates. 
> This is fine for a collection of smaller tasks. For projects it's much
> more common to use person days, -weeks or -months. So it would be nice
> if one could choose between these calculation schemes (or if the best
> scheme would be chosen automatically). NB that it's quite common that a
> person day is not hourly rate times eight, so different rates would be
> necessary, too. And while we are at it, a column that indicates the rate
> used would be fine.
>
> Another nice feature would be to have invoice items with a fixed price,
> i.e. where the price is not calculated based on work or clock time.
> Imagine e.g. hardware sold along with IT services or things like that.
>
> Those things are rather ideas than feature requests but nevertheless, I
> thought I'll let you know as I think org-invoice has quite a good
> potential, e.g. I can imagine that it's not only handy for actual
> invoices but also for project planning, cost estimates, bids and all
> other things where a cost component is involved.

Great ideas Ulf, thanks.  I've started a TODO file for org-invoice
(using Org of course).  I'll probably be adding new features to it after
the new year.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Org and ledger
@ 2014-10-31  7:02 Vikas Rawal
  2014-10-31 18:56 ` Eric Abrahamsen
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Vikas Rawal @ 2014-10-31  7:02 UTC (permalink / raw)
  To: org-mode mailing list

I have started using ledger with Org, and would be interested in knowing experiences of other users.

I see two sets of uses in combining Ledger with Org.

1. Record keeping of transactions: Org works with ledger mainly through babel. Has anyone considered the possibility of maintaining the records natively in Org, which could be exported to ledger? Keeping native ledger source blocks in Org does not seem to add much value as far as maintaining books is concerned. Some people have tried some basic expense recording in Org, but to my knowledge, these solutions do not talk to ledger.

2. Generating reports: Babel results do not use the standard Org table syntax. Given my limited knowledge of lisp, I am finding it difficult to programme customising these reports in Org. It would be of much benefit if other users could share how they customise ledger reports in Org. Some examples would be great.

Vikas

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-10-31  7:02 Org and ledger Vikas Rawal
@ 2014-10-31 18:56 ` Eric Abrahamsen
  2014-11-03 16:32 ` Eric S Fraga
  2014-11-06 17:27 ` Alan Schmitt
  2 siblings, 0 replies; 28+ messages in thread
From: Eric Abrahamsen @ 2014-10-31 18:56 UTC (permalink / raw)
  To: emacs-orgmode

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> I have started using ledger with Org, and would be interested in knowing experiences of other users.
>
> I see two sets of uses in combining Ledger with Org.
>
> 1. Record keeping of transactions: Org works with ledger mainly
> through babel. Has anyone considered the possibility of maintaining
> the records natively in Org, which could be exported to ledger?
> Keeping native ledger source blocks in Org does not seem to add much
> value as far as maintaining books is concerned. Some people have tried
> some basic expense recording in Org, but to my knowledge, these
> solutions do not talk to ledger.

I've certainly thought about it :)

I think the ideal solution for me would be org headings with
ledger-specific properties. So you could have date and payee properties
(defaulting to using the heading text and any timestamp present), and
then as many LEDGER_POSTING properties as you like. You could "export" a
subtree of postings to a real ledger file, and there would be an
export-and-archive command that would "permanently retire" a set of org
headings as a ledger file.

When keeping track of payments I need to make, or need to receive, the
duplication of data in my org and ledger files has always annoyed me.

I haven't actually done anything about it, though :)

> 2. Generating reports: Babel results do not use the standard Org table
> syntax. Given my limited knowledge of lisp, I am finding it difficult
> to programme customising these reports in Org. It would be of much
> benefit if other users could share how they customise ledger reports
> in Org. Some examples would be great.

Can't help here, sorry.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-10-31  7:02 Org and ledger Vikas Rawal
  2014-10-31 18:56 ` Eric Abrahamsen
@ 2014-11-03 16:32 ` Eric S Fraga
  2014-11-06 17:27 ` Alan Schmitt
  2 siblings, 0 replies; 28+ messages in thread
From: Eric S Fraga @ 2014-11-03 16:32 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

On Friday, 31 Oct 2014 at 12:32, Vikas Rawal wrote:
> I have started using ledger with Org, and would be interested in knowing experiences of other users.

I use ledger within org in the literate programming sense.  This allows
me to have different ledger entries all over the place under different
headings but can then use one src block to generate whatever I want,
either a balance or a register, say.

> 2. Generating reports: Babel results do not use the standard Org table
> syntax. 

Yes, this is true.  It may be possible to change the output of ledger
(using --format, say) to something that babel could process into a
table.  However, I do find ledger a little clumsy in this regard but
maybe that's just the documentation.  

An extra complication is the big difference between ledger v2 and v3 in
terms of invoking it.  What version are you using?
 
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-10-31  7:02 Org and ledger Vikas Rawal
  2014-10-31 18:56 ` Eric Abrahamsen
  2014-11-03 16:32 ` Eric S Fraga
@ 2014-11-06 17:27 ` Alan Schmitt
  2014-11-07 13:19   ` Sharon Kimble
  2 siblings, 1 reply; 28+ messages in thread
From: Alan Schmitt @ 2014-11-06 17:27 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 3574 bytes --]

On 2014-10-31 12:32, Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> 2. Generating reports: Babel results do not use the standard Org table
> syntax. Given my limited knowledge of lisp, I am finding it difficult
> to programme customising these reports in Org. It would be of much
> benefit if other users could share how they customise ledger reports
> in Org. Some examples would be great.

I generate reports and deal with my budget using org. I describe my
setup here:
http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html

Since then, I've slightly refined these functions, here is the current
version:

#+begin_src org
#+name: call_ledger
#+begin_src emacs-lisp :var lcmd="bal" :var bucket="Quotidien" :var prefix="Expenses:" :var period=()
  (let* ((name (org-trim bucket))
         (bname (concat "'^" prefix name "'"))
         (ledger "ledger -f ~/Documents/Org/mescomptes.ledger")
         (parg (when period (concat " -p '" period "'")))
         (cutcmd "tail -1 | cut -d ' ' -f 2")
         (cmd 
          (concat ledger " -J " parg " " lcmd " " bname " | " cutcmd))
         (res (org-trim (shell-command-to-string cmd))))
    (if (equal res "") 0 res))
#+end_src

#+name: monthly_average_since
#+begin_src emacs-lisp :var start-date="2014-03-01" :var amount=100
  (let ((nbdays (- (time-to-days (current-time))
                   (time-to-days (org-read-date nil t start-date)))))
    (calc-eval "round($ / (12 * ($$ / 365.25)), 2)" nil amount nbdays))
#+end_src

#+name: monthly_average
#+begin_src emacs-lisp :var starty=2014 :var startm=3 :var amount=100 
  (let* ((tm (decode-time))
         (cmonth (nth 4 tm))
         (cyear (nth 5 tm))
         (nbmonths (+ (* 12 (- cyear starty)) (- cmonth startm))))
    (calc-eval "round($ / $$, 2)" nil amount nbmonths))
#+end_src

#+name: ledger_average
#+begin_src emacs-lisp :var b="Quotidien" :var sy=2014 :var sm=3  :var sd="2014-03-01" :var p="Expenses:"
  (let* ((per (format "from %d-%d-01 to this month" sy sm))
         (a (org-sbe call_ledger (bucket (eval b)) (prefix (eval p)) (period (eval per)))))
    (org-sbe monthly_average (amount (eval a)) (starty (eval sy)) (startm (eval sm))))
#+end_src

#+name: ledger_budget
#+BEGIN_SRC emacs-lisp :results output :var table=budget :var year=2014 :var month=04
  (princ (format "%d-%02d-01 * Budget %d %02d\n" year month year month))
  (mapcar
   (lambda (tuple)
     (princ (format "    Bucket:Expenses:%s    %d €\n" (car tuple) (cadr tuple))))
   (butlast (cdr table) 1))
  (princ "    Bucket:Unallocated:EUR\n")
#+END_SRC
#+end_src

The table looks like this now

#+begin_src org
#+name: budget
| Bucket | Planned | Remaining | This Month | Last Month | Average |
|--------+---------+-----------+------------+------------+---------|
| Name   | …       | …         | …          | …          | …       |
|--------+---------+-----------+------------+------------+---------|
| Total  | …       | …         | …          | …          | …       |
#+TBLFM: @2$3..@>>$3='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (prefix "\"Bucket:Expenses:\""))
#+TBLFM: @2$4..@>>$4='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (period "\"this month\""))
#+TBLFM: @2$5..@>>$5='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (period "\"last month\""))
#+TBLFM: @2$6..@>>$6='(org-sbe ledger_average (b (concat "\"" $1 "\"")))
#+TBLFM: @>$2..@>$6=vsum(@2..@-1)
#+end_src

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-06 17:27 ` Alan Schmitt
@ 2014-11-07 13:19   ` Sharon Kimble
  2014-11-07 13:36     ` Eric Abrahamsen
  2014-11-07 18:51     ` Eric S Fraga
  0 siblings, 2 replies; 28+ messages in thread
From: Sharon Kimble @ 2014-11-07 13:19 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: org-mode mailing list, Vikas Rawal

[-- Attachment #1: Type: text/plain, Size: 4288 bytes --]

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

Thanks Alan for this. Ledger is something that I would dearly love to be
using, but I can't find a good tutorial [by which I mean, it works in
small steps which build on the previous steps]. I've looked at

http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
http://hledger.org/step-by-step

The last one looked the most promising until I tried "ledger add" which
replied -

--8<---------------cut here---------------start------------->8---
ledger add -f ~/.emacs.d/ledger/ledger.journal
Error: Unrecognized command 'add'
--8<---------------cut here---------------end--------------->8---

So now I'm stumped!

Sharon.

> On 2014-10-31 12:32, Vikas Rawal <vikaslists@agrarianresearch.org> writes:
<snip>.
>
> I generate reports and deal with my budget using org. I describe my
> setup here:
> http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
>
> Since then, I've slightly refined these functions, here is the current
> version:
>
> #+begin_src org
> #+name: call_ledger
> #+begin_src emacs-lisp :var lcmd="bal" :var bucket="Quotidien" :var prefix="Expenses:" :var period=()
>   (let* ((name (org-trim bucket))
>          (bname (concat "'^" prefix name "'"))
>          (ledger "ledger -f ~/Documents/Org/mescomptes.ledger")
>          (parg (when period (concat " -p '" period "'")))
>          (cutcmd "tail -1 | cut -d ' ' -f 2")
>          (cmd 
>           (concat ledger " -J " parg " " lcmd " " bname " | " cutcmd))
>          (res (org-trim (shell-command-to-string cmd))))
>     (if (equal res "") 0 res))
> #+end_src
> #+name: monthly_average_since
> #+begin_src emacs-lisp :var start-date="2014-03-01" :var amount=100
>   (let ((nbdays (- (time-to-days (current-time))
>                    (time-to-days (org-read-date nil t start-date)))))
>     (calc-eval "round($ / (12 * ($$ / 365.25)), 2)" nil amount nbdays))
> #+end_src
>
> #+name: monthly_average
> #+begin_src emacs-lisp :var starty=2014 :var startm=3 :var amount=100 
>   (let* ((tm (decode-time))
>          (cmonth (nth 4 tm))
>          (cyear (nth 5 tm))
>          (nbmonths (+ (* 12 (- cyear starty)) (- cmonth startm))))
>     (calc-eval "round($ / $$, 2)" nil amount nbmonths))
> #+end_src
>
> #+name: ledger_average
> #+begin_src emacs-lisp :var b="Quotidien" :var sy=2014 :var sm=3  :var sd="2014-03-01" :var p="Expenses:"
>   (let* ((per (format "from %d-%d-01 to this month" sy sm))
>          (a (org-sbe call_ledger (bucket (eval b)) (prefix (eval p)) (period (eval per)))))
>     (org-sbe monthly_average (amount (eval a)) (starty (eval sy)) (startm (eval sm))))
> #+end_src
>
> #+name: ledger_budget
> #+BEGIN_SRC emacs-lisp :results output :var table=budget :var year=2014 :var month=04
>   (princ (format "%d-%02d-01 * Budget %d %02d\n" year month year month))
>   (mapcar
>    (lambda (tuple)
>      (princ (format "    Bucket:Expenses:%s    %d €\n" (car tuple) (cadr tuple))))
>    (butlast (cdr table) 1))
>   (princ "    Bucket:Unallocated:EUR\n")
> #+END_SRC
> #+end_src
>
> The table looks like this now
>
> #+begin_src org
> #+name: budget
> | Bucket | Planned | Remaining | This Month | Last Month | Average |
> |--------+---------+-----------+------------+------------+---------|
> | Name   | &       | &         | &          | &          | &       |
> |--------+---------+-----------+------------+------------+---------|
> | Total  | &       | &         | &          | &          | &       |
> #+TBLFM: @2$3..@>>$3='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (prefix "\"Bucket:Expenses:\""))
> #+TBLFM: @2$4..@>>$4='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (period "\"this month\""))
> #+TBLFM: @2$5..@>>$5='(org-sbe call_ledger (bucket (concat "\"" $1 "\"")) (period "\"last month\""))
> #+TBLFM: @2$6..@>>$6='(org-sbe ledger_average (b (concat "\"" $1 "\"")))
> #+TBLFM: @>$2..@>$6=vsum(@2..@-1)
> #+end_src
>
> Best,
>
> Alan

-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 13:19   ` Sharon Kimble
@ 2014-11-07 13:36     ` Eric Abrahamsen
  2014-11-07 19:53       ` Sharon Kimble
  2014-11-07 18:51     ` Eric S Fraga
  1 sibling, 1 reply; 28+ messages in thread
From: Eric Abrahamsen @ 2014-11-07 13:36 UTC (permalink / raw)
  To: emacs-orgmode

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
> Thanks Alan for this. Ledger is something that I would dearly love to be
> using, but I can't find a good tutorial [by which I mean, it works in
> small steps which build on the previous steps]. I've looked at
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
> http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
> http://hledger.org/step-by-step
>
> The last one looked the most promising until I tried "ledger add" which
> replied -
>
> ledger add -f ~/.emacs.d/ledger/ledger.journal
> Error: Unrecognized command 'add'
>
> So now I'm stumped!

That last link is a tutorial for hledger, which actually isn't the same
as normal ledger -- it's sort of "inspired by" ledger, but has different
commands, as you discovered.

Documentation for ledger is a little spotty. I've found the official
docs to be better than anything else, though they still leave a little
to be desired:

http://www.ledger-cli.org/3.0/doc/ledger3.html#Ledger-Tutorial

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 13:19   ` Sharon Kimble
  2014-11-07 13:36     ` Eric Abrahamsen
@ 2014-11-07 18:51     ` Eric S Fraga
  2014-11-09  4:34       ` Daniel Clemente
  1 sibling, 1 reply; 28+ messages in thread
From: Eric S Fraga @ 2014-11-07 18:51 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: Alan Schmitt, org-mode mailing list, Vikas Rawal

On Friday,  7 Nov 2014 at 13:19, Sharon Kimble wrote:
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
> Thanks Alan for this. Ledger is something that I would dearly love to be
> using, but I can't find a good tutorial [by which I mean, it works in
> small steps which build on the previous steps]. I've looked at
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
> http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
> http://hledger.org/step-by-step
>
> The last one looked the most promising until I tried "ledger add" which
> replied -
>
> ledger add -f ~/.emacs.d/ledger/ledger.journal
> Error: Unrecognized command 'add'
>
> So now I'm stumped!

Well, ledger and hledger are different tools that use the same (very
similar) data files.  The invocation of each is different.  org supports
ledger out of the box but not hledger.

The ledger manual is good enough to get started, in my opinion, if you
stick to the simple examples and don't try to customise much.

There is a short org ledger tutorial on Worg.  I'm offline at the moment
so cannot give you the link but it's there!  I wrote it... :)

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 13:36     ` Eric Abrahamsen
@ 2014-11-07 19:53       ` Sharon Kimble
  2014-11-08 15:45         ` Eric S Fraga
  2014-11-10  7:37         ` Eric S Fraga
  0 siblings, 2 replies; 28+ messages in thread
From: Sharon Kimble @ 2014-11-07 19:53 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>>
>> Thanks Alan for this. Ledger is something that I would dearly love to be
>> using, but I can't find a good tutorial [by which I mean, it works in
>> small steps which build on the previous steps]. I've looked at
>>
>> http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
>> http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
>> http://hledger.org/step-by-step
>>
>> The last one looked the most promising until I tried "ledger add" which
>> replied -
>>
>> ledger add -f ~/.emacs.d/ledger/ledger.journal
>> Error: Unrecognized command 'add'
>>
>> So now I'm stumped!
>
> That last link is a tutorial for hledger, which actually isn't the same
> as normal ledger -- it's sort of "inspired by" ledger, but has different
> commands, as you discovered.
>
> Documentation for ledger is a little spotty. I've found the official
> docs to be better than anything else, though they still leave a little
> to be desired:
>
> http://www.ledger-cli.org/3.0/doc/ledger3.html#Ledger-Tutorial

Thanks Erik, that looks understandable and comprehensive, so I'll try
having a play with it over the weekend. And I reckon that I will be
keeping my own instruction docs which might be able to be used to setup
another tutorial later on, but lets try walking before running
though! :)

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 19:53       ` Sharon Kimble
@ 2014-11-08 15:45         ` Eric S Fraga
  2014-11-10  7:37         ` Eric S Fraga
  1 sibling, 0 replies; 28+ messages in thread
From: Eric S Fraga @ 2014-11-08 15:45 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: Eric Abrahamsen, emacs-orgmode

On Friday,  7 Nov 2014 at 19:53, Sharon Kimble wrote:

[...]

> having a play with it over the weekend. And I reckon that I will be
> keeping my own instruction docs which might be able to be used to setup
> another tutorial later on, but lets try walking before running
> though! :)
>
> Sharon.

Sharon,

I'm online now.  You can find the org tutorial for ledger with a simple
example at 

http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 18:51     ` Eric S Fraga
@ 2014-11-09  4:34       ` Daniel Clemente
  2014-11-09 13:29         ` Eric S Fraga
  0 siblings, 1 reply; 28+ messages in thread
From: Daniel Clemente @ 2014-11-09  4:34 UTC (permalink / raw)
  To: Sharon Kimble, Alan Schmitt, org-mode mailing list, Vikas Rawal


> Well, ledger and hledger are different tools that use the same (very
> similar) data files.  The invocation of each is different.  org supports
> ledger out of the box but not hledger.
> 
  I prefer beancount (very similar to ledger but stricter): beancount supports org out of the box! My beancount file is an org file (with structure, tasks, priorities, agenda, etc. except :CLOCK:) and it parses correctly as a ledger.
  So I don't use beancount support in org, but the reverse.
  It also includes Emacs mode, fontification, autocomplete, …
  http://furius.ca/beancount/
  

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-09  4:34       ` Daniel Clemente
@ 2014-11-09 13:29         ` Eric S Fraga
  2014-11-10  7:08           ` Bernhard Pröll
  0 siblings, 1 reply; 28+ messages in thread
From: Eric S Fraga @ 2014-11-09 13:29 UTC (permalink / raw)
  To: Daniel Clemente
  Cc: Alan Schmitt, org-mode mailing list, Vikas Rawal, Sharon Kimble

On Sunday,  9 Nov 2014 at 11:34, Daniel Clemente wrote:

[...]

>   I prefer beancount (very similar to ledger but stricter): beancount
> supports org out of the box! My beancount file is an org file (with
> structure, tasks, priorities, agenda, etc. except :CLOCK:) and it
> parses correctly as a ledger.

Interesting.  Could you post an example file?  The documentation you
linked to on Google docs does not mention org anywhere that I could see.

thanks.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-09 13:29         ` Eric S Fraga
@ 2014-11-10  7:08           ` Bernhard Pröll
  2014-11-10  9:08             ` Daniel Clemente
  0 siblings, 1 reply; 28+ messages in thread
From: Bernhard Pröll @ 2014-11-10  7:08 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Alan Schmitt, Vikas Rawal, Sharon Kimble

I have been curious too and found this file:

https://bitbucket.org/blais/beancount/src/tip/examples/tutorial/example.beancount

Eric S Fraga <e.fraga@ucl.ac.uk> schrieb am Sun, 09. Nov 13:29:
>On Sunday,  9 Nov 2014 at 11:34, Daniel Clemente wrote:
>
>[...]
>
>>   I prefer beancount (very similar to ledger but stricter): beancount
>> supports org out of the box! My beancount file is an org file (with
>> structure, tasks, priorities, agenda, etc. except :CLOCK:) and it
>> parses correctly as a ledger.
>
>Interesting.  Could you post an example file?  The documentation you
>linked to on Google docs does not mention org anywhere that I could see.
>
>thanks.
>-- 
>: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-475-g25d50e
>

-- 

mit freundlichen Grüßen

Bernhard Pröll

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-07 19:53       ` Sharon Kimble
  2014-11-08 15:45         ` Eric S Fraga
@ 2014-11-10  7:37         ` Eric S Fraga
  1 sibling, 0 replies; 28+ messages in thread
From: Eric S Fraga @ 2014-11-10  7:37 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: Eric Abrahamsen, emacs-orgmode

Sharon,

a reference to another possibly useful tutorial was posted to the ledger
newsgroup a while ago:

    From: Simon Michael <simon-jbxitMBJ2LLQT0dZR+AlfA@public.gmane.org>
    Subject: Re: ledger basics and habits
    Newsgroups: gmane.comp.finance.ledger.general
    To: ledger-cli-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
    Date: Sun, 22 Jun 2014 08:28:28 -0700 (20 weeks, 16 hours, 2 minutes ago)

    Thanks!

    The http://matthewturland.com/2014/03/29/ledger-basics-and-habits post
    is the best short-medium intro I've seen yet.

    Now featuring on https://twitter.com/LedgerTips .

I've not had a chance to read the post so cannot say how good it might
be but you may wish to follow this up.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Org and ledger
  2014-11-10  7:08           ` Bernhard Pröll
@ 2014-11-10  9:08             ` Daniel Clemente
  0 siblings, 0 replies; 28+ messages in thread
From: Daniel Clemente @ 2014-11-10  9:08 UTC (permalink / raw)
  To: emacs-orgmode

El Mon, 10 Nov 2014 08:08:51 +0100 Bernhard Pröll va escriure:
> 
> I have been curious too and found this file:
> 
> https://bitbucket.org/blais/beancount/src/tip/examples/tutorial/example.beancount

Exactly. The first line defines org mode:
;; -*- mode: org; mode: beancount; -*-

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2014-11-10  9:09 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-26 18:01 [ANN] Org Invoice 1.0.0 Peter Jones
2008-11-26 20:21 ` Oliver Charles
2008-12-06 19:36 ` Mark A. Hershberger
2008-12-06 21:34   ` Peter Jones
2008-12-06 21:54     ` Tim O'Callaghan
2008-12-07 20:23     ` Mark A. Hershberger
2008-12-07 22:25       ` Org and Ledger (was: Re: [ANN] Org Invoice 1.0.0) Carsten Dominik
2008-12-07 22:51         ` Russell Adams
2008-12-08 16:58         ` Org and Ledger Mark A. Hershberger
2008-12-11  0:49 ` [ANN] Org Invoice 1.0.0 Oliver Charles
2008-12-11  4:23   ` Peter Jones
2008-12-11 10:05     ` Oliver Charles
2008-12-11 11:38 ` Ulf Stegemann
2008-12-11 15:14   ` Peter Jones
  -- strict thread matches above, loose matches on Subject: below --
2014-10-31  7:02 Org and ledger Vikas Rawal
2014-10-31 18:56 ` Eric Abrahamsen
2014-11-03 16:32 ` Eric S Fraga
2014-11-06 17:27 ` Alan Schmitt
2014-11-07 13:19   ` Sharon Kimble
2014-11-07 13:36     ` Eric Abrahamsen
2014-11-07 19:53       ` Sharon Kimble
2014-11-08 15:45         ` Eric S Fraga
2014-11-10  7:37         ` Eric S Fraga
2014-11-07 18:51     ` Eric S Fraga
2014-11-09  4:34       ` Daniel Clemente
2014-11-09 13:29         ` Eric S Fraga
2014-11-10  7:08           ` Bernhard Pröll
2014-11-10  9:08             ` Daniel Clemente

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).