diff options
| author | Carsten Dominik | 2007-02-11 07:14:38 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2007-02-11 07:14:38 +0000 |
| commit | ecf4f6dec2409e2ec2f709ecda14a3e6baa26aab (patch) | |
| tree | d44bf2e684ea36775d2251e7859bd927326ce316 | |
| parent | 9334d442a2fe9808656a5ba35d139a1536c6eaee (diff) | |
| download | emacs-ecf4f6dec2409e2ec2f709ecda14a3e6baa26aab.tar.gz emacs-ecf4f6dec2409e2ec2f709ecda14a3e6baa26aab.zip | |
* textmodes/org.el (org-agenda-get-todos)
(org-agenda-get-timestamps, org-agenda-get-closed)
(org-agenda-get-deadlines, org-agenda-get-scheduled)
(org-agenda-get-blocks, org-format-agenda-item)
(org-agenda-change-all-lines, org-scan-tags): Rename text property
from `category' to `org-category'.
| -rw-r--r-- | lisp/textmodes/org.el | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 1be73ec481c..a55bcdd7e25 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Carsten Dominik <dominik at science dot uva dot nl> | 5 | ;; Author: Carsten Dominik <dominik at science dot uva dot nl> |
| 6 | ;; Keywords: outlines, hypermedia, calendar, wp | 6 | ;; Keywords: outlines, hypermedia, calendar, wp |
| 7 | ;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ | 7 | ;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/ |
| 8 | ;; Version: 4.56e | 8 | ;; Version: 4.56f |
| 9 | ;; | 9 | ;; |
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | ;; | 11 | ;; |
| @@ -114,7 +114,7 @@ | |||
| 114 | 114 | ||
| 115 | ;;; Customization variables | 115 | ;;; Customization variables |
| 116 | 116 | ||
| 117 | (defvar org-version "4.56e" | 117 | (defvar org-version "4.56f" |
| 118 | "The version number of the file org.el.") | 118 | "The version number of the file org.el.") |
| 119 | (defun org-version () | 119 | (defun org-version () |
| 120 | (interactive) | 120 | (interactive) |
| @@ -8261,7 +8261,7 @@ the documentation of `org-diary'." | |||
| 8261 | 1))) | 8261 | 1))) |
| 8262 | (org-add-props txt props | 8262 | (org-add-props txt props |
| 8263 | 'org-marker marker 'org-hd-marker marker | 8263 | 'org-marker marker 'org-hd-marker marker |
| 8264 | 'priority priority 'category category) | 8264 | 'priority priority 'org-category category) |
| 8265 | (push txt ee) | 8265 | (push txt ee) |
| 8266 | (if org-agenda-todo-list-sublevels | 8266 | (if org-agenda-todo-list-sublevels |
| 8267 | (goto-char (match-end 1)) | 8267 | (goto-char (match-end 1)) |
| @@ -8327,13 +8327,13 @@ the documentation of `org-diary'." | |||
| 8327 | (org-add-props txt nil | 8327 | (org-add-props txt nil |
| 8328 | 'face (if donep 'org-done 'org-warning) | 8328 | 'face (if donep 'org-done 'org-warning) |
| 8329 | 'undone-face 'org-warning 'done-face 'org-done | 8329 | 'undone-face 'org-warning 'done-face 'org-done |
| 8330 | 'category category 'priority (+ 100 priority)) | 8330 | 'org-category category 'priority (+ 100 priority)) |
| 8331 | (if scheduledp | 8331 | (if scheduledp |
| 8332 | (org-add-props txt nil | 8332 | (org-add-props txt nil |
| 8333 | 'face 'org-scheduled-today | 8333 | 'face 'org-scheduled-today |
| 8334 | 'undone-face 'org-scheduled-today 'done-face 'org-done | 8334 | 'undone-face 'org-scheduled-today 'done-face 'org-done |
| 8335 | 'category category 'priority (+ 99 priority)) | 8335 | 'org-category category 'priority (+ 99 priority)) |
| 8336 | (org-add-props txt nil 'priority priority 'category category))) | 8336 | (org-add-props txt nil 'priority priority 'org-category category))) |
| 8337 | (push txt ee)) | 8337 | (push txt ee)) |
| 8338 | (outline-next-heading))) | 8338 | (outline-next-heading))) |
| 8339 | (nreverse ee))) | 8339 | (nreverse ee))) |
| @@ -8384,7 +8384,7 @@ the documentation of `org-diary'." | |||
| 8384 | (setq priority 100000) | 8384 | (setq priority 100000) |
| 8385 | (org-add-props txt props | 8385 | (org-add-props txt props |
| 8386 | 'org-marker marker 'org-hd-marker hdmarker 'face 'org-done | 8386 | 'org-marker marker 'org-hd-marker hdmarker 'face 'org-done |
| 8387 | 'priority priority 'category category | 8387 | 'priority priority 'org-category category |
| 8388 | 'undone-face 'org-warning 'done-face 'org-done) | 8388 | 'undone-face 'org-warning 'done-face 'org-done) |
| 8389 | (push txt ee)) | 8389 | (push txt ee)) |
| 8390 | (outline-next-heading))) | 8390 | (outline-next-heading))) |
| @@ -8440,7 +8440,7 @@ the documentation of `org-diary'." | |||
| 8440 | 'org-marker (org-agenda-new-marker pos) | 8440 | 'org-marker (org-agenda-new-marker pos) |
| 8441 | 'org-hd-marker (org-agenda-new-marker pos1) | 8441 | 'org-hd-marker (org-agenda-new-marker pos1) |
| 8442 | 'priority (+ (- 10 diff) (org-get-priority txt)) | 8442 | 'priority (+ (- 10 diff) (org-get-priority txt)) |
| 8443 | 'category category | 8443 | 'org-category category |
| 8444 | 'face face 'undone-face face 'done-face 'org-done) | 8444 | 'face face 'undone-face face 'done-face 'org-done) |
| 8445 | (push txt ee)))))) | 8445 | (push txt ee)))))) |
| 8446 | ee)) | 8446 | ee)) |
| @@ -8493,7 +8493,7 @@ the documentation of `org-diary'." | |||
| 8493 | 'org-marker (org-agenda-new-marker pos) | 8493 | 'org-marker (org-agenda-new-marker pos) |
| 8494 | 'org-hd-marker (org-agenda-new-marker pos1) | 8494 | 'org-hd-marker (org-agenda-new-marker pos1) |
| 8495 | 'priority (+ (- 5 diff) (org-get-priority txt)) | 8495 | 'priority (+ (- 5 diff) (org-get-priority txt)) |
| 8496 | 'category category) | 8496 | 'org-category category) |
| 8497 | (push txt ee)))))) | 8497 | (push txt ee)))))) |
| 8498 | ee)) | 8498 | ee)) |
| 8499 | 8499 | ||
| @@ -8539,7 +8539,7 @@ the documentation of `org-diary'." | |||
| 8539 | (setq txt org-agenda-no-heading-message)) | 8539 | (setq txt org-agenda-no-heading-message)) |
| 8540 | (org-add-props txt props | 8540 | (org-add-props txt props |
| 8541 | 'org-marker marker 'org-hd-marker hdmarker | 8541 | 'org-marker marker 'org-hd-marker hdmarker |
| 8542 | 'priority (org-get-priority txt) 'category category) | 8542 | 'priority (org-get-priority txt) 'org-category category) |
| 8543 | (push txt ee))) | 8543 | (push txt ee))) |
| 8544 | (goto-char pos))) | 8544 | (goto-char pos))) |
| 8545 | ;; Sort the entries by expiration date. | 8545 | ;; Sort the entries by expiration date. |
| @@ -8653,7 +8653,7 @@ only the correctly processes TXT should be returned - this is used by | |||
| 8653 | 8653 | ||
| 8654 | ;; And finally add the text properties | 8654 | ;; And finally add the text properties |
| 8655 | (org-add-props rtn nil | 8655 | (org-add-props rtn nil |
| 8656 | 'category (downcase category) 'tags tags | 8656 | 'org-category (downcase category) 'tags tags |
| 8657 | 'prefix-length (- (length rtn) (length txt)) | 8657 | 'prefix-length (- (length rtn) (length txt)) |
| 8658 | 'time-of-day time-of-day | 8658 | 'time-of-day time-of-day |
| 8659 | 'dotime dotime)))) | 8659 | 'dotime dotime)))) |
| @@ -9014,7 +9014,7 @@ the new TODO state." | |||
| 9014 | (equal m hdmarker)) | 9014 | (equal m hdmarker)) |
| 9015 | (setq props (text-properties-at (point)) | 9015 | (setq props (text-properties-at (point)) |
| 9016 | dotime (get-text-property (point) 'dotime) | 9016 | dotime (get-text-property (point) 'dotime) |
| 9017 | cat (get-text-property (point) 'category) | 9017 | cat (get-text-property (point) 'org-category) |
| 9018 | tags (get-text-property (point) 'tags) | 9018 | tags (get-text-property (point) 'tags) |
| 9019 | new (org-format-agenda-item "x" newhead cat tags dotime 'noprefix) | 9019 | new (org-format-agenda-item "x" newhead cat tags dotime 'noprefix) |
| 9020 | pl (get-text-property (point) 'prefix-length) | 9020 | pl (get-text-property (point) 'prefix-length) |
| @@ -9441,7 +9441,7 @@ are included in the output." | |||
| 9441 | (goto-char lspos) | 9441 | (goto-char lspos) |
| 9442 | (setq marker (org-agenda-new-marker)) | 9442 | (setq marker (org-agenda-new-marker)) |
| 9443 | (org-add-props txt props | 9443 | (org-add-props txt props |
| 9444 | 'org-marker marker 'org-hd-marker marker 'category category) | 9444 | 'org-marker marker 'org-hd-marker marker 'org-category category) |
| 9445 | (push txt rtn)) | 9445 | (push txt rtn)) |
| 9446 | ;; if we are to skip sublevels, jump to end of subtree | 9446 | ;; if we are to skip sublevels, jump to end of subtree |
| 9447 | (or org-tags-match-list-sublevels (org-end-of-subtree t)))))) | 9447 | (or org-tags-match-list-sublevels (org-end-of-subtree t)))))) |