Tweak eshell setting to display ansi colour properly
[syinit] / 12-cal-sy.el
index 892f025..93a798c 100644 (file)
@@ -5,7 +5,7 @@
 ;;     Author: Steve Youngs <steve@sxemacs.org>
 ;; Maintainer: Steve Youngs <steve@sxemacs.org>
 ;;    Created: <2007-12-02>
-;; Time-stamp: <Sunday Jun 10, 2012 10:58:53 steve>
+;; Time-stamp: <Friday Jun 29, 2012 16:25:18 steve>
 ;;   Download: <http://bastard.steveyoungs.com/~steve/SXEmacs/inits/>
 ;;   HTMLised: <http://bastard.steveyoungs.com/~steve/SXEmacs/htmlinits/12-cal-sy.html>
 ;;   Git Repo: git clone http://git.sxemacs.org/syinit
 
 ;:*=======================
 ;:* Todo
-(autoload 'todo-mode "todo-mode"
-  "Major mode for editing TODO lists." t)
-(autoload 'todo-show "todo-mode"
-  "Show TODO items." t)
-(autoload 'todo-insert-item "todo-mode"
-  "Add TODO item." t)
-(global-set-key "\C-ct" 'todo-show) ;; switch to TODO buffer
-(global-set-key "\C-cn" 'todo-insert-item) ;; insert new item
-(setq
- todo-prefix "&%%(todo-cp)"
- todo-file-do (expand-file-name ".todo-do" (getenv "HOME"))
- todo-file-done (expand-file-name ".todo-done" (getenv "HOME"))
- todo-file-top (expand-file-name ".todo-top" (getenv "HOME"))
- todo-time-string-format "%3b, %d")
+;; Turning this off for a while to see if I can get used to using Howm
+;; more.
+;;(autoload 'todo-mode "todo-mode"
+;;  "Major mode for editing TODO lists." t)
+;;(autoload 'todo-show "todo-mode"
+;;  "Show TODO items." t)
+;;(autoload 'todo-insert-item "todo-mode"
+;;  "Add TODO item." t)
+;;(global-set-key "\C-ct" 'todo-show) ;; switch to TODO buffer
+;;(global-set-key "\C-cn" 'todo-insert-item) ;; insert new item
+;;(setq
+;; todo-prefix "&%%(todo-cp)"
+;; todo-file-do (expand-file-name ".todo-do" (getenv "HOME"))
+;; todo-file-done (expand-file-name ".todo-done" (getenv "HOME"))
+;; todo-file-top (expand-file-name ".todo-top" (getenv "HOME"))
+;; todo-time-string-format "%3b, %d")
 
 ;:*=======================
 ;:* Fancy Diary with perdy colours!
@@ -146,8 +148,9 @@ for a fontified Diary buffer."
 (defun sy-update-diary-font-lock-keywords ()
   (sit-for 1.1)
   (setq fancy-diary-font-lock-keywords (fancy-diary-font-lock-keywords))
-  (with-current-buffer (get-buffer-create fancy-diary-buffer)
-    (font-lock-fontify-buffer)))
+  ;(with-current-buffer (get-buffer-create fancy-diary-buffer)
+  ;  (font-lock-fontify-buffer))
+  )
 
 (run-at-time "23:59:59" 86400 'sy-update-diary-font-lock-keywords)