Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Even more cleanup.

  • Loading branch information...
commit c4034fcb22929b12ee3164e32de392d283449194 1 parent 88a2b78
@jlouis authored
View
1  .gitignore
@@ -11,3 +11,4 @@ session.*
/anything-c-adaptive-history
/.smex-items
/el-get/
+/history
View
29 configs/auctex-setup.el
@@ -1,3 +1,32 @@
+(add-hook 'text-mode-hook
+ '(lambda ()
+ (auto-fill-mode)))
+
+;; LaTeX and TeX modes
+;(load "auctex.el" nil t t)
+;(load "preview-latex.el" nil t t)
+
+(add-hook 'LaTeX-mode-hook
+ 'turn-on-auto-fill)
+(add-hook 'tex-mode-hook
+ 'turn-on-auto-fill)
+(add-hook 'text-mode-hook
+ (lambda () (abbrev-mode 1)))
+(setq TeX-auto-save t)
+(setq TeX-parse-self t)
+(setq-default TeX-master nil)
+
+; make PDF by default (can toggle with C-c C-t C-p
+(add-hook 'TeX-mode-hook '(lambda () (TeX-PDF-mode 1)))
+
+; these math abbrevs (` as prefix char) are also useful in TeX/ConTeXt files
+;(require 'latex) ; defines LaTeX-math-mode
+(add-hook 'TeX-mode-hook 'LaTeX-math-mode)
+; Emacs help for \label, \ref, \cite. Normally used only with
+; LaTeX-mode but also useful with plain TeX + eplain and with ConTeXt, so:
+(setq reftex-plug-into-AUCTeX t)
+(add-hook 'TeX-mode-hook 'reftex-mode)
+
(setq TeX-view-program-list '(("Evince" "evince --page-index=%(outpage) %o")))
(setq TeX-view-program-selection '((output-pdf "Evince")))
(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
View
377 configs/color-theme-setup.el
@@ -1,377 +0,0 @@
-; Color Theme
-
-; Copyright (c) 2009, Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
-; All rights reserved.
-
-; Redistribution and use in source and binary forms, with or
-; without modification, are permitted provided that the following
-; conditions are met:
-
-; * Redistributions of source code must retain the above
-; copyright notice, this list of conditions and the following
-; disclaimer.
-
-; * Redistributions in binary form must reproduce the above
-; copyright notice, this list of conditions and the following
-; disclaimer in the documentation and/or other materials
-; provided with the distribution.
-
-; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-; FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-; COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-; BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-; ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-; POSSIBILITY OF SUCH DAMAGE.
-
-(require 'color-theme)
-(color-theme-initialize)
-
-;;; Commentary:
-;;
-;; Here are two slightly subdued color themes that are easy on the eyes
-;; and cover a reasonably complete set of faces.
-;;
-;;; Use:
-;;
-;; M-x color-theme-solarized-light
-;; M-x color-theme-solarized-dark
-;;
-;;; Credit:
-;;
-;; Genius colour selection by Ethan Schoonover:
-;; http://ethanschoonover.com/solarized
-;; Some faces borrowed from Greg Pfeil's emacs theme:
-;; https://github.com/sellout/solarized/blob/master/emacs-color-theme-solarized/color-theme-solarized.el
-;;
-;;; Code:
-
-;; requires
-(require 'color-theme)
-
-
-;;;###autoload
-(defun color-theme-solarized (mode)
- (interactive "Sdark or light")
- ;; These are the Generic RGB equivalents of the "official" sRGB hex values
- (let* ((base03 "#042028") ; (0.0159 0.1265 0.1597)
- (base02 "#0a2832") ; (0.0394 0.1601 0.1983)
- (base01 "#465a61") ; (0.2767 0.3567 0.3830)
- (base00 "#52676f") ; (0.3244 0.4072 0.4385)
- (base0 "#708183") ; (0.4406 0.5096 0.5169)
- (base1 "#81908f") ; (0.5060 0.5649 0.5636)
- (base2 "#e9e2cb") ; (0.9161 0.8900 0.7978)
- (base3 "#fcf4dc") ; (0.9894 0.9579 0.8641)
- (yellow "#a57705") ; (0.6475 0.4675 0.0235)
- (orange "#bd3612") ; (0.7418 0.2133 0.0735)
- (red "#c60007") ; (0.7770 0.0000 0.0290)
- (magenta "#c61b6e") ; (0.7774 0.1080 0.4352)
- (violet "#5859b7") ; (0.3479 0.3514 0.7179)
- (blue "#2075c7") ; (0.1275 0.4627 0.7823)
- (cyan "#259185") ; (0.1468 0.5708 0.5250)
- (green "#728a05") ; (0.4498 0.5412 0.0202)
- (foregrounds (list base1 base0 base00 base01))
- (backgrounds (list base03 base02))
- (contrast-backgrounds (list base3 base2)))
- (when (eq 'light mode)
- (rotatef backgrounds contrast-backgrounds)
- (setq foregrounds (reverse foregrounds)))
- (let ((background (first backgrounds))
- (alt-background (second backgrounds))
- (strong (first foregrounds))
- (normal (second foregrounds))
- (faint (third foregrounds))
- (faintest (fourth foregrounds))
- (contrast-background (second contrast-backgrounds)))
- (color-theme-install
- `(,(intern (concat "color-theme-solarized-" (symbol-name'light)))
- ((background-color . ,background)
- (background-mode . light)
- (border-color . ,normal)
- (cursor-color . ,magenta)
- (foreground-color . ,normal)
- (mouse-color . ,cyan))
-
- ;; Standard font lock faces
- (default ((t (nil))))
- (bold ((t (:bold t))))
- (bold-italic ((t (:italic t :bold t))))
- (underline ((t (:underline t))))
- (italic ((t (:italic t))))
- (font-lock-builtin-face ((t (:foreground ,violet))))
- (font-lock-comment-delimiter-face ((t (:foreground ,faintest :slant italic))))
- (font-lock-comment-face ((t (:foreground ,faint :slant italic))))
- (font-lock-constant-face ((t (:foreground ,violet))))
- (font-lock-doc-face ((t (:foreground ,magenta))))
- (font-lock-doc-string-face ((t (:foreground ,yellow))))
- (font-lock-function-name-face ((t (:foreground ,blue))))
- (font-lock-keyword-face ((t (:foreground ,green :bold t))))
- (font-lock-negation-char-face ((t (:foreground ,green))))
- (font-lock-preprocessor-face ((t (:foreground ,magenta))))
- (font-lock-regexp-grouping-backslash ((t (:foreground ,magenta))))
- (font-lock-regexp-grouping-construct ((t (:foreground ,violet))))
- (font-lock-string-face ((t (:foreground ,cyan))))
- (font-lock-type-face ((t (:foreground ,yellow))))
- (font-lock-variable-name-face ((t (:foreground ,yellow))))
- (font-lock-warning-face ((t (:bold t :foreground ,red))))
- (shadow ((t (:foreground ,(fourth foregrounds)))))
-
- ;; Flymake
- (flymake-warnline ((t (:underline ,orange :background ,background))))
- (flymake-errline ((t (:underline ,red :background ,background))))
-
- ;; Clojure errors
- (clojure-test-failure-face ((t (:background nil :inherit flymake-warnline))))
- (clojure-test-error-face ((t (:background nil :inherit flymake-errline))))
- (clojure-test-success-face ((t (:background nil :foreground nil :underline ,green))))
-
- ;; MMM-mode
- (mmm-code-submode-face ((t (:background ,alt-background))))
- (mmm-comment-submode-face ((t (:inherit font-lock-comment-face))))
- (mmm-output-submode-face ((t (:background ,alt-background))))
-
- ;; Search
- (match ((t (:foreground ,blue :background nil :inverse-video t))))
- (isearch ((t (:foreground ,yellow :background nil :inverse-video t))))
- (isearch-lazy-highlight-face ((t (:foreground ,cyan :inverse-video t))))
- (isearch-fail ((t (:background nil :inherit font-lock-warning-face :inverse-video t))))
-
- ;; IDO
- (ido-subdir ((t (:foreground ,magenta))))
- (ido-first-match ((t (:foreground ,yellow))))
- (ido-only-match ((t (:foreground ,green))))
-
- ;; Emacs interface
- (fringe ((t (:background ,alt-background))))
- (border ((t (:background ,alt-background))))
- (border-glyph ((t (nil))))
- (highlight ((t (:inverse-video nil :background ,alt-background))))
- (gui-element ((t (:background ,alt-background :foreground ,normal))))
- (mode-line ((t (:foreground nil :background ,alt-background :bold t
- :box (:line-width 1 :color ,normal)))))
- (mode-line-buffer-id ((t (:foreground ,magenta :background nil))))
- (mode-line-inactive ((t (:inherit mode-line
- :foreground ,faintest
- :background ,alt-background :weight normal
- :box (:line-width 1 :color ,normal)))))
- (mode-line-emphasis ((t (:foreground ,strong))))
- (mode-line-highlight ((t (:foreground ,magenta :box nil :weight bold))))
- (minibuffer-prompt ((t (:foreground ,blue))))
- (region ((t (:background ,contrast-background))))
- (secondary-selection ((t (:background ,alt-background))))
-
- (header-line ((t (:background nil :foreground ,strong :inherit nil))))
- (trailing-whitespace ((t (:inherit font-lock-warning-face :foreground nil :background nil :inverse-video t))))
-
- ;; Parenthesis matching
- (show-paren-match ((t (:background nil :foreground nil :inverse-video t))))
- (show-paren-mismatch ((t (:background ,magenta :foreground ,background))))
-
- (slime-highlight-edits-face ((t (:foreground ,strong))))
-
- (diff-added ((t (:foreground ,green))))
- (diff-changed ((t (:foreground ,violet))))
- (diff-removed ((t (:foreground ,orange))))
- (diff-header ((t (:foreground ,cyan :background nil))))
- (diff-file-header ((t (:foreground ,blue :background nil))))
- (diff-hunk-header ((t (:foreground ,magenta))))
-
- ;; Magit (a patch is pending in magit to make these standard upstream)
- (magit-item-highlight ((t (:inherit highlight :background nil))))
- (magit-diff-add ((t (:inherit diff-added :foreground nil))))
- (magit-diff-changed ((t (:inherit diff-changed :foreground nil))))
- (magit-diff-del ((t (:inherit diff-removed :foreground nil))))
-
- (link ((t (:foreground nil :underline t))))
- (widget-button ((t (:underline t))))
-
- ;; Stop outline-3 from inheriting font-lock-keyword-face, which we've made bold
- (outline-3 ((t (:inherit nil :foreground ,green))))
-
- (org-link ((t (:foreground ,blue :underline t))))
- (org-date ((t (:foreground ,blue :underline t))))
- (org-done ((t (:foreground ,green))))
- (org-todo ((t (:foreground ,red))))
- (org-special-keyword ((t (:foreground ,orange))))
-
- (org-document-title ((t (:foreground ,cyan))))
- (org-column ((t (:background ,alt-background))))
- (org-warning ((t (:bold t :foreground ,red))))
-
- (org-scheduled-previously ((t (:foreground ,orange))))
-
- (hl-sexp-face ((t (:background ,alt-background))))
- (highlight-80+ ((t (:background ,alt-background))))
-
- ;; Python-specific overrides
- (py-builtins-face ((t (:foreground ,orange :weight normal))))
-
- ;; Gnus
- (gnus-cite-1 ((t (:inherit outline-1 :foreground nil))))
- (gnus-cite-2 ((t (:inherit outline-2 :foreground nil))))
- (gnus-cite-3 ((t (:inherit outline-3 :foreground nil))))
- (gnus-cite-4 ((t (:inherit outline-4 :foreground nil))))
- (gnus-cite-5 ((t (:inherit outline-5 :foreground nil))))
- (gnus-cite-6 ((t (:inherit outline-6 :foreground nil))))
- (gnus-cite-7 ((t (:inherit outline-7 :foreground nil))))
- (gnus-cite-8 ((t (:inherit outline-8 :foreground nil))))
- ;; there are several more -cite- faces...
- (gnus-header-content ((t (:inherit header-line :foreground nil :background nil :bold nil))))
- (gnus-header-subject ((t (:inherit gnus-header-content :bold t :foreground ,yellow))))
- (gnus-header-from ((t (:inherit gnus-header-content :bold t :foreground ,orange))))
- (gnus-header-name ((t (:inherit header-line :foreground ,green :background nil))))
- (gnus-button ((t (:inherit link :foreground nil))))
- (gnus-signature ((t (:inherit font-lock-comment-face))))
-
- (gnus-summary-normal-unread ((t (:foreground ,strong :weight normal))))
- (gnus-summary-normal-read ((t (:foreground ,normal :weight normal))))
- (gnus-summary-low-unread ((t (:foreground ,faint :weight normal))))
- (gnus-summary-low-read ((t (:foreground ,faintest :weight normal))))
- (gnus-summary-high-unread ((t (:foreground ,yellow :weight normal))))
- (gnus-summary-high-read ((t (:foreground ,green :weight normal))))
- (gnus-summary-high-ancient ((t (:foreground ,green :weight normal))))
-
- (gnus-group-mail-low ((t (:foreground ,faintest))))
- (gnus-group-mail-low-empty ((t (:foreground ,faintest))))
- (gnus-group-mail-1 ((t (:foreground nil :weight normal :inherit outline-1))))
- (gnus-group-mail-2 ((t (:foreground nil :weight normal :inherit outline-2))))
- (gnus-group-mail-3 ((t (:foreground nil :weight normal :inherit outline-3))))
- (gnus-group-mail-4 ((t (:foreground nil :weight normal :inherit outline-4))))
- (gnus-group-mail-5 ((t (:foreground nil :weight normal :inherit outline-5))))
- (gnus-group-mail-6 ((t (:foreground nil :weight normal :inherit outline-6))))
- (gnus-group-mail-1-empty ((t (:inherit gnus-group-mail-1 :foreground ,faint))))
- (gnus-group-mail-2-empty ((t (:inherit gnus-group-mail-2 :foreground ,faint))))
- (gnus-group-mail-3-empty ((t (:inherit gnus-group-mail-3 :foreground ,faint))))
- (gnus-group-mail-4-empty ((t (:inherit gnus-group-mail-4 :foreground ,faint))))
- (gnus-group-mail-5-empty ((t (:inherit gnus-group-mail-5 :foreground ,faint))))
- (gnus-group-mail-6-empty ((t (:inherit gnus-group-mail-6 :foreground ,faint))))
- )))))
-
-;; Tomorrow Theme
-;;
-;; Originally by Chris Kempson https://github.com/ChrisKempson/Tomorrow-Theme
-;; Ported to GNU Emacs by Chris Charles
-
-(defun color-theme-tomorrow-real (background current-line
-selection foreground comment red orange yellow green aqua blue
-purple cursor)
- "GNU Emacs port of Chris Kempson's Tomorrow theme. Port by Chris Charles."
-
- (color-theme-install
- `(color-theme-tomorrow-real
- ((background . ,background)
- (background-mode . dark)
- (border-color . ,cursor)
- (cursor-color . ,cursor)
- (foreground-color . ,foreground))
-
- ;; Built-in stuff (Emacs 23)
- (default ((t (:background ,background :foreground ,foreground))))
- (fringe ((t (:background ,current-line))))
- (minibuffer-prompt ((t (:foreground ,blue))))
- (mode-line ((t (:background ,current-line :foreground ,foreground))))
- (region ((t (:background ,selection))))
-
- ;; Font-lock stuff
- (font-lock-comment-face ((t (:foreground ,comment))))
- (font-lock-constant-face ((t (:foreground ,green))))
- (font-lock-doc-string-face ((t (:foreground ,comment))))
- (font-lock-function-name-face ((t (:foreground ,blue))))
- (font-lock-keyword-face ((t (:foreground ,purple))))
- (font-lock-string-face ((t (:foreground ,green))))
- (font-lock-type-face ((t (:foreground ,yellow))))
- (font-lock-variable-name-face ((t (:foreground ,red))))
- (font-lock-warning-face ((t (:foreground ,red))))
-
- ;; hl-line-mode
- (hl-line ((t (:background ,current-line))))
-
- ;; linum-mode
- (linum ((t (:background ,current-line :foreground ,foreground))))
-
- ;; org-mode
- (org-date ((t (:foreground ,purple))))
- (org-done ((t (:foreground ,green))))
- (org-hide ((t (:foreground ,current-line))))
- (org-link ((t (:foreground ,blue))))
- (org-todo ((t (:foreground ,red))))
-
- ;; show-paren-mode
- (show-paren-match-face ((t (:background ,blue :foreground ,current-line))))
- (show-paren-mismatch-face ((t (:background ,orange :foreground ,current-line)))))))
-
-(defun color-theme-tomorrow ()
- "Base light Tomorrow theme."
- (interactive)
- (color-theme-tomorrow-real "#ffffff" "#e9efff" "#c5cce9" "#4d4d4c" "#8e908c"
- "#c82829" "#f5871f" "#eab700" "#718c00" "#3e999f"
- "#4271ae" "#8959a8" "#aeafad"))
-(provide 'color-theme-tomorrow)
-
-(defun color-theme-tomorrow-night ()
- "Dark Tomorrow theme."
- (interactive)
- (color-theme-tomorrow-real "#1d1f21" "#282a2e" "#373b41" "#c5c8c6" "#969896"
- "#cc6666" "#de935f" "#f0c674" "#b5bd68" "#8abeb7"
- "#81a2be" "#b294bb" "#aeafad"))
-(provide 'color-theme-tomorrow-night)
-
-(defun color-theme-tomorrow-night-eighties ()
- "Somewhat lighter dark Tomorrow theme."
- (interactive)
- (color-theme-tomorrow-real "#2d2d2d" "#393939" "#515151" "#cccccc" "#999999"
- "#f2777a" "#f99157" "#ffcc66" "#99cc99" "#009999"
- "#99cccc" "#cc99cc" "#cccccc"))
-(provide 'color-theme-tomorrow-night-eighties)
-
-(defun color-theme-tomorrow-night-blue ()
- "Dark Tomorrow theme with a blue background."
- (interactive)
- (color-theme-tomorrow-real "#002451" "#00346e" "#003f8e" "#ffffff" "#7285b7"
- "#ff9da4" "#ffc58f" "#ffeead" "#d1f1a9" "#99ffff"
- "#bbdaff" "#ebbbff" "#ffffff"))
-(provide 'color-theme-tomorrow-night-blue)
-
-(defun color-theme-tomorrow-night-bright ()
- "Dark Tomorrow theme with a brighter, higher-contrast look."
- (interactive)
- (color-theme-tomorrow-real "#000000" "#2a2a2a" "#424242" "#dedede" "#969896"
- "#d54e53" "#e78c45" "#e7c547" "#b9ca4a" "#70c0b1"
- "#7aa6da" "#c397d8" "#9f9f9f"))
-(provide 'color-theme-tomorrow-night-bright)
-
-
-(add-to-list 'color-themes
- '(color-theme-tomorrow
- "Tomorrow" "Chris Kempson (ported by Chris Charles)"))
-(add-to-list 'color-themes
- '(color-theme-tomorrow-night
- "Tomorrow Night" "Chris Kempson (ported by Chris Charles)"))
-(add-to-list 'color-themes
- '(color-theme-tomorrow-night-eighties
- "Tomorrow Night Eighties" "Chris Kempson (ported by Chris Charles)"))
-(add-to-list 'color-themes
- '(color-theme-tomorrow-night-blue
- "Tomorrow Night Blue" "Chris Kempson (ported by Chris Charles)"))
-(add-to-list 'color-themes
- '(color-theme-tomorrow-night-bright
- "Tomorrow Night Bright" "Chris Kempson (ported by Chris Charles)"))
-
-;;;###autoload
-(defun color-theme-solarized-dark ()
- (interactive)
- (color-theme-solarized 'dark))
-
-;;;###autoload
-(defun color-theme-solarized-light ()
- (interactive)
- (color-theme-solarized 'light))
-
-(eval-after-load "color-theme"
- '(progn
- (color-theme-solarized-dark)))
View
1  configs/haskell-mode-setup.el
@@ -1 +0,0 @@
-(require 'inf-haskell)
View
32 configs/init-auctex.el
@@ -0,0 +1,32 @@
+(load "auctex.el" nil t t)
+(load "preview-latex.el" nil t t)
+
+(add-hook 'text-mode-hook
+ '(lambda ()
+ (auto-fill-mode)))
+
+(add-hook 'LaTeX-mode-hook
+ 'turn-on-auto-fill)
+(add-hook 'tex-mode-hook
+ 'turn-on-auto-fill)
+(add-hook 'text-mode-hook
+ (lambda () (abbrev-mode 1)))
+(setq TeX-auto-save t)
+(setq TeX-parse-self t)
+(setq-default TeX-master nil)
+
+; make PDF by default (can toggle with C-c C-t C-p
+(add-hook 'TeX-mode-hook '(lambda () (TeX-PDF-mode 1)))
+
+; these math abbrevs (` as prefix char) are also useful in TeX/ConTeXt files
+;(require 'latex) ; defines LaTeX-math-mode
+(add-hook 'TeX-mode-hook 'LaTeX-math-mode)
+; Emacs help for \label, \ref, \cite. Normally used only with
+; LaTeX-mode but also useful with plain TeX + eplain and with ConTeXt, so:
+(setq reftex-plug-into-AUCTeX t)
+(add-hook 'TeX-mode-hook 'reftex-mode)
+
+(setq TeX-view-program-list '(("Evince" "evince --page-index=%(outpage) %o")))
+(setq TeX-view-program-selection '((output-pdf "Evince")))
+(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
+(setq TeX-source-correlate-start-server t)
View
0  configs/erlang-setup.el → configs/init-erlang.el
File renamed without changes
View
0  configs/flymake-setup.el → configs/init-flymake.el
File renamed without changes
View
0  configs/hippie-expand-setup.el → configs/init-hippie-expand.el
File renamed without changes
View
0  configs/ido-setup.el → configs/init-ido.el
File renamed without changes
View
0  configs/recentf-setup.el → configs/init-recentf.el
File renamed without changes
View
0  configs/tramp-setup.el → configs/init-tramp.el
File renamed without changes
View
1  configs/midnight-setup.el
@@ -1 +0,0 @@
-(require 'midnight)
View
60 custom.el
@@ -1,57 +1,15 @@
;;; CUSTOM SET VARIABLES
(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.
- '(agda2-include-dirs (quote ("." "/home/jlouis/lib/agda/src")))
- '(auto-compression-mode t nil (jka-compr))
- '(auto-image-file-mode t)
- '(blink-cursor-mode nil)
- '(browse-url-browser-function (quote browse-url-firefox))
- '(case-fold-search t)
- '(compilation-ask-about-save nil)
- '(compilation-read-command nil)
- '(compilation-scroll-output t)
- '(current-language-environment "English")
- '(desktop-enable t)
- '(dired-dwim-target t)
- '(display-time-mode t)
- '(find-file-suppress-same-file-warnings t)
- '(global-auto-revert-mode t)
- '(global-font-lock-mode t nil (font-lock))
- '(global-visual-line-mode nil)
- '(global-whitespace-mode nil)
- '(global-whitespace-newline-mode t)
- '(haskell-indent-offset 4)
- '(haskell-program-name "ghci")
- '(indicate-empty-lines t)
- '(js2-basic-offset 4)
- '(midnight-mode t nil (midnight))
- '(quack-default-program "scheme48")
- '(quack-fontify-style (quote emacs))
- '(recentf-max-saved-items 500)
- '(safe-local-variable-values (quote ((erlang-indent-level . 4) (Syntax . Common-lisp))))
- '(scheme-program-name "scheme48")
- '(sentence-end-double-space nil)
- '(shadow-noquery t)
- '(show-paren-mode t nil (paren))
- '(size-indication-mode t)
- '(slime-startup-animation nil)
- '(sml-compile-command "CM.make \"sources.cm\"")
- '(sml-indent-args 2)
- '(sml-indent-level 2)
- '(speedbar-frame-parameters (quote ((minibuffer) (width . 20) (border-width . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) (unsplittable . t) (set-background-color "black"))))
- '(speedbar-show-unknown-files t)
- '(visible-bell t)
- '(whitespace-global-modes t)
- '(whitespace-modes (quote (awk-mode elisp-mode erlang-mode haskell-mode tuareg-mode)))
- '(wrangler-search-paths (quote ("/home/jlouis/Projects/etorrent/apps/utp/src" "/home/jlouis/Projects/etorrent/apps/utp/include"))))
+ ;; 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.
+ '(custom-safe-themes (quote ("26d16c0027858d9ba508fe403466d1c0d4ca1fa9" default))))
(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.
+ ;; 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.
)
View
43 init.el
@@ -36,7 +36,8 @@
(package-initialize)
(add-to-list 'package-archives '("ELPA" . "http://tromey.com/elpa/"))
-(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
+(add-to-list 'package-archives
+ '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
;;; el-get configuration
@@ -61,19 +62,23 @@
(global-set-key (kbd "M-x") 'smex))))
(:name idle-highlight-mode
:type elpa)
+ (:name ido-ubiquitous
+ :type elpa)
(:name magit
:after (lambda ()
(global-set-key (kbd "C-c g") 'magit-status)))))
(setq my-packages
(append
- '(el-get )
+ '(el-get auctex haskell-mode)
(mapcar 'el-get-source-name el-get-sources)))
(el-get 'sync my-packages)
(el-get 'wait)
-(load-theme 'tango)
+(add-to-list 'custom-theme-load-path (concat emacs-config-dir "/themes"))
+(setq custom-safe-themes t)
+(load-theme 'solarized)
(defun load-config-files (files)
(dolist (f files)
@@ -83,28 +88,30 @@
(load-config-files '("defuns" ;; Has to go first
"global" ;; Has to go second
- ;;"auctex-setup"
+ "init-auctex"
+ "init-ido"
"init-c-mode"
- ;;"erlang-setup"
- ;;"agda2-setup"
+ "init-erlang"
"init-epa"
"init-eshell"
- ;; "flymake-setup"
- ;; "graphviz-mode-setup"
- ;; "hippie-expand-setup"
- ;; "ido-setup"
- ;; "midnight-setup"
- ;; "nxml-setup"
- ;; "org-setup"
- ;; "proof-general-setup"
- ;; "recentf-setup"
- ;;"tex-code"
-; "tramp-setup"
-; "tuareg-setup"
+ "init-recentf"
+ "init-tramp"
+ "init-flymake"
+ "init-hippie-expand"
+ ;;"graphviz-mode-setup"
+ ;;"nxml-setup"
+ ;;"org-setup"
+ ;;"proof-general-setup"
+ ;;"tuareg-setup"
+ ;;"agda2-setup"
;;"go-mode-setup"
;;"haskell-mode-setup"
"init-uniquify"))
+;; Awfully simple initializations
+(require 'midnight)
+(require 'inf-haskell)
+
(load custom-file 'noerror)
;;; init.el ends here
View
2  places
@@ -1,2 +1,2 @@
;;; -*- coding: utf-8 -*-
-nil
+(("/home/jlouis/.emacs.d/init.el" . 3371))
View
2  site/solarized-theme.el → themes/solarized-theme.el
@@ -82,7 +82,7 @@
`(custom-button-mouse ((t (:inherit custom-button :foreground ,base1))))
`(custom-button-pressed
((t (:inherit custom-button-mouse
- :box (:line-width 2 :style pressed-button)))))
+ :box (:line-width 2 :style pressed-button)))))
`(custom-comment-tag ((t (:background ,base02))))
`(custom-comment-tag ((t (:background ,base02))))
`(custom-documentation ((t (:inherit default))))
Please sign in to comment.
Something went wrong with that request. Please try again.