From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Table summation Date: Tue, 8 Apr 2008 08:22:09 +0200 Message-ID: References: <20080401160501.GE2015@odin.demosthenes.org> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jj83y-0007Wg-Ty for emacs-orgmode@gnu.org; Tue, 08 Apr 2008 03:16:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jj83v-0007VL-LN for emacs-orgmode@gnu.org; Tue, 08 Apr 2008 03:16:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jj83v-0007V4-4T for emacs-orgmode@gnu.org; Tue, 08 Apr 2008 03:16:11 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jj83u-0004Fh-Ke for emacs-orgmode@gnu.org; Tue, 08 Apr 2008 03:16:10 -0400 Received: from ug-out-1314.google.com ([66.249.92.170]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jj83t-0008Mn-FW for emacs-orgmode@gnu.org; Tue, 08 Apr 2008 03:16:09 -0400 Received: by ug-out-1314.google.com with SMTP id a2so667228ugf.48 for ; Tue, 08 Apr 2008 00:16:05 -0700 (PDT) In-Reply-To: <20080401160501.GE2015@odin.demosthenes.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Russell Adams Cc: Org Mode List Hi Russel, no, I don't see a good way to fix this. Just get used to use the proper commands to insert new lines. To make it easier to add new lines at the end, try (setq org-table-tab-jumps-over-hlines nil) The TAB will create new lines before horizontal separator lines. Judging from your own follow-up message, this might be all you need? - Carsten On Apr 1, 2008, at 6:05 PM, Russell Adams wrote: > Speaking of tables today, I thought I'd post a question that I haven't > found a simple answer for. > > How do you sum a table reliably? (ie: tolerant of editing) > > This table requires the use of org-table-insert-row (etc...) in order > to keep the formula correct. > > | Header | > |--------| > | 1 | > | 2 | > | 3 | > | 4 | > | 5 | > |--------| > | 15 | > #+TBLFM: @7$1=vsum(@I..@II) > > How can I do something like this, where the last cell is automatically > the sum of the column, and not an absolute reference that must be > maintained? > > | 1 | > | 2 | > | 3 | > | 4 | > | 5 | > |--------| > | 15 | > #+TBLFM: LAST=vsum($0..$0) > > 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 > > > _______________________________________________ > 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