From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: timestamps Date: Mon, 08 Feb 2010 08:14:20 -0500 Message-ID: <87mxzjyimr.fsf@fastmail.fm> References: <7b60ffe51002080054x68b87093s7b1732c107b65ff7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NeTKU-0000f1-Jx for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 08:07:06 -0500 Received: from [199.232.76.173] (port=38956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeTKT-0000es-SU for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 08:07:05 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NeTKR-0002R2-Ga for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 08:07:05 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:33268) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NeTKQ-0002Pw-RP for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 08:07:03 -0500 In-Reply-To: <7b60ffe51002080054x68b87093s7b1732c107b65ff7@mail.gmail.com> (Rares Pop's message of "Mon, 8 Feb 2010 10:54:54 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rares Pop Cc: emacs-orgmode@gnu.org Rares Pop writes: > I'm using orgmode 6.30d, under the OS Ubuntu 8.04 and the general > idea=C2=A0is to use it to log my work and i'm facing the following issues= :=C2=A0 > > * 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 !".=20 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