From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Org mode release 6.04 Date: Sun, 25 May 2008 09:31:36 +0200 Message-ID: Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0Ahl-00085f-1d for emacs-orgmode@gnu.org; Sun, 25 May 2008 03:31:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0Ahj-00085T-Dt for emacs-orgmode@gnu.org; Sun, 25 May 2008 03:31:43 -0400 Received: from [199.232.76.173] (port=47468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0Ahj-00085Q-6r for emacs-orgmode@gnu.org; Sun, 25 May 2008 03:31:43 -0400 Received: from mx20.gnu.org ([199.232.41.8]:14320) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0Ahj-0003qw-2q for emacs-orgmode@gnu.org; Sun, 25 May 2008 03:31:43 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0Ahh-0001Uf-EZ for emacs-orgmode@gnu.org; Sun, 25 May 2008 03:31:41 -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: Org-mode Mode Hi, I am releasing Org 6.04, at http://orgmode.org Enjoy! - Carsten Changes in version 6.04 ~~~~~~~~~~~~~~~~~~~~~~~ Overview ======== - Statistics cookies [/] and [%] for TODO entries - Editing source code example in the proper mode - iCalendar now defines proper UIDs for entries - New properties for customizing subtree export Incompatible changes ==================== - The default of the variable `org-tags-match-list-sublevels' is now `t'. The main reason for this is that it is easier to explain in the manual and will lead to fewer surprises. - The former CONTRIB directory is now called "contrib". This was already the case in the git distribution, but the tar and zip archives still did this wrong. Details ======= Statistics for TODO entries --------------------------- The [/] and [%] cookies have already provided statistics for checkboxes. Now they do the same also for TODO entries. If a headline contains either cookie, changing the TODO state of any direct child will trigger an update of this cookie. Children that are neither TODO nor DONE are ignored. There have already been requests to automatically switch the parent headline to DONE when all children are done. I am not making this a default feature, because one needs to make many decisions about which keyword to use, etc. Instead of a complex customization variable, I am providing a hook that can be used. This hook will be called each time a TODO statistics cookie is updated, with the cursor in the corresponding line. Each function in the hook will receive two arguments, the number of done entries, and the number of not-done entries, and you can use the hook to change the state of the headline. Here is an example implementation: (defun org-summary-todo (n-done n-not-done) "Switch entry to DONE when all sub-entries are done, to TODO otherwise." (let (org-log-done org-log-states) ; turn off logging (org-todo (if (= n-not-done 0) "DONE" "TODO")))) (add-hook 'org-after-todo-statistics-hook 'org-summary-todo) Editing source code example in the proper mode ---------------------------------------------- If you are writing a document with source code examples, you can include these examples into a `#+BEGIN_SRC lang ... #+END_SRC' or (with the org-mtags module loaded) a `