emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-table-copy-down feature request
Date: Mon, 27 Jan 2014 11:55:25 +0100	[thread overview]
Message-ID: <87txcpu21u.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20140125123225.0660fc0a@aga-netbook> (Marcin Borkowski's message of "Sat, 25 Jan 2014 12:32:25 +0100")

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,

-- 
 Bastien

  reply	other threads:[~2014-01-27 10:55 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 [this message]
2014-03-15 11:10   ` Marcin Borkowski

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=87txcpu21u.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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).