From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: org-table-copy-down incrementor Date: Tue, 20 May 2014 18:26:52 +0200 Message-ID: References: <26CB62FB-01B3-49F6-A3E2-61FC25825493@oracle.com> <87ioq8ym8g.fsf@bzg.ath.cx> <87k39gilps.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmmsT-0005wQ-Fc for emacs-orgmode@gnu.org; Tue, 20 May 2014 12:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmmsS-0001wK-KY for emacs-orgmode@gnu.org; Tue, 20 May 2014 12:26:57 -0400 In-Reply-To: <87k39gilps.fsf@bzg.ath.cx> 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: Bastien Cc: Org Mode , Stacey Marshall Hi Bastien On Tue, May 20, 2014 at 4:11 PM, Bastien wrote: > Michael Brand writes: >> For me it would be already enough and preferred when the increment >> would be the same as in the two fields above point. > > I pushed a change in master for this -- Thank you for implementing this. > can you please check it works as expected for you? Yes it does: SHIFT-RET on the last row of the tables | 2 | | 5 | and | 2 | and | [2014-04-30 Wed] | | [2014-05-07 Wed] | and | [2014-04-30 Wed] | increment as expected. As I see only now the use case | 1.1 | | -0.5 | does not seem easy to increment by -1.6 due to the formatting of the result, so I don't expect it to be implemented. (number-to-string is not enough because of the inaccuracy of the fraction.) > (const :tag "Don't increment the value when copying a field" t))) Wasn't the t meant to be nil? Michael