emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-table-copy-down feature request
@ 2014-01-25 11:32 Marcin Borkowski
  2014-01-27 10:55 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2014-01-25 11:32 UTC (permalink / raw)
  To: Org-mode mailing list

Hi Org Devs and Users,

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.

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.)

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.

What do you think?

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-table-copy-down feature request
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-01-27 10:55 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-mode mailing list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-table-copy-down feature request
  2014-01-27 10:55 ` Bastien
@ 2014-03-15 11:10   ` Marcin Borkowski
  0 siblings, 0 replies; 3+ messages in thread
From: Marcin Borkowski @ 2014-03-15 11:10 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-15 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).