From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: org-spreadsheet: formatting chops off units Date: Fri, 7 Sep 2012 19:28:32 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=f46d04016977e0406504c91fef11 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA2M7-0008H1-BC for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 13:28:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA2M6-0006c3-Ep for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 13:28:35 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:54107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA2M6-0006bp-7m for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 13:28:34 -0400 Received: by lahd3 with SMTP id d3so2196076lah.0 for ; Fri, 07 Sep 2012 10:28:32 -0700 (PDT) In-Reply-To: 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 --f46d04016977e0406504c91fef11 Content-Type: text/plain; charset=ISO-8859-1 Hi all On Wed, Sep 5, 2012 at 11:46 PM, Kyle Andrews wrote: > [...] > #+TBLFM: $2=uconvert($1, lb) > [...] > #+begin_src emacs-lisp > (defmath uconvert (expression new-units) > (math-convert-units expression new-units))) > #+end_src Calc `defmath' is not mentioned in the Org manual or on Worg, so I suggest the attached patch for the Org manual. Michael --f46d04016977e0406504c91fef11 Content-Type: text/plain; charset=US-ASCII; name="0001-org.texi-Mention-defmath.patch.txt" Content-Disposition: attachment; filename="0001-org.texi-Mention-defmath.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-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