From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: confused about logging Date: Mon, 12 Apr 2010 22:22:19 -0400 Message-ID: <10974.1271125339@gamaville.dokosmarshall.org> References: <87wrwc2owz.fsf@cantor.home> <87mxx8p3w4.fsf@gollum.intra.norang.ca> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1Wi5-0006UX-SG for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 23:22:45 -0400 Received: from [140.186.70.92] (port=58682 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1Wi4-0006UP-EN for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 23:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1Wi2-0007aC-Mn for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 23:22:44 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:37963) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Wi2-0007a8-JS for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 23:22:42 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L0S009KNML8W5W2@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 21:22:20 -0500 (CDT) In-reply-to: Message from Bernt Hansen of "Mon, 12 Apr 2010 20:55:39 EDT." <87mxx8p3w4.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: Dan Griswold , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Bernt Hansen wrote: > Dan Griswold writes: > > > Hi all, > > > > I have a repeating task, like so: > > > > *** TODO Print copies :@PRINT: > > SCHEDULED: <2010-03-09 Tue ++1w> > > > > I would like to have things set so that when I change the todo state, > > and the schedule advances, then there will not be any logging done. > > > > However, with org-log-repeat, org-log-done, and org-log-done-with-time > > all set to nil (indeed, it appears all org-log-X vars are set to nil), > > I get a timestamp in a property drawer when I advance the schedule, like > > so: > > > > *** TODO Print copies :@PRINT: > > SCHEDULED: <2010-04-13 Tue ++1w> > > :PROPERTIES: > > :LAST_REPEAT: [2010-04-12 Mon 20:06] > > :END: > > > > This happens with an emacs environment started with emacs -q, and a file > > that contains only the above entry. > > > > I don't need or want such information recorded. But I don't know how to > > stop it, and I don't know where else to look for the responsible > > variable. > > > > Any hints? > > Set the property > > :LOGGING: nil > I don't think that works - and I also don't think that there is a way to do what Dan wants, currently. The code in org.el:org-auto-repeat-maybe looks like this: .... (when repeat (if (eq org-log-repeat t) (setq org-log-repeat 'state)) (setq to-state (or (org-entry-get nil "REPEAT_TO_STATE") org-todo-repeat-to-state)) (unless (and to-state (member to-state org-todo-keywords-1)) (setq to-state (if (eq interpret 'type) last-state head))) (org-todo to-state) (org-entry-put nil "LAST_REPEAT" (format-time-string (org-time-stamp-format t t))) .... and the LAST_REPEAT property is set unconnditionally. At least, that's how I read it. Nick