]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Thu, 14 Jun 2012 06:59:00 +0000 (15:59 +0900)
committerPHO <pho@cielonegro.org>
Thu, 14 Jun 2012 06:59:00 +0000 (15:59 +0900)
dot-files/_emacs_el

index 92bd6d09a13736bddab343715abad4b222471343..7d282bdc2e73818b5fb47eadc91effb073a7d988 100644 (file)
   "Major mode for editing YAML files." t)
 (add-to-list 'auto-mode-alist '("\\.ya?ml$"  . yaml-mode))
 
+;; Troublesome Tasks
+(if (equal (system-name) "seras")
+    (progn
+      (defun edit-troublesome-tasks ()
+        (interactive)
+        (elscreen-create)
+        (find-file (expand-file-name "~/var/troublesome-tasks.txt")))
+      (define-key ctl-x-map "MT" #'edit-troublesome-tasks)))
+
 ;; ChangeLog
 (setq user-full-name "PHO")
 (setq user-mail-address "pho@cielonegro.org")
 
 ;; Emacs Calc
 (add-hook 'calc-start-hook
-         (lambda ()
-           (if (functionp 'paren-deactivate)
-               (paren-deactivate))))
+          (lambda ()
+            (if (functionp 'paren-deactivate)
+                (paren-deactivate))))
 (add-hook 'calc-end-hook
-         (lambda ()
-           (if (functionp 'paren-activate)
-               (paren-activate))))
+          (lambda ()
+            (if (functionp 'paren-activate)
+                (paren-activate))))
 
 ;;; emacs-w3m
 (autoload 'w3m "w3m" "Interface for w3m on Emacs." t)