From: Samuel Wales <samologist@gmail.com>
To: "grewil3 ." <grewil@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda view of state changes
Date: Fri, 17 Apr 2015 14:54:48 -0700 [thread overview]
Message-ID: <CAJcAo8ugAE0Ofx90L3Y7V17hLXgJS9GoEC4OfgnE4z_memFAgw@mail.gmail.com> (raw)
In-Reply-To: <CAB_kak2vXgeJZoRsmkA6L-u3xEiZx30wx-xK8A=zLrtB87MqTQ@mail.gmail.com>
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.
prev parent reply other threads:[~2015-04-17 21:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 10:44 agenda view of state changes grewil3 .
2015-04-17 11:09 ` Ken Mankoff
2015-04-17 11:20 ` Per Weijnitz
2015-04-17 21:54 ` Samuel Wales [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJcAo8ugAE0Ofx90L3Y7V17hLXgJS9GoEC4OfgnE4z_memFAgw@mail.gmail.com \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=grewil@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).