From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frozenlock Subject: Bill-of-materials Date: Thu, 20 Oct 2011 22:23:26 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH4le-0008Ua-8j for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 22:23:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RH4lc-0005gh-Kg for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 22:23:30 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:60188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH4lc-0005gd-Go for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 22:23:28 -0400 Received: by iagf6 with SMTP id f6so5083940iag.0 for ; Thu, 20 Oct 2011 19:23:27 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, This is a much better version of the little add-on I've written: Bill-of-materials (org-bom.el) I've used this for over 6 months now, daily. If you ever need to quickly make a quote for a client, or simply make easy to-buy list, this should help you. You can find the code here: http://pastebin.com/K11QpQ6Q The tutorial is included with it, but here is an eye-friendly version: http://frozenlock.wordpress.com/2011/10/20/bom-bills-of-materials/ Finally, just to tease you, this is a table generated from various data gathered inside a buffer: #+BEGIN: bom :total t :no-tag t :description t :price t | Component =A0 =A0 =A0 | Quantity | Price | Description =A0| |-----------------+----------+-------+--------------| | CDs =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 50 | =A0 =A0 =A0 | Not DVDs =A0= =A0 | | Headset =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A01 | =A0 =A0 =A0 | N/A =A0 =A0 = =A0 =A0 =A0| | Keyboard =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A03 | =A0 120 | Used to type | | Mouse =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A02 | =A0 =A0 =A0 | N/A =A0 =A0 = =A0 =A0 =A0| | USB flash drive | =A0 =A0 =A0 23 | =A0 =A0 =A0 | N/A =A0 =A0 =A0 =A0 =A0| |-----------------+----------+-------+--------------| | TOTAL: =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0| =A0 120 | =A0 =A0 =A0 = =A0 =A0 =A0 =A0| =A0 =A0 #+TBLFM: @>$3=3Dvsum(@I..@>>) =A0#+END: Enjoy!