emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: emacs-orgmode@gnu.org
Subject: follow up about date-stamping todos on state change
Date: Mon, 13 Oct 2008 13:52:21 -0500	[thread overview]
Message-ID: <48F398E5.9040205@sift.info> (raw)

I have dug deeper into my problem of the missing date stamps, and it
seems like org is *trying* to insert my date stamps, based on trace output:

1 -> org-add-log-note: purpose=nil
| 2 -> org-store-log-note:
| | 3 -> org-replace-escapes: string="State %-12s %t" table=(("%u" .
"rpg") ("%U" . "Robert P. Goldman") ("%t" . "[2008-10-13 Mon 13:41]")
("%s" . #("\"DONE\"" 0 1 nil 1 5 (face org-done) 5 6 nil)))
| | 3 <- org-replace-escapes: #("State \"DONE\"       [2008-10-13 Mon
13:41]" 0 7 nil 7 11 (face org-done) 11 41 nil)
| 2 <- org-store-log-note: nil
1 <- org-add-log-note: nil

This indicates that the system is correctly composing the string to put
into my buffer, and that it "thinks" it has successfully inserted it.
But it's not ending up in my task list.

Is there anything else that I can do to debug this?

By the way, I find that org is a little difficult to trace because of
the use of &optional --- this seems to badly confuse emacs'
trace-function.  When I tried to trace org-add-log-setup I got eerie
compiler error messages that looked like they came from the bowels of
advice.el.  Is there a workaround for this?  Also, what does it mean to
have two &optionals in a lambda list?

thanks,
r

                 reply	other threads:[~2008-10-13 18:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=48F398E5.9040205@sift.info \
    --to=rpgoldman@sift.info \
    --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).