Skip to content

Commit

Permalink
Use auto-install and anything rather than elpa.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlouis committed Dec 18, 2009
1 parent 66abae9 commit 0851b44
Show file tree
Hide file tree
Showing 4 changed files with 3,259 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,3 +9,4 @@ session.*
\#*
*~
/url/cookies
/anything-c-adaptive-history
4 changes: 4 additions & 0 deletions configs/global.el
Expand Up @@ -97,4 +97,8 @@
(global-set-key [f10] 'magit-status)
(global-set-key (kbd "C-x C-i") 'ido-imenu)

;; Anything setup
(global-set-key [(control / )] 'anything-at-point)
(global-set-key (kbd "C-.") 'anything-etags-maybe-at-point)

;;; global.el ends here
35 changes: 10 additions & 25 deletions init.el
@@ -1,4 +1,4 @@
;;; init.el --- Initialization file for my Emacs setup
;; init.el --- Initialization file for my Emacs setup

; Copyright (c) 2009, Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
; All rights reserved.
Expand Down Expand Up @@ -47,11 +47,11 @@

(add-to-list 'load-path dotfiles-dir)
(add-to-list 'load-path (concat dotfiles-dir "/site/"))
(add-to-list 'load-path (concat dotfiles-dir "/auto-install/"))

;;; TODO: More to add here.

(setq autoload-file (concat dotfiles-dir "loaddefs.el"))
(setq package-user-dir (concat dotfiles-dir "elpa"))
(setq custom-file (concat dotfiles-dir "custom.el"))
(setq abbrev-file-name (concat dotfiles-dir "abbrev_defs"))
(defconst *emacs-config-dir* (concat dotfiles-dir "/configs/" ""))
Expand All @@ -70,33 +70,31 @@
(require 'uniquify)
(require 'ansi-color)
(require 'recentf)

(load (concat dotfiles-dir "elpa/package.el"))
(package-initialize)

(require 'auto-install)

(load-config-files '("defuns"
"anything-setup"
"color-theme-setup"
"c-mode-setup"
"diredx-setup"
"epa-setup"
"eshell-setup"
"gist-setup"
;"gist-setup"
"global"
"hippie-expand-setup"
"ido-setup"
"js2-setup"
"kill-ring-search-setup"
;"js2-setup"
;"kill-ring-search-setup"
"magit-setup"
"midnight-setup"
"nxml-setup"
"org-setup"
;"proof-general-setup"
"sml-setup"
"proof-general-setup"
;"sml-setup"
"tex-code"
"tramp-setup"
"tuareg-setup"
"twelf-setup"
;"twelf-setup"
"twit-setup"
"haskell-mode-setup"
"go-mode-setup"
Expand All @@ -105,16 +103,3 @@
(load custom-file 'noerror)

;;; 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))

0 comments on commit 0851b44

Please sign in to comment.