From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Francis Swann Subject: [PATCH] Improved org-habits documentation Date: Mon, 19 Jan 2015 14:41:50 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDF0A-0002nL-8K for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 11:16:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDF06-0002rr-5x for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 11:16:30 -0500 Received: from mail-db3on0073.outbound.protection.outlook.com ([157.55.234.73]:7584 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDF05-0002rM-Ub for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 11:16:26 -0500 Content-Language: en-US Content-ID: <51BAA7BAE2C3314C9DEE642977820DFD@uni.au.dk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" * org.texi: Improve example in info file adding concrete indication of how to set-up logging in the format needed by org-habits TINYCHANGE Signed-off-by: Andrew Swann --- doc/org.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/org.texi b/doc/org.texi index f6b30f8..de31437 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -4550,7 +4550,8 @@ three days, but at most every two days. You must also have state logging for the @code{DONE} state enabled (@pxref{Tracking TODO state changes}), in order for historical data to be represented in the consistency graph. If it is not enabled it is not an -error, but the consistency graphs will be largely meaningless. +error, but the consistency graphs will be largely meaningless. One way to do +this is to add the logging property @code{DONE(!)} to the task. @end enumerate =20 To give you an idea of what the above rules look like in action, here's an @@ -4560,6 +4561,7 @@ actual habit with some history: ** TODO Shave SCHEDULED: <2009-10-17 Sat .+2d/4d> :PROPERTIES: + :LOGGING: DONE(!) :STYLE: habit :LAST_REPEAT: [2009-10-19 Mon 00:36] :END: --=20 2.2.1 --=20 Andrew Swann | Associate Professor | Tel +45 871 55767 | swann@math.au.dk | http://home.math.au.dk/swann/ | Department of Mathematics, Aarhus University, Ny Munkegade 118, Bldg 1530, DK-8000 Aarhus C, Denmark | Dept +45 871 50000 | Fax +45 8613 1769