emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Rares Pop <rares.pop@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: timestamps
Date: Mon, 08 Feb 2010 08:14:20 -0500	[thread overview]
Message-ID: <87mxzjyimr.fsf@fastmail.fm> (raw)
In-Reply-To: <7b60ffe51002080054x68b87093s7b1732c107b65ff7@mail.gmail.com> (Rares Pop's message of "Mon, 8 Feb 2010 10:54:54 +0200")

Rares Pop <rares.pop@gmail.com> writes:

> I'm using orgmode 6.30d, under the OS Ubuntu 8.04 and the general
> idea is to use it to log my work and i'm facing the following issues: 
>
>   * insert a constant timestamp (e.g. i forgot to insert an activity
>     that i did yesterday, and i want to log it. Ican't insert a clock
>     with previous start and end date)

You can insert an timestamp with HH:MM by typing "C-u C-c !". 

Here is a *very simple* function I use to insert a clock line at point:

--8<---------------cut here---------------start------------->8---
    (defun my-org-insert-old-clock ()
      "Insert a clock line interactively at point."
      (interactive)
      (open-line 1)
      (insert "CLOCK: ")
      (org-time-stamp-inactive t)
      (insert "--")
      (org-time-stamp-inactive t)
      (org-clock-update-time-maybe))
--8<---------------cut here---------------end--------------->8---

>   * change a timestamp inserted with a clock log in (e.g. i booked an
>     activity to had started at 01:40PM but it actually started at 02:00
>     PM, how can i change it to have it delayed 20 minutes later)

You can change a time stamp by using Shift and the arrow keys. S-left
and S-right move forward and backward by day. S-up and S-down change
individual elements of the clock (hour, minutes, etc.).

See manual section 8.2: "Creating timestamps."

>   * export the org mode document with the clocks timestamp (e.g. i want
>     to export the working log with all the timestamp both HTML and PDF
>     but i have no success. The clock timestamps are not displayed in
>     the output file)

Are your timestamps in a :LOGBOOK: drawer? If so, you can turn on the
inclusion of drawers in export by adding the following line to the top
of your file:

#+OPTIONS: d:t

Or you can set org-export-with-drawers to t.

Hope this helps.
Matt

  reply	other threads:[~2010-02-08 13:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08  8:54 timestamps Rares Pop
2010-02-08 13:14 ` Matt Lundin [this message]
2010-02-08 16:23   ` timestamps Rares Pop
     [not found]     ` <ADF3DA75-911F-4E3D-BEC1-089EAE8C2B19@gmail.com>
2010-02-09  7:21       ` timestamps Rares Pop
2010-02-11 16:14         ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2021-11-28  4:52 Timestamps David Masterson
2021-11-28  6:59 ` Timestamps Jude DaShiell
2021-12-01  3:33   ` Timestamps David Masterson
2021-12-01  3:38     ` Timestamps Jude DaShiell
2021-12-01  3:53       ` Timestamps David Masterson
2021-11-28 19:54 ` Timestamps Nicolas Goaziou
2021-12-01  3:54   ` Timestamps David Masterson
2006-11-22 15:17 Timestamps J. David Boyd
2006-11-22 16:08 ` Timestamps David Emery
2006-11-22 16:16 ` Timestamps Eddward DeVilla
2006-11-22 16:37   ` Timestamps J. David Boyd
2006-11-22 16:46     ` Timestamps J. David Boyd

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=87mxzjyimr.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rares.pop@gmail.com \
    /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).