summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-16 11:01:14 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-16 11:01:14 +0000
commit0ad608f9b9b29eb1469760b7be9c18b8fe12c6c5 (patch)
treec31a235394050d58ab5092df17168a49e0d8d8e6
parentd3a13d625f3b9a8d53e59f5d9ce1fb1b2c0356bd (diff)
hl-line colouring and added CAL org agenda keyword
-rw-r--r--custom-settings.el6
-rw-r--r--init.el11
2 files changed, 9 insertions, 8 deletions
diff --git a/custom-settings.el b/custom-settings.el
index 9b2c2ea..c074566 100644
--- a/custom-settings.el
+++ b/custom-settings.el
@@ -67,9 +67,3 @@
(340 . "#94BFF3")
(360 . "#DC8CC3"))))
'(vc-annotate-very-old-color "#DC8CC3"))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
diff --git a/init.el b/init.el
index 373a9cc..55fc6f7 100644
--- a/init.el
+++ b/init.el
@@ -28,6 +28,10 @@
(require 'use-package-ensure)
(setq use-package-always-ensure t)
+;; Highlight line
+(set-face-background hl-line-face "pale goldenrod")
+(hl-line-mode 1)
+
;; Deal with history
(setq savehist-file "~/.emacs.d/savehist")
(savehist-mode +1)
@@ -235,7 +239,7 @@
"* %?\nEntered on %U\n %i\n %a")
("c" "Calendar entries")
("cw" "Work Calendar" entry (file+headline "~/Nextcloud/org/cal.org" "DfT")
- "* %?\n%^t\n")
+ "* CAL %?\n%^t\n")
("ch" "Home Calendar" entry (file+headline "~/Nextcloud/org/cal.org" "Home")
"* %?\n%^t\n")
("e" "Emacs Tip" entry (file+headline "~/Nextcloud/org/emacs-tips.org" "Emacs Tips")
@@ -245,7 +249,9 @@
(setq org-todo-keywords
(quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
- (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING" "PROJECT"))))
+ (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)")
+ (sequence "PHONE(o)" "MEETING(m)" "PROJECT(p)" "CAL(i)"))))
+
(setq org-todo-keyword-faces
(quote (("TODO" :foreground "red" :weight bold)
("NEXT" :foreground "blue" :weight bold)
@@ -255,6 +261,7 @@
("CANCELLED" :foreground "forest green" :weight bold)
("MEETING" :foreground "forest green" :weight bold)
("PROJECT" :foreground "OrangeRed2" :weight bold)
+ ("CAL" :foreground "DarkOliveGreen" :weight bold)
("PHONE" :foreground "forest green" :weight bold))))
;; tag stuff automatically dependent on a change of state