emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Filling a list of dates in a spreadsheet
@ 2016-02-04  1:56 Cameron Horsburgh
  2016-02-04  8:13 ` Christian Moe
  0 siblings, 1 reply; 3+ messages in thread
From: Cameron Horsburgh @ 2016-02-04  1:56 UTC (permalink / raw)
  To: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

Hi folks,

I'm putting together a spreadsheet in org-mode. This is the general format:

|----------------------+---------------+--------------------|
| Date                 | Field One     | Field Two          |
|----------------------+---------------+--------------------|
| [2016-02-07 Sun]     |               |                    |
| [2016-02-14 Sun]     |               |                    |
| [A few lines]        |               |                    |
| [A few more lines]   |               |                    |
| [2016-12-25 Sun]     |               |                    |
|----------------------+---------------+--------------------+

The date column needs to have a list of dates for every Sunday this year.
In a traditional spreadsheet program there would be a function to 'fill'
the series of dates automatically. I can't see anything in org-mode that
would do this. Am I missing something, or will I just have to do it
manually?

Thanks!

Cameron Horsburgh

[-- Attachment #2: Type: text/html, Size: 1766 bytes --]

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

* Re: Filling a list of dates in a spreadsheet
  2016-02-04  1:56 Filling a list of dates in a spreadsheet Cameron Horsburgh
@ 2016-02-04  8:13 ` Christian Moe
  2016-02-10  9:38   ` Cameron Horsburgh
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Moe @ 2016-02-04  8:13 UTC (permalink / raw)
  To: Cameron Horsburgh; +Cc: Emacs-orgmode


Hi,

S-<RET> (Shift-Return) is your friend. After you've entered the first
two dates, move down to the third row (which needs to be empty), and hit
S-<RET>. You can continue pressing S-<RET> without moving down a row
each time.

Yours,
Christian



Cameron Horsburgh writes:

> Hi folks,
>
> I'm putting together a spreadsheet in org-mode. This is the general format:
>
> |----------------------+---------------+--------------------|
> | Date                 | Field One     | Field Two          |
> |----------------------+---------------+--------------------|
> | [2016-02-07 Sun]     |               |                    |
> | [2016-02-14 Sun]     |               |                    |
> | [A few lines]        |               |                    |
> | [A few more lines]   |               |                    |
> | [2016-12-25 Sun]     |               |                    |
> |----------------------+---------------+--------------------+
>
> The date column needs to have a list of dates for every Sunday this year.
> In a traditional spreadsheet program there would be a function to 'fill'
> the series of dates automatically. I can't see anything in org-mode that
> would do this. Am I missing something, or will I just have to do it
> manually?
>
> Thanks!
>
> Cameron Horsburgh

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

* Re: Filling a list of dates in a spreadsheet
  2016-02-04  8:13 ` Christian Moe
@ 2016-02-10  9:38   ` Cameron Horsburgh
  0 siblings, 0 replies; 3+ messages in thread
From: Cameron Horsburgh @ 2016-02-10  9:38 UTC (permalink / raw)
  To: Christian Moe; +Cc: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]

Ah, thank you! That's exactly what I'm after!



Cameron Horsburgh


On 4 February 2016 at 18:43, Christian Moe <mail@christianmoe.com> wrote:

>
> Hi,
>
> S-<RET> (Shift-Return) is your friend. After you've entered the first
> two dates, move down to the third row (which needs to be empty), and hit
> S-<RET>. You can continue pressing S-<RET> without moving down a row
> each time.
>
> Yours,
> Christian
>
>
>
> Cameron Horsburgh writes:
>
> > Hi folks,
> >
> > I'm putting together a spreadsheet in org-mode. This is the general
> format:
> >
> > |----------------------+---------------+--------------------|
> > | Date                 | Field One     | Field Two          |
> > |----------------------+---------------+--------------------|
> > | [2016-02-07 Sun]     |               |                    |
> > | [2016-02-14 Sun]     |               |                    |
> > | [A few lines]        |               |                    |
> > | [A few more lines]   |               |                    |
> > | [2016-12-25 Sun]     |               |                    |
> > |----------------------+---------------+--------------------+
> >
> > The date column needs to have a list of dates for every Sunday this year.
> > In a traditional spreadsheet program there would be a function to 'fill'
> > the series of dates automatically. I can't see anything in org-mode that
> > would do this. Am I missing something, or will I just have to do it
> > manually?
> >
> > Thanks!
> >
> > Cameron Horsburgh
>
>

[-- Attachment #2: Type: text/html, Size: 2319 bytes --]

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

end of thread, other threads:[~2016-02-10  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04  1:56 Filling a list of dates in a spreadsheet Cameron Horsburgh
2016-02-04  8:13 ` Christian Moe
2016-02-10  9:38   ` Cameron Horsburgh

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