emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Cameron Horsburgh <cammo@netcall.com.au>
Cc: emacs-orgmode@gnu.org
Subject: Re: Adding time to deadline and schedule timestamps
Date: Tue, 07 Apr 2009 08:32:36 -0400	[thread overview]
Message-ID: <87ws9wtziz.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <20090407095805.GC10189@earth> (Cameron Horsburgh's message of "Tue\, 7 Apr 2009 19\:58\:05 +1000")

Cameron Horsburgh <cammo@netcall.com.au> writes:

> I'm trying to get a little more control over my DEADLINE and SCHEDULED
> timestamps. Specifically, I'd like to be able to add the time (not
> just the date) when I hit C-c C-d or C-c C-s.
>
> I tried adding the prefix, which is how you would do it when putting
> in a plain timestamp (C-u C-c .) However, this combo deletes any
> schedule or deadline property the note might have. 
>
> If I use C-c C-d/s and try to type the time in at the prompt it is
> ignored. However, I can manually add it to the timestamp afterwards
> and everything works as expected.
>
> Is there a way to automatically add the time? This would seem to be a
> very natural thing to be able to do, especially for deadlines.

The prefix is used to remove the timestamps.

To add a time I just enter the time when you get the SCHEDULED or
DEADLINE date prompt.

eg. Date+time [2009-04-07]: mon 7pm

Lots of formats are supported.

Entering the time at the prompt works for me.

,----[ Example org file entering '7pm' and 'fri 11:30-13:30' ]
| * One
|   DEADLINE: <2009-04-07 Tue 19:00>
| * TODO Something
|   SCHEDULED: <2009-04-10 Fri 11:30-13:30>
`----

-Bernt

  reply	other threads:[~2009-04-07 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07  9:58 Adding time to deadline and schedule timestamps Cameron Horsburgh
2009-04-07 12:32 ` Bernt Hansen [this message]
2009-04-07 12:46   ` Cameron Horsburgh
2009-04-07 12:51 ` Matthew Lundin
  -- strict thread matches above, loose matches on Subject: below --
2009-04-07 12:24 Giovanni Ridolfi
2009-04-07 12:42 ` Cameron Horsburgh

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=87ws9wtziz.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=cammo@netcall.com.au \
    --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).