comparison lisp/org/org-faces.el @ 101607:59ea090317cd

2009-01-28 Carsten Dominik <carsten.dominik@gmail.com> * org-agenda.el (org-agenda-get-todos): Start search from correct position. * org.el (org-fast-todo-selection): Make sure TODO selection does not change buffer position. * org-list.el (org-toggle-checkbox): Implement adding or removing checkboxes from line or region when called with a prefix argument. * org-rmail.el (org-rmail-store-link): Protect the call to `rmail-narrow-to-non-pruned-header'. * org-clock.el (org-clock-special-range): Fix week display in clock tables. * org-exp.el (org-get-current-options): Fix bug when in indirect buffer. * org-agenda.el (org-agenda-dim-blocked-tasks): New option. (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'. (org-agenda-dim-blocked-tasks): New function. * org.el (org-enforce-todo-dependencies): New option. (org-block-todo-from-children-or-siblings): New function. * org-faces.el (org-agenda-dimmed-todo-face): New face.
author Carsten Dominik <dominik@science.uva.nl>
date Wed, 28 Jan 2009 14:31:59 +0000
parents f5aedb5cbd80
children a15c11f894f1
comparison
equal deleted inserted replaced
101606:7e8c2c1eb8b8 101607:59ea090317cd
4 ;; Free Software Foundation, Inc. 4 ;; Free Software Foundation, Inc.
5 5
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.19e 9 ;; Version: 6.20c
10 ;; 10 ;;
11 ;; This file is part of GNU Emacs. 11 ;; This file is part of GNU Emacs.
12 ;; 12 ;;
13 ;; GNU Emacs is free software: you can redistribute it and/or modify 13 ;; GNU Emacs is free software: you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by 14 ;; it under the terms of the GNU General Public License as published by
398 :version "22.1") 398 :version "22.1")
399 399
400 (defface org-clock-overlay ;; copied from secondary-selection 400 (defface org-clock-overlay ;; copied from secondary-selection
401 (org-compatible-face nil 401 (org-compatible-face nil
402 '((((class color) (min-colors 88) (background light)) 402 '((((class color) (min-colors 88) (background light))
403 :background "yellow1") 403 (:background "yellow1"))
404 (((class color) (min-colors 88) (background dark)) 404 (((class color) (min-colors 88) (background dark))
405 :background "SkyBlue4") 405 (:background "SkyBlue4"))
406 (((class color) (min-colors 16) (background light)) 406 (((class color) (min-colors 16) (background light))
407 :background "yellow") 407 (:background "yellow"))
408 (((class color) (min-colors 16) (background dark)) 408 (((class color) (min-colors 16) (background dark))
409 :background "SkyBlue4") 409 (:background "SkyBlue4"))
410 (((class color) (min-colors 8)) 410 (((class color) (min-colors 8))
411 :background "cyan" :foreground "black") 411 (:background "cyan" :foreground "black"))
412 (t (:inverse-video t)))) 412 (t (:inverse-video t))))
413 "Basic face for displaying the secondary selection." 413 "Basic face for displaying the secondary selection."
414 :group 'org-faces) 414 :group 'org-faces)
415 415
416 (defface org-agenda-structure ;; originally copied from font-lock-function-name-face 416 (defface org-agenda-structure ;; originally copied from font-lock-function-name-face
454 (((class color) (min-colors 8)) (:foreground "green")) 454 (((class color) (min-colors 8)) (:foreground "green"))
455 (t (:bold t :italic t)))) 455 (t (:bold t :italic t))))
456 "Face for items scheduled for a certain day." 456 "Face for items scheduled for a certain day."
457 :group 'org-faces) 457 :group 'org-faces)
458 458
459 (defface org-agenda-dimmed-todo-face
460 '((((background light)) (:foreground "grey50"))
461 (((background dark)) (:foreground "grey50")))
462 "Face used to dimm blocked tasks in the agenda."
463 :group 'org-faces)
459 464
460 (defface org-scheduled-previously 465 (defface org-scheduled-previously
461 (org-compatible-face nil 466 (org-compatible-face nil
462 '((((class color) (min-colors 88) (background light)) (:foreground "Firebrick")) 467 '((((class color) (min-colors 88) (background light)) (:foreground "Firebrick"))
463 (((class color) (min-colors 88) (background dark)) (:foreground "chocolate1")) 468 (((class color) (min-colors 88) (background dark)) (:foreground "chocolate1"))