Commits

Jeffrey Stoffers  committed 1dfa790

Org mode and ledger mode

  • Participants
  • Parent commits 165af8d

Comments (0)

Files changed (2)

File .emacs.d/config.el

 (global-set-key "\C-ca" 'org-agenda)
 (global-set-key "\C-cb" 'org-iswitchb)
 
+(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
+
 (setq org-directory "~/doc/org")
 (setq org-default-notes-file (concat org-directory "/notes.org"))
 
-(setq org-mobile-directory "/scpc:necronian@irc.uberpurple.com:org")
+(setq org-mobile-directory "/scpc:necronian@uberpurple.com:org")
 (setq org-mobile-inbox-for-pull (concat org-directory "/index.org"))
 (setq org-mobile-files (quote ("movies.org")))
 
    (C . t)
    (sql . t)))
 
+
+;;;-----------------------------------------------------------------------------
+;;; slime configuration
+;;;-----------------------------------------------------------------------------
 (load (expand-file-name "/home/necronian/.quicklisp/slime-helper.el"))
 (setq inferior-lisp-program "sbcl")
 
 	ispell-dictionary-alist
 	'((nil "[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_US") nil utf-8))))
 
+;;;---------------------------------------------------------------------
+;;; Emacs ledger mode
+;;;---------------------------------------------------------------------
+;(add-to-list 'load-path (expand-file-name "/home/necronian/src/ledger/lisp/"))
+;(load "ldg-new")
+(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))
+
 ;; MISC BINDINGS
 (global-set-key (kbd "<f5>") 'to-purple)
 (global-set-key (kbd "^c z") 'magit-status)

File .emacs.d/init.el

 ;;;---------------------------------------------------------------------
 (defvar my-packages '( ;One Per line makes m-x sort happy
 		      ac-nrepl
-		      clojure-mode
-		      slamhound
-		      cljdoc
-		      magit
-		      slime
-		      ac-slime
-		      slime-repl
+		      auctex 
+		      auctex-lua
 		      auto-complete
+		      cdlatex 
+		      cljdoc
+		      clojure-mode
+		      erc-image 
+		      erc-tweet 
+		      flymake-lua
+		      gnuplot 
+		      gnuplot-mode
+		      ledger-mode
+		      lua-mode
 		      magit
-		      nrepl
+		      makey 
 		      notmuch
-		      erc-image
-		      erc-tweet
-		      lua-mode
-		      flymake-lua
+		      nrepl
 		      org-plus-contrib
 		      paredit
+		      popup 
 		      rainbow-delimiters
-		      w3m
+		      slamhound
+		      undo-tree 
+		      w3m 
+		      wc-mode           
 		      zenburn-theme
 		      ))
 
 ;;; Configure emacs here after packages have been loaded.
 ;;;---------------------------------------------------------------------
 (add-hook 'after-init-hook (lambda () (load (concat user-emacs-directory "config.el"))))
+
+;;;---------------------------------------------------------------------
+;;; Custom--------------------------------------------------------------
+;;;---------------------------------------------------------------------
+(custom-set-variables
+ ;; custom-set-variables 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.
+ '(org-agenda-files nil))
+(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.
+ )