From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dima Kogan Subject: Adding new table rows/cols in a formula update Date: Mon, 29 Sep 2014 10:45:08 -0700 Message-ID: <87k34mgvup.fsf@secretsauce.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYf5L-00080J-Gk for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 13:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYf5E-00053g-Sl for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 13:50:07 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYf5E-00050r-PY for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 13:50:00 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by gateway2.nyi.internal (Postfix) with ESMTP id 5F95920756 for ; Mon, 29 Sep 2014 13:49:52 -0400 (EDT) Received: from shorty.local (unknown [23.243.192.221]) by mail.messagingengine.com (Postfix) with ESMTPA id 21A2BC00014 for ; Mon, 29 Sep 2014 13:49:52 -0400 (EDT) Received: from dima by shorty.local with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XYf54-0001yI-K7 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 10:49:50 -0700 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. Suppose I have this .org file: | | #+TBLFM: @1$2=5 It's a 1x1 table with a formula. The formula sets a cell that's out of bounds in the table, so evaluating this formula results in an error. How set-in-stone is this behavior? I haven't dug too deeply into the code, but are there fundamental assumptions here? Would a patch that extends the table before applying such a formula be too naive in some way? Thanks! dima