From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rares Pop Subject: Re: Re: timestamps Date: Tue, 9 Feb 2010 09:21:45 +0200 Message-ID: <7b60ffe51002082321j7d53ce7dm512ee00643c54fd1@mail.gmail.com> References: <7b60ffe51002080054x68b87093s7b1732c107b65ff7@mail.gmail.com> <87mxzjyimr.fsf@fastmail.fm> <7b60ffe51002080823k13cf8f9ieff10c6aee0f3a52@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0245825445==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NekPt-0001Dq-Mz for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 02:21:49 -0500 Received: from [199.232.76.173] (port=46201 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NekPs-0001DU-Dw for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 02:21:48 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NekPq-0008Ve-W2 for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 02:21:48 -0500 Received: from mail-bw0-f219.google.com ([209.85.218.219]:53536) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NekPq-0008VY-Fn for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 02:21:46 -0500 Received: by bwz19 with SMTP id 19so416573bwz.8 for ; Mon, 08 Feb 2010 23:21:45 -0800 (PST) In-Reply-To: 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: Carsten Dominik Cc: Matt Lundin , emacs-orgmode@gnu.org --===============0245825445== Content-Type: multipart/alternative; boundary=0015175884d02ed35a047f25c5bd --0015175884d02ed35a047f25c5bd Content-Type: text/plain; charset=ISO-8859-1 Thanks for the answer Carsten. There is any plan to support it in future releases? Thanks, Rares On Tue, Feb 9, 2010 at 12:42 AM, Carsten Dominik wrote: > > On Feb 8, 2010, at 5:23 PM, Rares Pop wrote: > > Hi Matt, >> >> It worked almost everything, with the exception of publishing and >> exporting. >> That doesn't work only if i delete the CLOCK: string before the timestamp. >> >> Here is the line: >> CLOCK: [2010-02-08 Mon 15:31]--[2010-02-08 Mon 16:32] => 1:01 >> >> I searched through the doco but i didn't not find any solution, to export >> it the way it is. >> >> Can you give some more ideas? >> > > Clock lines are currently unconditionally removed during export. > Mainly because I think they look ugly and nobody wants to see them. > > - Carsten > > >> Best regards, >> RAres >> >> On Mon, Feb 8, 2010 at 3:14 PM, Matt Lundin wrote: >> Rares Pop 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 >> >> _______________________________________________ >> 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 >> > > - Carsten > > > > --0015175884d02ed35a047f25c5bd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the answ= er Carsten.

There is any plan to support it in future releases?

Than= ks,
Rares

On Tue, Feb 9, 2010 at 12:42 A= M, Carsten Dominik <carsten.dominik@gmail.com> wrote:

On Feb 8, 2010, at 5:23 PM, Rares Pop wrote:

Hi Matt,

It worked almost everything, with the exception of publishing and exporting= .
That doesn't work only if i delete the CLOCK: string before the timesta= mp.

Here is the line:
=A0CLOCK: [2010-02-08 Mon 15:31]--[2010-02-08 Mon 16:32] =3D> =A01:01
I searched through the doco but i didn't not find any solution, to expo= rt it the way it is.

Can you give some more ideas?

Clock lines are currently unconditionally removed during export.
Mainly because I think they look ugly and nobody wants to see them.

- Carsten


Best regards,
RAres

On Mon, Feb 8, 2010 at 3:14 PM, Matt Lundin <mdl@imapmail.org> wrote:
Rares Pop <rare= s.pop@gmail.com> writes:

> I'm using orgmode 6.30d, under the OS Ubuntu 8.04 and the general<= br> > idea is to use it to log my work and i'm facing the following issu= es:
>
> =A0 * insert a constant timestamp (e.g. i forgot to insert an activity=
> =A0 =A0 that i did yesterday, and i want to log it. Ican't insert = a clock
> =A0 =A0 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---
=A0 (defun my-org-insert-old-clock ()
=A0 =A0 "Insert a clock line interactively at point."
=A0 =A0 (interactive)
=A0 =A0 (open-line 1)
=A0 =A0 (insert "CLOCK: ")
=A0 =A0 (org-time-stamp-inactive t)
=A0 =A0 (insert "--")
=A0 =A0 (org-time-stamp-inactive t)
=A0 =A0 (org-clock-update-time-maybe))
--8<---------------cut here---------------end--------------->8---

> =A0 * change a timestamp inserted with a clock log in (e.g. i booked a= n
> =A0 =A0 activity to had started at 01:40PM but it actually started at = 02:00
> =A0 =A0 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."

> =A0 * export the org mode document with the clocks timestamp (e.g. i w= ant
> =A0 =A0 to export the working log with all the timestamp both HTML and= PDF
> =A0 =A0 but i have no success. The clock timestamps are not displayed = in
> =A0 =A0 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

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

- Carsten




--0015175884d02ed35a047f25c5bd-- --===============0245825445== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0245825445==--