all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josh Mattoon <joshmattoon@gmail.com>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: dates in a spreadsheet
Date: Wed, 17 Mar 2010 09:51:04 -0700	[thread overview]
Message-ID: <3a257d511003170951q342b2165vdcc51391c4277911@mail.gmail.com> (raw)
In-Reply-To: <87eijjynnm.fsf@stats.ox.ac.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1959 bytes --]

Sure thing.  Basically I'd like the "date" column to be automatically
calculated so that I can move things around, add extra days here and there,
and not have to edit that column by hand.

| date      | location | activities    | notes                      |
|-----------+----------+---------------+----------------------------|
| 03-16 Tue | moon     | collect rocks |                            |
| 03-17 Wed | mars     | terraform     | this might take a few days |
| 03-18 Thu | earth    | breath air    |                            |

If I wanted to add an extra day on mars I could just enter a new row,
recalculate the forumula, and the dates would be automagically updated.
It's not such a big deal in a small example like this but I'm planning out a
3 week vacation with a fair number of destinations.  I'd like the day of
week to display because some sites are closed on certain days.

It goes without saying that I've spent more time trying to figure this out
than it would actually save so it's more about education at this point :)


On Wed, Mar 17, 2010 at 8:26 AM, Dan Davison <davison@stats.ox.ac.uk> wrote:

> Josh Mattoon <joshmattoon@gmail.com> writes:
>
> > I'm using the spreadsheet capabilities of org for the first time (very
> cool!)
> > to plan an upcoming trip.  I'd like to create a column formula to
> automatically
> > calculate the dates/day of week but I'm a bit stumped.  I don't see a way
> for
> > the formula to know which row it is currently processing.  I'm also
> coming up
> > short trying to find any elisp to go from day of year -> formatted date
> string.
> >  Any suggestions?
>
> Hi Josh,
>
> Could you provide a small example table that shows the challenge you are
> describing?
>
> Dan
>
>
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 2635 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-03-17 16:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17  6:04 dates in a spreadsheet Josh Mattoon
2010-03-17 15:18 ` Mikael Fornius
2010-03-17 15:26 ` Dan Davison
2010-03-17 16:51   ` Josh Mattoon [this message]
     [not found]     ` <11255.1268855898@alphaville.usa.hp.com>
2010-03-17 20:45       ` Josh Mattoon
2010-03-17 22:39         ` Bernt Hansen
2010-03-18  5:38           ` Carsten Dominik
2010-03-18 20:31     ` Eric S Fraga

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a257d511003170951q342b2165vdcc51391c4277911@mail.gmail.com \
    --to=joshmattoon@gmail.com \
    --cc=davison@stats.ox.ac.uk \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.