-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathas-custom.el
164 lines (153 loc) · 8.21 KB
/
as-custom.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
;;Custom file for me
;; Copyright (C) 2008 aaditya sood
;; Author: aaditya sood <aaditya@sood.net.in>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
;; Always indent using spaces, never tabs
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
;;use recursive edits: useful
(setq
case-fold-search t
comint-completion-autolist t
comint-input-ignoredups t
comint-prompt-read-only t
compilation-context-lines 3
compilation-scroll-output t
compilation-skip-threshold 1
compilation-skip-visited t
completion-ignored-extensions (quote (".svn/" "CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".fas" ".lib" ".mem" ".x86f" ".sparcf" ".fasl" ".ufsl" ".fsl" ".dxl" ".pfsl" ".dfsl" ".lo" ".la" ".gmo" ".mo" ".toc" ".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs" ".pyc" ".pyo" ".class"))
eshell-save-history-on-exit t
file-cache-completion-ignore-case t
file-cache-filter-regexps (quote ("~$" "\\.o$" "\\.exe$" "\\.a$" "\\.elc$" ",v$" "\\.output$" "\\.$" "#$" "\\.class$" "\\.svn-base$" "\\.svn" "\\.jar$" "\\.git$" ))
file-cache-ignore-case t
generic-extras-enable-list (quote (alias-generic-mode apache-conf-generic-mode apache-log-generic-mode bat-generic-mode etc-fstab-generic-mode etc-modules-conf-generic-mode etc-passwd-generic-mode etc-services-generic-mode fvwm-generic-mode hosts-generic-mode inetd-conf-generic-mode ini-generic-mode java-manifest-generic-mode java-properties-generic-mode javascript-generic-mode mailagent-rules-generic-mode mailrc-generic-mode named-boot-generic-mode named-database-generic-mode prototype-generic-mode rc-generic-mode resolve-conf-generic-mode samba-generic-mode show-tabs-generic-mode vrml-generic-mode x-resource-generic-mode))
comment-multi-line t
completion-ignore-case t ;Do case-insensitive completion.
enable-recursive-minibuffers t ;Allow recursion using minibuf.
inhibit-startup-message t ;I've read it already.
require-final-newline t ;Always append a newline.
scroll-step 1
tab-stop-list '(4 8 12 16 20 24 28 32 36)
auto-save-directory-fallback "~/.saves"
backup-by-copying t ; don't clobber symlinks
backup-directory-alist '(("." . "~/.saves")) ; don't litter my fs tree
column-number-mode t ; show columns, not just lines
max-lisp-eval-depth 1000
max-specpdl-size 2000
next-error-highlight 3
next-error-highlight-no-select t
nxml-slash-auto-complete-flag t
paren-sexp-mode t
partial-completion-mode t
read-file-name-completion-ignore-case t
recentf-exclude (quote (".semantic.cache"))
recentf-max-menu-items 15
recentf-max-saved-items 30
save-place t
scroll-conservatively 10000
scroll-preserve-screen-position t
semanticdb-global-mode t
show-paren-style (quote expression)
size-indication-mode t
sql-electric-stuff (quote semicolon)
sql-input-ring-file-name "~/.mysql.history"
sql-password "appszen"
sql-pop-to-buffer-after-send-region t
sql-product (quote mysql)
sql-user "appszen"
truncate-partial-width-windows nil
)
(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.
'(color-theme-legal-frame-parameters "\\(color\\|mode\\|font\\)$")
'(column-number-mode t)
'(comint-move-point-for-output (quote all))
'(ecb-options-version "2.40")
'(ecb-primary-secondary-mouse-buttons (quote mouse-1--mouse-2))
'(ecb-source-path (quote (("/Users/aaditya/src/id/proto/src" "proto-src") ("/Users/aaditya/src/id/proto/src/id/vaitarna" "proto-vaitarna") ("/Users/aaditya/src/id/proto/bin" "proto-bin"))))
'(espresso-enabled-frameworks (quote (javascript mochikit prototype dojo extjs merrillpress)))
'(filesets-data (quote (("py-files" (:tree "~/src/id/proto/src/id/vaitarna" "^.+\\.py$")) ("js-files" (:tree "~/src/id/proto/src/id/vaitarna/vaitarna/public/js" "^.+\\.js$")) ("css-files" (:tree "~/src/id/proto/src/id/vaitarna/vaitarna/public/css" "^.+\\.css$")) ("templates" (:tree "~/src/id/proto/src/id/vaitarna/vaitarna/templates" "^.+\\.suffix$")))))
'(flymake-log-level 0)
'(frame-background-mode (quote light))
'(gdb-many-windows t)
'(gnus-message-highlight-citation nil)
'(ido-default-buffer-method (quote selected-window))
'(ido-default-file-method (quote selected-window))
'(ido-enable-prefix nil)
'(ido-enable-regexp t)
'(ido-enable-tramp-completion nil)
'(ido-file-extensions-order (quote (".py .js .mako .css .html")))
'(ido-ignore-directories (quote ("\\`CVS/" "\\`\\.\\./" "\\`\\./" "\\`/sudo:")))
'(ido-max-window-height 3)
'(ido-rotate-file-list-default t)
'(ido-separator " | ")
'(ido-show-dot-for-dired nil)
'(ido-use-filename-at-point t)
'(ipython-command "psh")
'(js2-basic-offset 4)
'(js2-highlight-level 3)
'(js2-indent-on-enter-key t)
'(mail-envelope-from (quote header))
'(mail-from-style (quote angles))
'(mail-specify-envelope-from t)
'(mlinks-active-links nil)
'(mlinks-link nil)
'(mumamo-heredoc-modes (quote (("HTML" html-mode) ("CSS" css-mode) ("JAVASCRIPT" espresso-mode) ("JAVA" java-mode) ("GROOVY" groovy-mode))))
'(mumamo-set-major-mode-delay 0.7)
'(ns-extended-platform-support-mode t)
'(nxhtml-default-encoding (quote utf-8))
'(nxhtml-global-minor-mode nil)
'(nxhtml-skip-welcome t)
'(nxml-bind-meta-tab-to-complete-flag t)
'(nxml-slash-auto-complete-flag t t)
'(quack-default-program "scheme")
'(quack-pretty-lambda-p t)
'(quack-run-scheme-always-prompts-p nil)
'(rcirc-authinfo (quote (("freenode" nickserv "aadis" "foobar1"))))
'(rcirc-default-full-name "aaditya sood")
'(rcirc-default-nick "aadis")
'(rcirc-default-user-name "aadis")
'(rcirc-prompt "%t> ")
'(rcirc-track-minor-mode t)
'(ropemacs-guess-project t)
'(semanticdb-project-roots (quote ("~/src/id/proto/src/id/vaitarna" "~/src/id/proto/src" "~/src/id/proto/bin" "~/src/id/proto/")))
'(set-mark-command-repeat-pop t)
'(show-paren-mode t)
'(size-indication-mode t)
'(sql-electric-stuff (quote semicolon) t)
'(starttls-extra-arguments (quote ("--insecure")))
'(tramp-auto-save-directory "~/.saves/tramp")
'(tramp-default-method "rsync")
'(transient-mark-mode 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.
'(cursor ((t (:background "red" :foreground "red"))))
'(elscreen-tab-background-face ((((class color)) (:background "gray85"))))
'(elscreen-tab-control-face ((((class color)) (:background "white" :foreground "black"))))
'(elscreen-tab-current-screen-face ((((class color)) (:background "white" :foreground "black" :weight bold :height 1.2))))
'(elscreen-tab-other-screen-face ((((class color)) (:background "lightyellow" :foreground "black" :slant italic :height 1.2))))
'(font-lock-comment-face ((t (:foreground "dark slate blue" :slant italic :height 1.0 :family "Lucida Grande"))))
'(gpf-variable-width-face ((nil (:height 1.1 :family "Lucida Grande"))))
'(mlinks-link ((t nil)))
'(mumamo-border-face ((t (:slant italic :weight bold))))
'(org-done ((t (:foreground "ForestGreen" :strike-through "black" :weight bold))))
'(show-paren-match ((t (:background "gray87" :slant normal))))
'(sml-modeline-vis-face ((t (:background "dark goldenrod"))))
'(visible-mark-face ((t (:box (:line-width 1 :color "grey80" :style released-button)))))
'(which-func ((((class color) (min-colors 88) (background dark)) (:foreground "green")))))