From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: org-table-copy-down feature request Date: Sat, 15 Mar 2014 12:10:53 +0100 Message-ID: <20140315121053.3a892166@aga-netbook> References: <20140125123225.0660fc0a@aga-netbook> <87txcpu21u.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOmUW-00029b-TX for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 07:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOmUS-0002Ui-AJ for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 07:11:00 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:50663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOmUS-0002Tp-3O for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 07:10:56 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id A77594206B for ; Sat, 15 Mar 2014 12:10:55 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h--oRGGWcKrb for ; Sat, 15 Mar 2014 12:10:55 +0100 (CET) Received: from aga-netbook (99-234.echostar.pl [213.156.99.234]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 876D042066 for ; Sat, 15 Mar 2014 12:10:55 +0100 (CET) In-Reply-To: <87txcpu21u.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: emacs-orgmode@gnu.org Dnia 2014-01-27, o godz. 11:55:25 Bastien napisa=C5=82(a): > Hi Marcin, >=20 > Marcin Borkowski writes: >=20 > > at present, the only reasonable values of org-table-copy-increment > > are nil or non-nil. How about enabling to use it as an increment > > value? This would be very useful in the following case: I want to > > make a table with dates for subsequent classes (and table is better > > than headlines for me, since for each class I put - among others - > > the number of problems solved during that class, so that I can use > > the spreadsheet to compute the total and average-per-hour numbers; > > useful for planning for the remainder of the semester;)). It would > > be great to set org-table-copy-increment to 7 so that I get > > timestamps increased by one week. >=20 > What about accepting an Org formula as the "increment" value? >=20 > > Another change which would help me might be to have a special value > > like 'arithmetic, so that the increment could be computed > > from /this and previous/ entries. (This might be even better, > > mimicking Excel's/LibreOffice's functionality, which is a bit > > broken in those applications, since it seems to require a mouse, > > but is very useful nonetheless.) >=20 > Yes -- the formula would make this possible too. >=20 > > Another, related problem I have with org-table-copy-down is that it > > overwrites rows. It might be better for it to insert a new row /if/ > > the entry in the next row is nonempty. >=20 > The default behavior seems TRT here, but an option could refine it. >=20 > > What do you think? >=20 > Thanks for raising this, >=20 You're welcome (and sorry for my delay). I think the idea with a formula is great. How do you imagine overwriting the default one? With a variable, or in a #+TBLFM line? (I like the latter idea much better.) Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University