emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: clocking in and out in remember buffers - seems to be buggy
Date: Tue, 22 Jan 2008 16:42:04 -0500	[thread overview]
Message-ID: <m0wsq1edw3.fsf@gmail.com> (raw)
In-Reply-To: fn5lof$mvg$1@ger.gmane.org


[-- Attachment #1.1: Type: text/plain, Size: 1396 bytes --]

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

--8<---------------cut here---------------start------------->8---
;; try to use advice to start and stop the clock
(defadvice remember (after clock-in-on-remember-open) 
  "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)
--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

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2008-01-22 21:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22 21:04 clocking in and out in remember buffers - seems to be buggy Rainer Stengele
2008-01-22 21:42 ` Austin Frank [this message]
2008-01-24  8:33 ` Carsten Dominik
2008-01-24 15:14   ` Rainer Stengele
2008-01-24 15:26     ` Carsten Dominik
2008-01-24 15:34       ` Rainer Stengele
2008-01-24 15:38         ` Carsten Dominik
2008-01-25 12:57           ` Rainer Stengele
2008-01-25 13:12             ` Carsten Dominik

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=m0wsq1edw3.fsf@gmail.com \
    --to=austin.frank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).