Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to insert schedule with date and time in Emacs org-mode

Tags:

When I insert a schedule with C-c C-s in Emacs org-mode, it always inserts a date like this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri>

while what I want is this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri 11:34> 

Now I do this manually: firstly insert a schedule, then delete the date, then insert a timestamp with date and time using C-u C-c ..

How can I insert a schedule with date and time only using C-c C-s?

Thanks.

like image 647
Leo Avatar asked Oct 23 '13 03:10

Leo


People also ask

How do I use org Mode in Emacs?

Emacs does not actually understand you are editing an Org document, yet. To enable Org mode on your current document, type M-x org-mode which will enable the Org mode on the current document. Those are minuses, not underscores.

Does Org mode come with Emacs?

Emacs has included Org Mode as a major mode by default since 2006. Bastien Guerry is the current maintainer, in cooperation with an active development community. Since its success in Emacs, some other systems now provide functions to work with org files.


1 Answers

When you're being asked for a date at the prompt, you can also enter a time. e.g. if I say "+2d 1pm" at the prompt, I get SCHEDULED: <2013-10-25 ven. 13:00> in the buffer. See Info page (info "(org) The date/time prompt") for more info about the prompt.

like image 64
YoungFrog Avatar answered Sep 17 '22 11:09

YoungFrog