From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: org-table-copy-down feature request
Date: Sat, 15 Mar 2014 12:10:53 +0100 [thread overview]
Message-ID: <20140315121053.3a892166@aga-netbook> (raw)
In-Reply-To: <87txcpu21u.fsf@bzg.ath.cx>
Dnia 2014-01-27, o godz. 11:55:25
Bastien <bzg@gnu.org> napisał(a):
> Hi Marcin,
>
> Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
>
> > 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.
>
> What about accepting an Org formula as the "increment" value?
>
> > 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.)
>
> Yes -- the formula would make this possible too.
>
> > 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.
>
> The default behavior seems TRT here, but an option could refine it.
>
> > What do you think?
>
> Thanks for raising this,
>
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,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
prev parent reply other threads:[~2014-03-15 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 11:32 org-table-copy-down feature request Marcin Borkowski
2014-01-27 10:55 ` Bastien
2014-03-15 11:10 ` Marcin Borkowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140315121053.3a892166@aga-netbook \
--to=mbork@wmi.amu.edu.pl \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).