emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] Org Invoice 1.0.0
Date: Wed, 10 Dec 2008 21:23:00 -0700	[thread overview]
Message-ID: <m2skovnxwb.fsf@pmade.com> (raw)
In-Reply-To: 5641883d0812101649h42e7833dw7550d0f408c87056@mail.gmail.com

"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

  reply	other threads:[~2008-12-11  4:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-12-11 10:05     ` Oliver Charles
2008-12-11 11:38 ` Ulf Stegemann
2008-12-11 15:14   ` Peter Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2skovnxwb.fsf@pmade.com \
    --to=mlists@pmade.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).