Mercurial > emacs
diff lisp/org/org-agenda.el @ 101568:f5aedb5cbd80
2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-todo): Return correct state type even if the blocker
throws an error.
(org-modifier-cursor-error): Renamed from
`org-shiftcursor-error'.
(org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
(org-shiftmetadown): Call `org-modifier-cursor-error'.
* org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
to get real errors from the blocker hook.
* org.el (org-shiftselect-error, org-call-for-shift-select): New
functions.
(org-set-visibility-according-to-property): Turn off the setting
of `org-show-entry-below', to avoid overruling a FOLDED visibility
property.
* org.el (org-support-shift-select): New option.
(org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
(org-shiftcontrolright, org-shiftcontrolleft): Support for shift
selection outside contexts.
* org-list.el (org-at-item-bullet-p): New function.
* org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
variables.
* org-footnote.el (org-footnote-normalize): Remove unnecessary
variable.
(org-insert-footnote-reference-near-definition): Remove
unnecessary let form.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Tue, 27 Jan 2009 11:38:21 +0000 |
parents | 36abe982e7cd |
children | 59ea090317cd |
line wrap: on
line diff
--- a/lisp/org/org-agenda.el Tue Jan 27 09:40:25 2009 +0000 +++ b/lisp/org/org-agenda.el Tue Jan 27 11:38:21 2009 +0000 @@ -6,7 +6,7 @@ ;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Keywords: outlines, hypermedia, calendar, wp ;; Homepage: http://orgmode.org -;; Version: 6.19a +;; Version: 6.19e ;; ;; This file is part of GNU Emacs. ;; @@ -2612,7 +2612,7 @@ 'keymap org-agenda-keymap 'help-echo (format "mouse-2 or RET jump to location"))) regexp rtn rtnall files file pos - marker priority category tags c neg re + marker category tags c neg re ee txt beg end words regexps+ regexps- hdl-only buffer beg1 str) (unless (and (not edit-at) (stringp string) @@ -3715,7 +3715,7 @@ (regexp org-tr-regexp) (d0 (calendar-absolute-from-gregorian date)) marker hdmarker ee txt d1 d2 s1 s2 timestr category todo-state tags pos - donep head) + head) (goto-char (point-min)) (while (re-search-forward regexp nil t) (catch :skip @@ -4324,7 +4324,7 @@ (effort-prompt "") (inhibit-read-only t) (current org-agenda-filter) - char a n tag tags) + char a n tag) (unless char (message "%s by tag [%s ], [TAB], [/]:off, [+-]:narrow, [>=<]:effort: " @@ -4423,7 +4423,7 @@ (while (not (eobp)) (if (get-text-property (point) 'org-marker) (progn - (setq tags (get-text-property (point) 'tags)) + (setq tags (get-text-property (point) 'tags)) ; used in eval (if (not (eval org-agenda-filter-form)) (org-agenda-filter-by-tag-hide-line)) (beginning-of-line 2)) @@ -5084,7 +5084,7 @@ (save-excursion (and (outline-next-heading) (org-flag-heading nil))) ; show the next heading - (org-todo arg) + (call-interactively 'org-todo) (and (bolp) (forward-char 1)) (setq newhead (org-get-heading)) (when (and (org-bound-and-true-p @@ -5419,7 +5419,7 @@ The cursor may be at a date in the calendar, or in the Org agenda." (interactive) - (let (pos ans) + (let (ans) (message "Select action: [m]ark | [s]chedule [d]eadline [r]emember [ ]show") (setq ans (read-char-exclusive)) (cond