emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carl Bolduc <carlbolduc@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Strange behavior with org-remember and clock
Date: Tue, 16 Feb 2010 12:31:03 -0500	[thread overview]
Message-ID: <a857491c1002160931h49f884a2y2968d4334fdc50ad@mail.gmail.com> (raw)

Hi,

I am trying to build a remember template to log a journal of my
activities, and some entries involve clocks. Here is my template:
("Journal" ?j "* %U %?\n" "j:/org/journal.org" date-tree)

When I call this template and start a clock, I get a weird behavior
when exiting remember. First, I get this (expected):
The clock is running in this buffer. Clock out now? (y or n)
I type "n"
Then, I get this:
Clock-out in buffer *Remember* before killing it (y or n)
I type "n" once again.
Now, if I visit my journal and try to clock out of this item, I get this:
No active clock

Now, if I modify my template to include any text after the %?,
clocking works as expected:
("Journal" ?j "* %U %?\ntest" "j:/org/journal.org" date-tree)
When I close remember, I get this:
The clock is running in this buffer. Clock out now? (y or n)
I type "n", don't get any more message, visit the journal file, and I
can clock out.

I am clueless... and I would prefer not having dummy text in my
journal entries just to make clocking work correctly.

Thanks,
Carl

             reply	other threads:[~2010-02-16 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 17:31 Carl Bolduc [this message]
2010-02-21  8:04 ` Strange behavior with org-remember and clock 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=a857491c1002160931h49f884a2y2968d4334fdc50ad@mail.gmail.com \
    --to=carlbolduc@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).