From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-table-copy-down incrementor Date: Tue, 20 May 2014 21:45:47 +0200 Message-ID: <87k39gs07o.fsf@bzg.ath.cx> 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 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmpzA-0001f7-9s for emacs-orgmode@gnu.org; Tue, 20 May 2014 15:46:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wmpyy-0002wI-6X for emacs-orgmode@gnu.org; Tue, 20 May 2014 15:46:04 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:48394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wmpyx-0002w9-Vf for emacs-orgmode@gnu.org; Tue, 20 May 2014 15:45:52 -0400 Received: by mail-wi0-f174.google.com with SMTP id r20so6544313wiv.7 for ; Tue, 20 May 2014 12:45:51 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Tue, 20 May 2014 18:26:52 +0200") 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: Michael Brand Cc: Org Mode , Stacey Marshall Hi Michael, Michael Brand writes: > 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.) Yes. There is also `thing-at-point' which does not recognize 1.1 as a number... I circumvented this by using `calc-eval'. The above should now work correctly. >> (const :tag "Don't increment the value when copying a field" t))) > > Wasn't the t meant to be nil? It was a typo, thanks for reporting it! -- Bastien