From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: Re: Time Stamps? Date: Tue, 11 May 2010 08:47:15 -0300 Message-ID: References: <87iq74yfng.fsf@gollum.intra.norang.ca> <87eihsye0s.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1353670556==" Return-path: Received: from [140.186.70.92] (port=38895 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBnvt-0008Vh-4J for emacs-orgmode@gnu.org; Tue, 11 May 2010 07:47:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBnvp-0003Y8-EH for emacs-orgmode@gnu.org; Tue, 11 May 2010 07:47:28 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:63206) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBnvp-0003Xp-5E for emacs-orgmode@gnu.org; Tue, 11 May 2010 07:47:25 -0400 Received: by gwj18 with SMTP id 18so4659436gwj.0 for ; Tue, 11 May 2010 04:47:22 -0700 (PDT) In-Reply-To: <87eihsye0s.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: David Frascone , emacs-orgmode --===============1353670556== Content-Type: multipart/alternative; boundary=001636b42ebd3a4886048650165b --001636b42ebd3a4886048650165b Content-Type: text/plain; charset=ISO-8859-1 Bernt, Thanks for the lessons (I am still studying it!!) One more "thief" for your list. Daniel 2010/5/3 Bernt Hansen > David Frascone writes: > > > On Mon, May 3, 2010 at 3:00 PM, Bernt Hansen wrote: > > > > David Frascone writes: > > > > > 1. Can I make all timestamps put the time? In other words, can I > > > make C-c ! always do the same thing as C-u C-c ! > > > > > > > I use a key binding for this: f9-t which creates a timestamp like > this > > at point. [2010-05-03 Mon 14:52] The binding for that is documented > at > > http://doc.norang.ca/org-mode.html#sec-15_21 > > > > Duh. Sorry. I thought there would be a way to do it with just a > > command, and, at first glance, didn't grok what you were doing with > > the func. Consider it stolen. I'm going to re-map something to it. > > I don't like using Function keys, because when I am using my macbook > > w/o a keyboard, I have to hit a Fn button to get those. But, I'll map > > it to something. I do like your f9 map, so, maybe I'll use M-9 or > > something like that. > > Steal away :) I'm sure you can change the function to always put in the > time if that's what you really want to do but there's no configuration > to implement that currently AFAICT. > > > > 2. Where should I put the timestamp? Where do you guys think it > > > looks best? Before the text? After? Still getting a feel for > > > things. > > > > Anywhere in the body of the text works fine for me. My remember > > templates put the timestamp after the clock drawer > > > > * TODO blah > > :CLOCK:... > > [2010-05-03 Mon 14:59] > > [[link to stuff]] > > > > but anywhere will work - it's just text. > > > > Right. I understand where it gets put. But, now I want to add some > > notes. Where would you put it? (And, I know I'm just asking your > > opinion, because it is all just text -- I just really like your setup, > > so I'm using it as my starting point. > > I just put them at the top and leave them there. Any further detail is > either inline in the body following it or as notes in a LOGBOOK drawer. > > > > So, for example, here's an entry I took today with a call, refiled it, > > then re-edited it. Names have been changed to protect the guilty > > > > some_company.org: > > ----- > > * Title for issue customer is having > > ** WAITING Phone %:name - %:Some Company - > :PHONE:WAITING: > > - State "WAITING" from "" [2010-05-03 Mon 11:19] \\ > > Waiting on data from Customer > > :CLOCK: > > :END: > > Got a call from Customer this am. He is having problems blah blah. > > Will call him back in 10-15 > > Contact Info: 800-555-5555 > > [2010-05-03 Mon] > > ** Talked to Customer again. > > [2010-05-03 Mon 11:19] > > Conclusion: Probable Diagnosis here. Customer is going to reboot and > send > > me more data. > > *** System Information > > **** Some System > > 1 Gb Data File > > 60 Threads > > Other System Data > > **** Performance > > 9-20 Mb/Sec > > **** Configuration > > Raid 0 over 4 drives > > 16 Gb RAM > > Blah Blah > > **** Symptoms > > computer hangs. windows Explorer hangs trying to look at > filesystem. > > ----- > > > > So, this was the result of two calls, captured with remember-phone, > > then re-filed into the some_company.org file. I put the datestamps up > > top, but I'm not sure if I like them there. What do you think of that > > setup? > > I use the datestamp to record when the remember task was created (ie > when did I first hear about it). You can probably put it inside a > drawer if you want to hide it -- I've never tried that. For me it's > just an indication of how old the task is (ie. when the task was > created) > > > > > > > > > 3. Clocking. That site does a lot of it, and I mostly like it. > But, > > > I'm not sure how I should clock in in the AM. Almost always, I > > > try to enter something quickly with remember, and I haven't > > > started a clock yet. I'm considering taking out the timing > stuff > > > now . . . any pointers? > > > > The first thing I do when I clock-in in the morning is hit either > f9-o > > or f9-m to clock in my organization or read mail task (depending on > > which one I start first). From there remember tasks interrupt the > clock > > temporarily and clocking continues on whatever I work on until I > > manually clock out. > > > > I will re-read the clocking portion . . I really like stamping > > EVERYTHING, so that I can generate weekly reports easily (This is > > where I wasted my time) > > > > I've also got to integrate, somehow, references to my livescribe pen > > (annotated conference call notes). And, it'll be nice to backdate > > conference calls so that even if I dont' log them, I can log them > > later. I know I can . . it's just coming up with an easy way to do > > it. > > I use clocking data to report or track 'what I worked on and when'. > My clock data is also my timestamp for what I did and I view the results > in log mode in the agenda (C-c a l) and in clock reports for reporting > to the boss. > > I clock stuff in all the time and for short periods... things that take > less than a minute to do end up creating empty clock drawers which isn't > all that nice to deal with. I have a hook that removes those now on > clock-out but I haven't had time to update my org-mode document yet with > the details. Hopefully I'll get to that soon. > > In case you want it the short version is here: > > ,---- > | (defun bh/remove-empty-drawer-on-clock-out () > | (interactive) > | (save-excursion > | (beginning-of-line 0) > | (org-remove-empty-drawer-at "CLOCK" (point)))) > | > | (add-hook 'org-clock-out-hook 'bh/remove-empty-drawer-on-clock-out > 'append) > | > `---- > > Regards, > Bernt > > > _______________________________________________ > 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 > --001636b42ebd3a4886048650165b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bernt,

Thanks for the lessons (I am still studying it!!)

One = more "thief" for your list.

Daniel

2010/5/3 Bernt Hansen <bernt@norang.ca>
> =A0 =A0 David Frascone <dave@frascone.com> writes:
>
> =A0 =A0 > =A01. Can I make all timestamps p= ut the time?=A0 In other words, can I
> =A0 =A0 > =A0make C-c ! always do the same thing as C-u C-c !
> =A0 =A0 >
>
> =A0 =A0 I use a key binding for this: =A0f9-t which creates a timestam= p like this
> =A0 =A0 at point. =A0[2010-05-03 Mon 14:52] =A0The binding for that is= documented at
> =A0 =A0 http://doc.norang.ca/org-mode.html#sec-15_21
>
> Duh.=A0 Sorry.=A0 I thought there would be a way to do it with just a<= br> > command, and, at first glance, didn't grok what you were doing wit= h
> the func.=A0 Consider it stolen.=A0 I'm going to re-map something = to it.=A0
> I don't like using Function keys, because when I am using my macbo= ok
> w/o a keyboard, I have to hit a Fn button to get those.=A0 But, I'= ll map
> it to something.=A0 I do like your f9 map, so, maybe I'll use M-9 = or
> something like that.

Steal away :) =A0I'm sure you can change the function to always p= ut in the
time if that's what you really want to do but there's no configurat= ion
to implement that currently AFAICT.

> =A0 =A0 > =A02. Where should I put the timestamp?=A0 Where do you g= uys think it
> =A0 =A0 > =A0looks best?=A0 Before the text?=A0 After?=A0 Still get= ting a feel for
> =A0 =A0 > =A0things.
>
> =A0 =A0 Anywhere in the body of the text works fine for me. =A0My reme= mber
> =A0 =A0 templates put the timestamp after the clock drawer
>
> =A0 =A0 =A0* TODO blah
> =A0 =A0 =A0:CLOCK:...
> =A0 =A0 =A0[2010-05-03 Mon 14:59]
> =A0 =A0 =A0[[link to stuff]]
>
> =A0 =A0 but anywhere will work - it's just text.
>
> Right.=A0 I understand where it gets put.=A0 But, now I want to add so= me
> notes.=A0 Where would you put it?=A0 (And, I know I'm just asking = your
> opinion, because it is all just text -- I just really like your setup,=
> so I'm using it as my starting point.

I just put them at the top and leave them there. =A0Any further detai= l is
either inline in the body following it or as notes in a LOGBOOK drawer.
>
> So, for example, here's an entry I took today with a call, refiled= it,
> then re-edited it.=A0 Names have been changed to protect the guilty >
> some_company.org= :
> -----
> * Title for issue customer is having
> ** WAITING Phone %:name - %:Some Company -=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 :PHONE:WAITING:
> =A0=A0 - State "WAITING"=A0=A0=A0 from ""=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 [2010-05-03 Mon 11:19] \\
> =A0=A0=A0=A0 Waiting on data from Customer
> =A0=A0 :CLOCK:
> =A0=A0 :END:
> =A0=A0 Got a call from Customer this am.=A0 He is having problems blah= blah.
> =A0=A0 Will call him back in 10-15
> =A0=A0 Contact Info: 800-555-5555
> =A0=A0 [2010-05-03 Mon]
> ** Talked to Customer again.
> [2010-05-03 Mon 11:19]
> Conclusion:=A0 Probable Diagnosis here.=A0 Customer is going to reboot= and send
> me more data.
> *** System Information
> **** Some System
> =A0=A0=A0=A0 1 Gb Data File
> =A0=A0=A0=A0 60 Threads
> =A0=A0=A0=A0 Other System Data
> **** Performance
> =A0=A0=A0=A0 9-20 Mb/Sec
> **** Configuration
> =A0=A0=A0=A0 Raid 0 over 4 drives
> =A0=A0=A0=A0 16 Gb RAM
> =A0=A0=A0=A0 Blah Blah
> **** Symptoms
> =A0=A0=A0=A0 computer hangs.=A0 windows Explorer hangs trying to look = at filesystem.
> -----
>
> So, this was the result of two calls, captured with remember-phone, > then re-filed into the some_company.org file.=A0 I put the datestamps up
> top, but I'm not sure if I like them there. =A0What do you think o= f that
> setup?=A0 =A0

I use the datestamp to record when the remember task was create= d (ie
when did I first hear about it). =A0You can probably put it inside a
drawer if you want to hide it -- I've never tried that. =A0For me it= 9;s
just an indication of how old the task is (ie. when the task was
created)

>
> =A0 =A0 >
> =A0 =A0 > =A03. Clocking.=A0 That site does a lot of it, and I most= ly like it.=A0 But,
> =A0 =A0 > =A0 =A0 I'm not sure how I should clock in in the AM.= =A0 Almost always, I
> =A0 =A0 > =A0 =A0 try to enter something quickly with remember, and= I haven't
> =A0 =A0 > =A0 =A0 started a clock yet.=A0 I'm considering takin= g out the timing stuff
> =A0 =A0 > =A0 =A0 now . . . any pointers?
>
> =A0 =A0 The first thing I do when I clock-in in the morning is hit eit= her f9-o
> =A0 =A0 or f9-m to clock in my organization or read mail task (dependi= ng on
> =A0 =A0 which one I start first). =A0From there remember tasks interru= pt the clock
> =A0 =A0 temporarily and clocking continues on whatever I work on until= I
> =A0 =A0 manually clock out.
>
> I will re-read the clocking portion . . I really like stamping
> EVERYTHING, so that I can generate weekly reports easily (This is
> where I wasted my time)
>
> I've also got to integrate, somehow, references to my livescribe p= en
> (annotated conference call notes).=A0 And, it'll be nice to backda= te
> conference calls so that even if I dont' log them, I can log them<= br> > later.=A0 I know I can . . it's just coming up with an easy way to= do
> it.

I use clocking data to report or track 'what I worked on and when= '.
My clock data is also my timestamp for what I did and I view the results in log mode in the agenda (C-c a l) and in clock reports for reporting
to the boss.

I clock stuff in all the time and for short periods... things that take
less than a minute to do end up creating empty clock drawers which isn'= t
all that nice to deal with. =A0I have a hook that removes those now on
clock-out but I haven't had time to update my org-mode document yet wit= h
the details. =A0Hopefully I'll get to that soon.

In case you want it the short version is here:

,----
| (defun bh/remove-empty-drawer-on-clock-out ()
| =A0 (interactive)
| =A0 (save-excursion
| =A0 =A0 (beginning-of-line 0)
| =A0 =A0 (org-remove-empty-drawer-at "CLOCK" (point))))
|
| (add-hook 'org-clock-out-hook 'bh/remove-empty-drawer-on-clock-ou= t 'append)
|
`----

Regards,
Bernt


_______________________________________________
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

--001636b42ebd3a4886048650165b-- --===============1353670556== 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 --===============1353670556==--