aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2009-01-30 08:32:49 +0000
committerCarsten Dominik2009-01-30 08:32:49 +0000
commita2a2e7fb019afda8ae3d650f9b5563fad20e90aa (patch)
tree90b7ae4b3ef04af8ac3549379a9ba94659e1767e
parentcf4b480f77c1d4b3878254f6c2f19746713a0349 (diff)
downloademacs-a2a2e7fb019afda8ae3d650f9b5563fad20e90aa.tar.gz
emacs-a2a2e7fb019afda8ae3d650f9b5563fad20e90aa.zip
2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
* org-timer.el (org-timer): Provide the timer feature. * org.el (org-require-autoloaded-modules): Add a few more files to the list of autoloaded modules. * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'. * org-exp.el (org-export-remove-or-extract-drawers): Only remove drawers that are unprotected. (org-export-html-format-image): Make sure inlined LaTeX fragment images remain inlined. * org.el (org-toggle-ordered-property): New function. (org-mode-map): Add a key for `org-toggle-ordered-property'. (org-org-menu): Add menu entries for TODO dependencies. * org.el (org-default-properties): Add ORDERED to the default properties, to get completion support for it. * org-list.el (org-update-checkbox-count): Update more than one cookie. * org.el (org-update-parent-todo-statistics): Update more than one cookie.
-rw-r--r--lisp/org/ChangeLog26
-rw-r--r--lisp/org/org-agenda.el5
-rw-r--r--lisp/org/org-archive.el2
-rw-r--r--lisp/org/org-attach.el2
-rw-r--r--lisp/org/org-bbdb.el2
-rw-r--r--lisp/org/org-bibtex.el2
-rw-r--r--lisp/org/org-clock.el2
-rw-r--r--lisp/org/org-colview.el2
-rw-r--r--lisp/org/org-compat.el2
-rw-r--r--lisp/org/org-exp.el44
-rw-r--r--lisp/org/org-export-latex.el2
-rw-r--r--lisp/org/org-faces.el2
-rw-r--r--lisp/org/org-footnote.el2
-rw-r--r--lisp/org/org-gnus.el2
-rw-r--r--lisp/org/org-id.el2
-rw-r--r--lisp/org/org-info.el2
-rw-r--r--lisp/org/org-irc.el2
-rw-r--r--lisp/org/org-jsinfo.el2
-rw-r--r--lisp/org/org-list.el13
-rw-r--r--lisp/org/org-mac-message.el2
-rw-r--r--lisp/org/org-macs.el2
-rw-r--r--lisp/org/org-mew.el2
-rw-r--r--lisp/org/org-mhe.el2
-rw-r--r--lisp/org/org-mouse.el2
-rw-r--r--lisp/org/org-plot.el2
-rw-r--r--lisp/org/org-publish.el2
-rw-r--r--lisp/org/org-remember.el2
-rw-r--r--lisp/org/org-rmail.el2
-rw-r--r--lisp/org/org-table.el2
-rw-r--r--lisp/org/org-timer.el4
-rw-r--r--lisp/org/org-vm.el2
-rw-r--r--lisp/org/org-w3m.el2
-rw-r--r--lisp/org/org-wl.el2
-rw-r--r--lisp/org/org.el67
34 files changed, 130 insertions, 85 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index d52c5a204b7..a9b17374c01 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,29 @@
12009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2
3 * org-timer.el (org-timer): Provide the timer feature.
4
5 * org.el (org-require-autoloaded-modules): Add a few more files to
6 the list of autoloaded modules.
7
8 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
9
10 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
11 drawers that are unprotected.
12 (org-export-html-format-image): Make sure inlined LaTeX fragment
13 images remain inlined.
14
15 * org.el (org-toggle-ordered-property): New function.
16 (org-mode-map): Add a key for `org-toggle-ordered-property'.
17 (org-org-menu): Add menu entries for TODO dependencies.
18
19 * org.el (org-default-properties): Add ORDERED to the default
20 properties, to get completion support for it.
21
22 * org-list.el (org-update-checkbox-count): Update more than one cookie.
23
24 * org.el (org-update-parent-todo-statistics): Update more than one
25 cookie.
26
12009-01-28 Carsten Dominik <carsten.dominik@gmail.com> 272009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2 28
3 * org-agenda.el (org-agenda-get-todos): Start search from correct 29 * org-agenda.el (org-agenda-get-todos): Start search from correct
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 091366ebaab..c84c7a72f0b 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
@@ -5131,7 +5131,8 @@ the same tree node, and the headline of the tree node in the Org-mode file."
5131 (save-excursion 5131 (save-excursion
5132 (and (outline-next-heading) 5132 (and (outline-next-heading)
5133 (org-flag-heading nil))) ; show the next heading 5133 (org-flag-heading nil))) ; show the next heading
5134 (call-interactively 'org-todo) 5134 (let ((current-prefix-arg arg))
5135 (call-interactively 'org-todo))
5135 (and (bolp) (forward-char 1)) 5136 (and (bolp) (forward-char 1))
5136 (setq newhead (org-get-heading)) 5137 (setq newhead (org-get-heading))
5137 (when (and (org-bound-and-true-p 5138 (when (and (org-bound-and-true-p
diff --git a/lisp/org/org-archive.el b/lisp/org/org-archive.el
index ff4c0f65e5d..bee2fa09f89 100644
--- a/lisp/org/org-archive.el
+++ b/lisp/org/org-archive.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el
index 3af6d645c5f..2d4229b09dc 100644
--- a/lisp/org/org-attach.el
+++ b/lisp/org/org-attach.el
@@ -4,7 +4,7 @@
4 4
5;; Author: John Wiegley <johnw@newartisans.com> 5;; Author: John Wiegley <johnw@newartisans.com>
6;; Keywords: org data task 6;; Keywords: org data task
7;; Version: 6.20c 7;; Version: 6.20g
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10;; 10;;
diff --git a/lisp/org/org-bbdb.el b/lisp/org/org-bbdb.el
index f2f6d9cadd4..58fc0dd019c 100644
--- a/lisp/org/org-bbdb.el
+++ b/lisp/org/org-bbdb.el
@@ -7,7 +7,7 @@
7;; Thomas Baumann <thomas dot baumann at ch dot tum dot de> 7;; Thomas Baumann <thomas dot baumann at ch dot tum dot de>
8;; Keywords: outlines, hypermedia, calendar, wp 8;; Keywords: outlines, hypermedia, calendar, wp
9;; Homepage: http://orgmode.org 9;; Homepage: http://orgmode.org
10;; Version: 6.20c 10;; Version: 6.20g
11;; 11;;
12;; This file is part of GNU Emacs. 12;; This file is part of GNU Emacs.
13;; 13;;
diff --git a/lisp/org/org-bibtex.el b/lisp/org/org-bibtex.el
index d5026b9cca8..0392cfeaaa2 100644
--- a/lisp/org/org-bibtex.el
+++ b/lisp/org/org-bibtex.el
@@ -5,7 +5,7 @@
5;; Author: Bastien Guerry <bzg at altern dot org> 5;; Author: Bastien Guerry <bzg at altern dot org>
6;; Carsten Dominik <carsten dot dominik at gmail dot com> 6;; Carsten Dominik <carsten dot dominik at gmail dot com>
7;; Keywords: org, wp, remember 7;; Keywords: org, wp, remember
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el
index b800285153a..170cb53a128 100644
--- a/lisp/org/org-clock.el
+++ b/lisp/org/org-clock.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-colview.el b/lisp/org/org-colview.el
index 64dcf2326ed..94785ce7765 100644
--- a/lisp/org/org-colview.el
+++ b/lisp/org/org-colview.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el
index 21445c835a2..6c5acbbec3b 100644
--- a/lisp/org/org-compat.el
+++ b/lisp/org/org-compat.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el
index 3b2fbbe45d1..a9fb6ecda5e 100644
--- a/lisp/org/org-exp.el
+++ b/lisp/org/org-exp.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
@@ -384,20 +384,6 @@ This option can also be set with the +OPTIONS line, e.g. \"^:nil\"."
384 (const :tag "Only with braces" {}) 384 (const :tag "Only with braces" {})
385 (const :tag "Never interpret" nil))) 385 (const :tag "Never interpret" nil)))
386 386
387(defcustom org-export-with-special-strings t
388 "Non-nil means, interpret \"\-\", \"--\" and \"---\" for export.
389When this option is turned on, these strings will be exported as:
390
391\\- : &shy;
392-- : &ndash;
393--- : &mdash;
394
395Not all export backends support this, but HTML does.
396
397This option can also be set with the +OPTIONS line, e.g. \"-:nil\"."
398 :group 'org-export-translation
399 :type 'boolean)
400
401(defcustom org-export-with-TeX-macros t 387(defcustom org-export-with-TeX-macros t
402 "Non-nil means, interpret simple TeX-like macros when exporting. 388 "Non-nil means, interpret simple TeX-like macros when exporting.
403For example, HTML export converts \\alpha to &alpha; and \\AA to &Aring;. 389For example, HTML export converts \\alpha to &alpha; and \\AA to &Aring;.
@@ -1767,7 +1753,8 @@ whose content to keep."
1767 "\\|") 1753 "\\|")
1768 "\\):[ \t]*\n\\([^@]*?\n\\)?[ \t]*:END:[ \t]*\n"))) 1754 "\\):[ \t]*\n\\([^@]*?\n\\)?[ \t]*:END:[ \t]*\n")))
1769 (while (re-search-forward re nil t) 1755 (while (re-search-forward re nil t)
1770 (replace-match ""))))) 1756 (org-if-unprotected
1757 (replace-match ""))))))
1771 1758
1772(defun org-export-handle-export-tags (select-tags exclude-tags) 1759(defun org-export-handle-export-tags (select-tags exclude-tags)
1773 "Modify the buffer, honoring SELECT-TAGS and EXCLUDE-TAGS. 1760 "Modify the buffer, honoring SELECT-TAGS and EXCLUDE-TAGS.
@@ -2618,7 +2605,6 @@ underlined headlines. The default is 3."
2618 "\n")) 2605 "\n"))
2619 thetoc have-headings first-heading-pos 2606 thetoc have-headings first-heading-pos
2620 table-open table-buffer link desc) 2607 table-open table-buffer link desc)
2621
2622 (let ((inhibit-read-only t)) 2608 (let ((inhibit-read-only t))
2623 (org-unmodified 2609 (org-unmodified
2624 (remove-text-properties (point-min) (point-max) 2610 (remove-text-properties (point-min) (point-max)
@@ -2776,7 +2762,7 @@ underlined headlines. The default is 3."
2776 (if (string-match "\\\\\\\\[ \t]*$" line) 2762 (if (string-match "\\\\\\\\[ \t]*$" line)
2777 (setq line (replace-match "" t t line))) 2763 (setq line (replace-match "" t t line)))
2778 (if (and org-export-with-fixed-width 2764 (if (and org-export-with-fixed-width
2779 (string-match "^\\([ \t]*\\)\\(:\\)" line)) 2765 (string-match "^\\([ \t]*\\)\\(:\\( \\|$\\)\\)" line))
2780 (setq line (replace-match "\\1" nil nil line))) 2766 (setq line (replace-match "\\1" nil nil line)))
2781 (insert line "\n")))) 2767 (insert line "\n"))))
2782 2768
@@ -4036,18 +4022,20 @@ lang=\"%s\" xml:lang=\"%s\">
4036(defun org-export-html-format-image (src) 4022(defun org-export-html-format-image (src)
4037 "Create image tag with source and attributes." 4023 "Create image tag with source and attributes."
4038 (save-match-data 4024 (save-match-data
4039 (let* ((caption (org-find-text-property-in-string 'org-caption src)) 4025 (if (string-match "^ltxpng/" src)
4040 (attr (org-find-text-property-in-string 'org-attributes src)) 4026 (format "<img src=\"%s\"/>" src)
4041 (label (org-find-text-property-in-string 'org-label src))) 4027 (let* ((caption (org-find-text-property-in-string 'org-caption src))
4042 (format "<div %sclass=\"figure\"> 4028 (attr (org-find-text-property-in-string 'org-attributes src))
4029 (label (org-find-text-property-in-string 'org-label src)))
4030 (format "<div %sclass=\"figure\">
4043<p><img src=\"%s\"%s /></p>%s 4031<p><img src=\"%s\"%s /></p>%s
4044</div>" 4032</div>"
4045 (if label (format "id=\"%s\" " label) "") 4033 (if label (format "id=\"%s\" " label) "")
4046 src 4034 src
4047 (if (string-match "\\<alt=" (or attr "")) 4035 (if (string-match "\\<alt=" (or attr ""))
4048 (concat " " attr ) 4036 (concat " " attr )
4049 (concat " " attr " alt=\"" src "\"")) 4037 (concat " " attr " alt=\"" src "\""))
4050 (if caption (concat "\n<p>" caption "</p>") ""))))) 4038 (if caption (concat "\n<p>" caption "</p>") ""))))))
4051 4039
4052(defvar org-table-colgroup-info nil) 4040(defvar org-table-colgroup-info nil)
4053(defun org-format-table-ascii (lines) 4041(defun org-format-table-ascii (lines)
diff --git a/lisp/org/org-export-latex.el b/lisp/org/org-export-latex.el
index 945dee0a5f3..7e0c929ca4b 100644
--- a/lisp/org/org-export-latex.el
+++ b/lisp/org/org-export-latex.el
@@ -4,7 +4,7 @@
4;; 4;;
5;; Emacs Lisp Archive Entry 5;; Emacs Lisp Archive Entry
6;; Filename: org-export-latex.el 6;; Filename: org-export-latex.el
7;; Version: 6.20c 7;; Version: 6.20g
8;; Author: Bastien Guerry <bzg AT altern DOT org> 8;; Author: Bastien Guerry <bzg AT altern DOT org>
9;; Maintainer: Bastien Guerry <bzg AT altern DOT org> 9;; Maintainer: Bastien Guerry <bzg AT altern DOT org>
10;; Keywords: org, wp, tex 10;; Keywords: org, wp, tex
diff --git a/lisp/org/org-faces.el b/lisp/org/org-faces.el
index 18b169bebf7..f6548d03580 100644
--- a/lisp/org/org-faces.el
+++ b/lisp/org/org-faces.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-footnote.el b/lisp/org/org-footnote.el
index 94112d0f450..7ea076db4b3 100644
--- a/lisp/org/org-footnote.el
+++ b/lisp/org/org-footnote.el
@@ -5,7 +5,7 @@
5;; Author: Carsten Dominik <carsten at orgmode dot org> 5;; Author: Carsten Dominik <carsten at orgmode dot org>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
diff --git a/lisp/org/org-gnus.el b/lisp/org/org-gnus.el
index ee5fcbcfb81..2a6aa0f34fc 100644
--- a/lisp/org/org-gnus.el
+++ b/lisp/org/org-gnus.el
@@ -7,7 +7,7 @@
7;; Tassilo Horn <tassilo at member dot fsf dot org> 7;; Tassilo Horn <tassilo at member dot fsf dot org>
8;; Keywords: outlines, hypermedia, calendar, wp 8;; Keywords: outlines, hypermedia, calendar, wp
9;; Homepage: http://orgmode.org 9;; Homepage: http://orgmode.org
10;; Version: 6.20c 10;; Version: 6.20g
11;; 11;;
12;; This file is part of GNU Emacs. 12;; This file is part of GNU Emacs.
13;; 13;;
diff --git a/lisp/org/org-id.el b/lisp/org/org-id.el
index b68241d7257..6ab4a546289 100644
--- a/lisp/org/org-id.el
+++ b/lisp/org/org-id.el
@@ -5,7 +5,7 @@
5;; Author: Carsten Dominik <carsten at orgmode dot org> 5;; Author: Carsten Dominik <carsten at orgmode dot org>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
diff --git a/lisp/org/org-info.el b/lisp/org/org-info.el
index 223248f568a..025145942bc 100644
--- a/lisp/org/org-info.el
+++ b/lisp/org/org-info.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-irc.el b/lisp/org/org-irc.el
index d9ecf6524ce..cd3b02fd9c9 100644
--- a/lisp/org/org-irc.el
+++ b/lisp/org/org-irc.el
@@ -4,7 +4,7 @@
4;; 4;;
5;; Author: Philip Jackson <emacs@shellarchive.co.uk> 5;; Author: Philip Jackson <emacs@shellarchive.co.uk>
6;; Keywords: erc, irc, link, org 6;; Keywords: erc, irc, link, org
7;; Version: 6.20c 7;; Version: 6.20g
8;; 8;;
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10;; 10;;
diff --git a/lisp/org/org-jsinfo.el b/lisp/org/org-jsinfo.el
index b74122b9cf9..172592be42d 100644
--- a/lisp/org/org-jsinfo.el
+++ b/lisp/org/org-jsinfo.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el
index 78f3552e9b3..13f54dc83a7 100644
--- a/lisp/org/org-list.el
+++ b/lisp/org/org-list.el
@@ -7,7 +7,7 @@
7;; Bastien Guerry <bzg AT altern DOT org> 7;; Bastien Guerry <bzg AT altern DOT org>
8;; Keywords: outlines, hypermedia, calendar, wp 8;; Keywords: outlines, hypermedia, calendar, wp
9;; Homepage: http://orgmode.org 9;; Homepage: http://orgmode.org
10;; Version: 6.20c 10;; Version: 6.20g
11;; 11;;
12;; This file is part of GNU Emacs. 12;; This file is part of GNU Emacs.
13;; 13;;
@@ -253,7 +253,9 @@ Return t when things worked, nil when we are not in an item."
253With prefix arg TOGGLE-PRESENCE, add or remove checkboxes. 253With prefix arg TOGGLE-PRESENCE, add or remove checkboxes.
254When there is an active region, toggle status or presence of the checkbox 254When there is an active region, toggle status or presence of the checkbox
255in the first line, and make every item in the region have the same 255in the first line, and make every item in the region have the same
256status or precence, respectively." 256status or precence, respectively.
257If the cursor is in a headline, apply this to all checkbox items in the
258text below the heading."
257 (interactive "P") 259 (interactive "P")
258 (catch 'exit 260 (catch 'exit
259 (let (beg end status first-present first-status) 261 (let (beg end status first-present first-status)
@@ -286,7 +288,10 @@ status or precence, respectively."
286 (save-excursion 288 (save-excursion
287 (goto-char beg) 289 (goto-char beg)
288 (setq first-present (org-at-item-checkbox-p) 290 (setq first-present (org-at-item-checkbox-p)
289 first-status (and first-present (equal (match-string 0) "[X]"))) 291 first-status
292 (save-excursion
293 (and (re-search-forward "[ \t]\\(\\[[ X]\\]\\)" end t)
294 (equal (match-string 1) "[X]"))))
290 (while (< (point) end) 295 (while (< (point) end)
291 (if toggle-presence 296 (if toggle-presence
292 (cond 297 (cond
@@ -343,7 +348,7 @@ the whole buffer."
343 end-cookie (match-end 1) 348 end-cookie (match-end 1)
344 cstat (+ cstat (if end-cookie 1 0)) 349 cstat (+ cstat (if end-cookie 1 0))
345 startsearch (point-at-eol) 350 startsearch (point-at-eol)
346 continue-from (point-at-bol) 351 continue-from (match-beginning 0)
347 is-percent (match-beginning 2) 352 is-percent (match-beginning 2)
348 lim (cond 353 lim (cond
349 ((org-on-heading-p) (outline-next-heading) (point)) 354 ((org-on-heading-p) (outline-next-heading) (point))
diff --git a/lisp/org/org-mac-message.el b/lisp/org/org-mac-message.el
index 6d721261fec..6b068382e82 100644
--- a/lisp/org/org-mac-message.el
+++ b/lisp/org/org-mac-message.el
@@ -3,7 +3,7 @@
3;; Copyright (C) 2008, 2009 Free Software Foundation, Inc. 3;; Copyright (C) 2008, 2009 Free Software Foundation, Inc.
4 4
5;; Author: John Wiegley <johnw@gnu.org> 5;; Author: John Wiegley <johnw@gnu.org>
6;; Version: 6.20c 6;; Version: 6.20g
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
diff --git a/lisp/org/org-macs.el b/lisp/org/org-macs.el
index 5f8c5cf07c8..87f44c6b095 100644
--- a/lisp/org/org-macs.el
+++ b/lisp/org/org-macs.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-mew.el b/lisp/org/org-mew.el
index 99678a348ae..329a47f84c1 100644
--- a/lisp/org/org-mew.el
+++ b/lisp/org/org-mew.el
@@ -5,7 +5,7 @@
5;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp> 5;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/org/org-mhe.el b/lisp/org/org-mhe.el
index 7333e146c7b..b8faeb34751 100644
--- a/lisp/org/org-mhe.el
+++ b/lisp/org/org-mhe.el
@@ -6,7 +6,7 @@
6;; Author: Thomas Baumann <thomas dot baumann at ch dot tum dot de> 6;; Author: Thomas Baumann <thomas dot baumann at ch dot tum dot de>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-mouse.el b/lisp/org/org-mouse.el
index 2fef3c5aa89..c291fa36a5a 100644
--- a/lisp/org/org-mouse.el
+++ b/lisp/org/org-mouse.el
@@ -4,7 +4,7 @@
4;; 4;;
5;; Author: Piotr Zielinski <piotr dot zielinski at gmail dot com> 5;; Author: Piotr Zielinski <piotr dot zielinski at gmail dot com>
6;; Maintainer: Carsten Dominik <carsten at orgmode dot org> 6;; Maintainer: Carsten Dominik <carsten at orgmode dot org>
7;; Version: 6.20c 7;; Version: 6.20g
8;; 8;;
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10;; 10;;
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el
index 9c0bb14e495..392f0b2eac6 100644
--- a/lisp/org/org-plot.el
+++ b/lisp/org/org-plot.el
@@ -5,7 +5,7 @@
5;; Author: Eric Schulte <schulte dot eric at gmail dot com> 5;; Author: Eric Schulte <schulte dot eric at gmail dot com>
6;; Keywords: tables, plotting 6;; Keywords: tables, plotting
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
diff --git a/lisp/org/org-publish.el b/lisp/org/org-publish.el
index d08a1ce5cc5..8d44521ebae 100644
--- a/lisp/org/org-publish.el
+++ b/lisp/org/org-publish.el
@@ -4,7 +4,7 @@
4;; Author: David O'Toole <dto@gnu.org> 4;; Author: David O'Toole <dto@gnu.org>
5;; Maintainer: Bastien Guerry <bzg AT altern DOT org> 5;; Maintainer: Bastien Guerry <bzg AT altern DOT org>
6;; Keywords: hypermedia, outlines, wp 6;; Keywords: hypermedia, outlines, wp
7;; Version: 6.20c 7;; Version: 6.20g
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10;; 10;;
diff --git a/lisp/org/org-remember.el b/lisp/org/org-remember.el
index a16d3bdea0a..f6d07691eb3 100644
--- a/lisp/org/org-remember.el
+++ b/lisp/org/org-remember.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-rmail.el b/lisp/org/org-rmail.el
index e24815c99e8..068f4fe9707 100644
--- a/lisp/org/org-rmail.el
+++ b/lisp/org/org-rmail.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el
index 0b369a73adf..ddd56d9949d 100644
--- a/lisp/org/org-table.el
+++ b/lisp/org/org-table.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-timer.el b/lisp/org/org-timer.el
index 632fe6d8fd0..a06a157dc14 100644
--- a/lisp/org/org-timer.el
+++ b/lisp/org/org-timer.el
@@ -5,7 +5,7 @@
5;; Author: Carsten Dominik <carsten at orgmode dot org> 5;; Author: Carsten Dominik <carsten at orgmode dot org>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
@@ -253,6 +253,8 @@ VALUE can be `on', `off', or `pause'."
253 (concat " <" (substring (org-timer-value-string) 0 -1) ">")) 253 (concat " <" (substring (org-timer-value-string) 0 -1) ">"))
254 (force-mode-line-update))) 254 (force-mode-line-update)))
255 255
256(provide 'org-timer)
257
256;; arch-tag: 97538f8c-3871-4509-8f23-1e7b3ff3d107 258;; arch-tag: 97538f8c-3871-4509-8f23-1e7b3ff3d107
257 259
258;;; org-timer.el ends here 260;;; org-timer.el ends here
diff --git a/lisp/org/org-vm.el b/lisp/org/org-vm.el
index cd625248a95..191e4006612 100644
--- a/lisp/org/org-vm.el
+++ b/lisp/org/org-vm.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org-w3m.el b/lisp/org/org-w3m.el
index f466fc34b32..d6ab9185b87 100644
--- a/lisp/org/org-w3m.el
+++ b/lisp/org/org-w3m.el
@@ -5,7 +5,7 @@
5;; Author: Andy Stewart <lazycat dot manatee at gmail dot com> 5;; Author: Andy Stewart <lazycat dot manatee at gmail dot com>
6;; Keywords: outlines, hypermedia, calendar, wp 6;; Keywords: outlines, hypermedia, calendar, wp
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 6.20c 8;; Version: 6.20g
9;; 9;;
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11;; 11;;
diff --git a/lisp/org/org-wl.el b/lisp/org/org-wl.el
index ffbfee42e3d..1de5c3a6216 100644
--- a/lisp/org/org-wl.el
+++ b/lisp/org/org-wl.el
@@ -6,7 +6,7 @@
6;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp> 6;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
diff --git a/lisp/org/org.el b/lisp/org/org.el
index c99159c754f..956a4f529c7 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -6,7 +6,7 @@
6;; Author: Carsten Dominik <carsten at orgmode dot org> 6;; Author: Carsten Dominik <carsten at orgmode dot org>
7;; Keywords: outlines, hypermedia, calendar, wp 7;; Keywords: outlines, hypermedia, calendar, wp
8;; Homepage: http://orgmode.org 8;; Homepage: http://orgmode.org
9;; Version: 6.20c 9;; Version: 6.20g
10;; 10;;
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12;; 12;;
@@ -94,7 +94,7 @@
94 94
95;;; Version 95;;; Version
96 96
97(defconst org-version "6.20c" 97(defconst org-version "6.20g"
98 "The version number of the file org.el.") 98 "The version number of the file org.el.")
99 99
100(defun org-version (&optional here) 100(defun org-version (&optional here)
@@ -8561,6 +8561,18 @@ changes. Such blocking occurs when:
8561 (throw 'dont-block nil))))))) 8561 (throw 'dont-block nil)))))))
8562 t)) ; don't block 8562 t)) ; don't block
8563 8563
8564(defun org-toggle-ordered-property ()
8565 "Toggle the ORDERED property of the current entry."
8566 (interactive)
8567 (save-excursion
8568 (org-back-to-heading)
8569 (if (org-entry-get nil "ORDERED")
8570 (progn
8571 (org-delete-property "ORDERED")
8572 (message "Subtasks can be completed in arbitrary order or parallel"))
8573 (org-entry-put nil "ORDERED" "t")
8574 (message "Subtasks must be completed in sequence"))))
8575
8564(defun org-update-parent-todo-statistics () 8576(defun org-update-parent-todo-statistics ()
8565 "Update any statistics cookie in the parent of the current headline." 8577 "Update any statistics cookie in the parent of the current headline."
8566 (interactive) 8578 (interactive)
@@ -8569,24 +8581,24 @@ changes. Such blocking occurs when:
8569 (catch 'exit 8581 (catch 'exit
8570 (save-excursion 8582 (save-excursion
8571 (setq level (org-up-heading-safe)) 8583 (setq level (org-up-heading-safe))
8572 (unless (and level 8584 (unless level
8573 (re-search-forward box-re (point-at-eol) t))
8574 (throw 'exit nil)) 8585 (throw 'exit nil))
8575 (setq is-percent (match-end 2)) 8586 (while (re-search-forward box-re (point-at-eol) t)
8576 (save-match-data 8587 (setq is-percent (match-end 2))
8577 (unless (outline-next-heading) (throw 'exit nil)) 8588 (save-match-data
8578 (while (looking-at org-todo-line-regexp) 8589 (unless (outline-next-heading) (throw 'exit nil))
8579 (setq kwd (match-string 2)) 8590 (while (looking-at org-todo-line-regexp)
8580 (and kwd (setq cnt-all (1+ cnt-all))) 8591 (setq kwd (match-string 2))
8581 (and (member kwd org-done-keywords) 8592 (and kwd (setq cnt-all (1+ cnt-all)))
8582 (setq cnt-done (1+ cnt-done))) 8593 (and (member kwd org-done-keywords)
8583 (condition-case nil 8594 (setq cnt-done (1+ cnt-done)))
8584 (org-forward-same-level 1) 8595 (condition-case nil
8585 (error (end-of-line 1))))) 8596 (org-forward-same-level 1)
8586 (replace-match 8597 (error (end-of-line 1)))))
8587 (if is-percent 8598 (replace-match
8588 (format "[%d%%]" (/ (* 100 cnt-done) (max 1 cnt-all))) 8599 (if is-percent
8589 (format "[%d/%d]" cnt-done cnt-all))) 8600 (format "[%d%%]" (/ (* 100 cnt-done) (max 1 cnt-all)))
8601 (format "[%d/%d]" cnt-done cnt-all))))
8590 (run-hook-with-args 'org-after-todo-statistics-hook 8602 (run-hook-with-args 'org-after-todo-statistics-hook
8591 cnt-done (- cnt-all cnt-done)))))) 8603 cnt-done (- cnt-all cnt-done))))))
8592 8604
@@ -10342,7 +10354,7 @@ but in some other way.")
10342 '("ARCHIVE" "CATEGORY" "SUMMARY" "DESCRIPTION" 10354 '("ARCHIVE" "CATEGORY" "SUMMARY" "DESCRIPTION"
10343 "LOCATION" "LOGGING" "COLUMNS" "VISIBILITY" 10355 "LOCATION" "LOGGING" "COLUMNS" "VISIBILITY"
10344 "TABLE_EXPORT_FORMAT" "TABLE_EXPORT_FILE" 10356 "TABLE_EXPORT_FORMAT" "TABLE_EXPORT_FILE"
10345 "EXPORT_FILE_NAME" "EXPORT_TITLE") 10357 "EXPORT_FILE_NAME" "EXPORT_TITLE" "ORDERED")
10346 "Some properties that are used by Org-mode for various purposes. 10358 "Some properties that are used by Org-mode for various purposes.
10347Being in this list makes sure that they are offered for completion.") 10359Being in this list makes sure that they are offered for completion.")
10348 10360
@@ -12876,6 +12888,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]."
12876(org-defkey org-mode-map "\C-c\C-x\C-l" 'org-preview-latex-fragment) 12888(org-defkey org-mode-map "\C-c\C-x\C-l" 'org-preview-latex-fragment)
12877(org-defkey org-mode-map "\C-c\C-x\C-b" 'org-toggle-checkbox) 12889(org-defkey org-mode-map "\C-c\C-x\C-b" 'org-toggle-checkbox)
12878(org-defkey org-mode-map "\C-c\C-xp" 'org-set-property) 12890(org-defkey org-mode-map "\C-c\C-xp" 'org-set-property)
12891(org-defkey org-mode-map "\C-c\C-xo" 'org-toggle-ordered-property)
12879(org-defkey org-mode-map "\C-c\C-xi" 'org-insert-columns-dblock) 12892(org-defkey org-mode-map "\C-c\C-xi" 'org-insert-columns-dblock)
12880 12893
12881(org-defkey org-mode-map "\C-c\C-x." 'org-timer) 12894(org-defkey org-mode-map "\C-c\C-x." 'org-timer)
@@ -13715,6 +13728,16 @@ See the individual commands for more information."
13715 ["Show TODO Tree" org-show-todo-tree t] 13728 ["Show TODO Tree" org-show-todo-tree t]
13716 ["Global TODO list" org-todo-list t] 13729 ["Global TODO list" org-todo-list t]
13717 "--" 13730 "--"
13731 ["Enforce dependencies" (customize-variable 'org-enforce-todo-dependencies)
13732 :selected org-enforce-todo-dependencies :style toggle :active t]
13733 "Settings for tree at point"
13734 ["Do Children sequentially" org-toggle-ordered-property :style radio
13735 :selected (ignore-errors (org-entry-get nil "ORDERED"))
13736 :active org-enforce-todo-dependencies :keys "C-c C-x o"]
13737 ["Do Children parallel" org-toggle-ordered-property :style radio
13738 :selected (ignore-errors (not (org-entry-get nil "ORDERED")))
13739 :active org-enforce-todo-dependencies :keys "C-c C-x o"]
13740 "--"
13718 ["Set Priority" org-priority t] 13741 ["Set Priority" org-priority t]
13719 ["Priority Up" org-shiftup t] 13742 ["Priority Up" org-shiftup t]
13720 ["Priority Down" org-shiftdown t]) 13743 ["Priority Down" org-shiftdown t])
@@ -13849,9 +13872,9 @@ With optional NODE, go directly to that node."
13849(defun org-require-autoloaded-modules () 13872(defun org-require-autoloaded-modules ()
13850 (interactive) 13873 (interactive)
13851 (mapc 'require 13874 (mapc 'require
13852 '(org-agenda org-archive org-clock org-colview 13875 '(org-agenda org-archive org-attach org-clock org-colview
13853 org-exp org-id org-export-latex org-publish 13876 org-exp org-id org-export-latex org-publish
13854 org-remember org-table))) 13877 org-remember org-table org-timer)))
13855 13878
13856;;;###autoload 13879;;;###autoload
13857(defun org-customize () 13880(defun org-customize ()