1. Greg Newman
  2. emacs

Commits

Greg Newman  committed 439e88d

fixing babel src block. adding elpa. fixing lisp config

  • Participants
  • Parent commits 43e7bf4
  • Branches default

Comments (0)

Files changed (4)

File .hgignore

View file
 config-*el
 config-*html
 src/auctex
-src/yasnippet
+src/yasnippet
+elpa/
+url/
+.org-id-locations

File config-lisp.org

View file
 
 * Lisp Config
 Support for editing list dialects including [[* Emacs Lisp][Emacs Lisp]], [[* Scheme][Scheme]],
-[[* Common Lisp][Common Lisp]], and [[* Clojure][Clojure]].
+[[* Common Lisp][Common Lisp]], and [[*%20http://Clojure.org][Clojure]].
 
 ** Define keys
+   :PROPERTIES:
+   :ID:       9795E4EA-6086-4F3E-8A8A-BC50C2DA17C3
+   :END:
 #+srcname: define-lisp-keys
 #+begin_src emacs-lisp 
 (define-key read-expression-map (kbd "TAB") 'lisp-complete-symbol)
 #+end_src
 
 ** Paredit
+   :PROPERTIES:
+   :ID:       2DE3DE16-97E6-463B-87C8-37FC78DFECF2
+   :END:
 [[http://www.emacswiki.org/emacs/ParEdit][Paredit]] might seem weird at first, but it really makes writing lisp a
 much more comfortable experience.  This is especially useful in
 combination with the sexp movement functions (=C-M-f= forward, =C-M-b=
 : ;;   '(define-key paredit-mode-map (kbd ";")   'self-insert-command))
 
 ** Non-obtrusive parenthesis faces
+   :PROPERTIES:
+   :ID:       6EEC84A6-645B-4652-AE7E-3F2FFC386605
+   :END:
 #+begin_src emacs-lisp
 (defface esk-paren-face
    '((((class color) (background dark))
 #+end_src
 
 ** Emacs Lisp
+   :PROPERTIES:
+   :ID:       5D21BFA8-6326-4CDC-878B-93DB9C8FBDB9
+   :END:
 
 #+begin_src emacs-lisp
 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
 #+end_src
 
 ** Clojure
+   :PROPERTIES:
+   :ID:       B1FE900A-8022-4294-99D2-1680505BC277
+   :END:
 
 #+begin_src emacs-lisp
 (add-hook 'clojure-mode-hook 'run-coding-hook)
 #+end_src
 
 ** Scheme
+   :PROPERTIES:
+   :ID:       6CF91FFA-72B4-4509-A366-ECBABB800F9A
+   :END:
 
 #+begin_src emacs-lisp
 (add-hook 'scheme-mode-hook 'run-coding-hook)
 #+end_src
 
 ** Common Lisp
+   :PROPERTIES:
+   :ID:       EF6A3C24-84DA-4465-8D08-575042FCF664
+   :END:
 
 #+begin_src emacs-lisp
 (add-hook 'lisp-mode-hook 'run-coding-hook)

File config-org.org

View file
         (org-set-property "Effort" effort)))))
 #+end_src
 ** Reminder Config
-#+begin_src
+#+begin_src emacs-lisp
 ;;
 ;; REMINDERS
 ;;
 (run-at-time "24:01" nil 'bh/org-agenda-to-appt)
 #+end_src
 ** Remember
-#+begin_src
+#+begin_src emacs-lisp
 (org-remember-insinuate)
      (setq org-directory "~/hgfiles/org/")
      (setq org-default-notes-file (concat org-directory "/notes.org"))

File init.el

View file
 ;; load up all literate org-mode files in this directory
 (mapc #'org-babel-load-file (directory-files dotfiles-dir t "\\.org$"))
 
-;;; init.el ends here
+(let ((buffer (url-retrieve-synchronously
+	       "http://tromey.com/elpa/package-install.el")))
+  (save-excursion
+    (set-buffer buffer)
+    (goto-char (point-min))
+    (re-search-forward "^$" nil 'move)
+    (eval-region (point) (point-max))
+    (kill-buffer (current-buffer))))
+
+;;; init.el ends here
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))