From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: follow up about date-stamping todos on state change Date: Mon, 13 Oct 2008 13:52:21 -0500 Message-ID: <48F398E5.9040205@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpSX7-0003pE-Mm for emacs-orgmode@gnu.org; Mon, 13 Oct 2008 14:52:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpSX1-0003oO-2M for emacs-orgmode@gnu.org; Mon, 13 Oct 2008 14:52:45 -0400 Received: from [199.232.76.173] (port=37025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpSX0-0003oI-UU for emacs-orgmode@gnu.org; Mon, 13 Oct 2008 14:52:38 -0400 Received: from outbound-mail-40.bluehost.com ([69.89.20.194]:55821) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KpSWy-0000T4-Hu for emacs-orgmode@gnu.org; Mon, 13 Oct 2008 14:52:38 -0400 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 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