From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: Re: clocking in and out in remember buffers - seems to be buggy Date: Tue, 22 Jan 2008 16:42:04 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0523348729==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHQsy-0008Ny-Cb for emacs-orgmode@gnu.org; Tue, 22 Jan 2008 16:42:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHQsx-0008N6-A5 for emacs-orgmode@gnu.org; Tue, 22 Jan 2008 16:42:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHQsx-0008Mt-5F for emacs-orgmode@gnu.org; Tue, 22 Jan 2008 16:42:23 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JHQsw-0005sg-MN for emacs-orgmode@gnu.org; Tue, 22 Jan 2008 16:42:22 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHQss-000081-3v for emacs-orgmode@gnu.org; Tue, 22 Jan 2008 21:42:18 +0000 Received: from colossus.cvs.rochester.edu ([128.151.80.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 21:42:18 +0000 Received: from austin.frank by colossus.cvs.rochester.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 21:42:18 +0000 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: emacs-orgmode@gnu.org --===============0523348729== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, Jan 22 2008, Rainer Stengele wrote: > I use to clock in a task when beginning to write in a remember buffer. > For example when receive a phone call from a customer I pop up a > remember template and the first thing I do is to start the clock. > > After writing down notes and doing some stuff, documenting further in > the clocked in remember buffer, I finally want to save and close the > remember template. Here's what I would tried, but none of them worked =2D-8<---------------cut here---------------start------------->8--- ;; try to use advice to start and stop the clock (defadvice remember (after clock-in-on-remember-open)=20 "Call org-clock-in after opening a remember buffer." ;; also tried adding advice to org-remember and ;; org-remember-apply-template, neither worked (org-clock-in)) (defadvice remember-finalize (before clock-out-on-remember-close) "Call org-clock-out before closing a remember buffer." (org-clock-out)) ;; try to add clock starting to the remember mode hook (add-hook 'remember-mode-hook 'org-clock-in) =2D-8<---------------cut here---------------end--------------->8--- Maybe one of these will give you an idea that will get you started in the right direction. Sorry I couldn't actually figure it out. /au =2D-=20 Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHlmMulHMl2/XbR4ERAvubAJ4lE2fxZmchq3K5OL7o58Ad/wB4HwCfUMda oIxZ0FHUY/4J92ZwKdnQfno= =o7qu -----END PGP SIGNATURE----- --=-=-=-- --===============0523348729== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0523348729==--