From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: agenda view of state changes Date: Fri, 17 Apr 2015 14:54:48 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjEDs-0002Hz-DS for emacs-orgmode@gnu.org; Fri, 17 Apr 2015 17:54:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjEDr-00079Q-Bf for emacs-orgmode@gnu.org; Fri, 17 Apr 2015 17:54:52 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:35153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjEDr-000793-2k for emacs-orgmode@gnu.org; Fri, 17 Apr 2015 17:54:51 -0400 Received: by labbd9 with SMTP id bd9so90234050lab.2 for ; Fri, 17 Apr 2015 14:54:49 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "grewil3 ." Cc: emacs-orgmode@gnu.org i do not recommend this: ;; (eval-after-load 'org-agenda ;; '(pushnew 'state org-agenda-log-mode-items :test 'eq)) ;; (setq org-agenda-log-mode-items '(closed clock)) === i do this: (setq org-agenda-include-inactive-timestamps t) and this [i am not signed with fsf]: === alpha make agenda display inactive timestamp lines with a new face Modified lisp/org-agenda.el diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index a0f47ab..9fe49b8 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5619,6 +5619,9 @@ This function is invoked if `org-agenda-todo-ignore-deadlines', 'org-category-position category-pos 'todo-state todo-state 'warntime warntime + 'face (if inactivep + 'org-agenda-inactive + 'org-agenda-calendar-event) 'type "timestamp") (push txt ee)) (if org-agenda-skip-additional-timestamps-same-entry Modified lisp/org-faces.el diff --git a/lisp/org-faces.el b/lisp/org-faces.el index f8625f1..47ccc96 100644 --- a/lisp/org-faces.el +++ b/lisp/org-faces.el @@ -346,6 +346,16 @@ is of course immediately visible, but for example a passed deadline is of the frame, for example." :group 'org-faces) +(defface org-agenda-inactive ;; originally copied from font-lock-type-face + (org-compatible-face nil + '((((class color) (min-colors 16) (background light)) (:foreground "ForestGreen")) + (((class color) (min-colors 16) (background dark)) (:foreground "#546b00")) + (((class color) (min-colors 8)) (:foreground "green")) + (t (:bold nil)))) + "Face used in agenda to indicate lines that appear because +inactive timestamps appear in the entries." + :group 'org-faces) + (defface org-headline-done ;; originally copied from font-lock-string-face (org-compatible-face nil '((((class color) (min-colors 16) (background light)) (:foreground "RosyBrown")) -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com Ramsay's disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.