-
Notifications
You must be signed in to change notification settings - Fork 0
/
emacs-windows.el
317 lines (238 loc) · 13.4 KB
/
emacs-windows.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
(setq gc-cons-threshold 100000000)
(let ((file-name-handler-alist nil))
; (package-initialize)
; (load-file (expand-file-name "~/.emacs.d/init/cl.el"))
;; Packages and paths
;; (load-file (expand-file-name "~/.emacs.d/init/gentoo.el"))
(load-file (expand-file-name "~/.emacs.d/init/load-path-local.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-disable-builtin-org.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-git.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-lib-git.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-leader.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-surround.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-numbers.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-evil-org.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-expand-region.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-other.el"))
(load-file (expand-file-name "~/.emacs.d/init/load-path-post.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-org-git.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/load-path-org2blog.el"))
(load-file (expand-file-name "~/.emacs.d/init/load-path-org-logbook-sorter.el"))
(load-file (expand-file-name "~/.emacs.d/init/load-path-cygwin.el"))
(load-file (expand-file-name "~/.emacs.d/init/load-path-package.el"))
(eval-when-compile
(require 'use-package))
;; (load-file (expand-file-name "~/.emacs.d/init/package-scala.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/env-other.el"))
(load-file (expand-file-name "~/.emacs.d/init/eshell.el"))
(load-file (expand-file-name "~/.emacs.d/init/dired.el"))
(load-file (expand-file-name "~/.emacs.d/init/server.el"))
;; GUI
(load-file (expand-file-name "~/.emacs.d/init/frames.el"))
(load-file (expand-file-name "~/.emacs.d/init/windows.el"))
(load-file (expand-file-name "~/.emacs.d/init/gui.el"))
(load-file (expand-file-name "~/.emacs.d/init/diminish.el"))
;; evaluate when I have more time
;; (load-file (expand-file-name "~/.emacs.d/init/hyperbole.el"))
;; Evil
(load-file (expand-file-name "~/.emacs.d/init/undo-tree.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil.el"))
(load-file (expand-file-name "~/.emacs.d/init/general.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil-exchange.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil-matchit.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil-numbers.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil-surround.el"))
(load-file (expand-file-name "~/.emacs.d/init/worf.el"))
(load-file (expand-file-name "~/.emacs.d/init/evil-quickscope.el"))
(load-file (expand-file-name "~/.emacs.d/init/exato.el"))
;; Numbers
(load-file (expand-file-name "~/.emacs.d/init/operate-on-number.el"))
(load-file (expand-file-name "~/.emacs.d/init/general-close.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/paredit.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/expand-region.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/elscreen.el"))
(load-file (expand-file-name "~/.emacs.d/init/hl-line.el"))
(load-file (expand-file-name "~/.emacs.d/init/recentf.el"))
(load-file (expand-file-name "~/.emacs.d/init/savehist.el"))
;; needs to be configured correctly before Helm and magit-svn
(load-file (expand-file-name "~/.emacs.d/init/tramp.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/ido.el"))
;; Trying to use Helm everywhere
(load-file (expand-file-name "~/.emacs.d/init/helm.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/format-region.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/epa-file.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/xtag.el"))
;; Org mode
(load-file (expand-file-name "~/.emacs.d/init/org.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-babel.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-clock.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/org-contacts.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-jump.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-recent-headings.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-protocol.el"))
(load-file (expand-file-name "~/.emacs.d/init/org-roam.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/org-secretary.el"))
(load-file (expand-file-name "~/.emacs.d/init/orgnav.el"))
(load-file (expand-file-name "~/.emacs.d/init/orgtbl-aggregate.el"))
(load-file (expand-file-name "~/.emacs.d/init/org2blog.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/org-other.el"))
;; Hydra
(load-file (expand-file-name "~/.emacs.d/init/hydra.el"))
(load-file (expand-file-name "~/.emacs.d/init/yankpad.el"))
(load-file (expand-file-name "~/.emacs.d/init/remember.el"))
;; Jump/bookmarks
(load-file (expand-file-name "~/.emacs.d/init/bookmarks.el"))
(load-file (expand-file-name "~/.emacs.d/init/avy.el"))
;; LaTeX
(load-file (expand-file-name "~/.emacs.d/init/auctex.el"))
(load-file (expand-file-name "~/.emacs.d/init/reftex.el"))
(load-file (expand-file-name "~/.emacs.d/init/bibtex.el"))
(load-file (expand-file-name "~/.emacs.d/init/synctex.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/stex.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/nomdoc.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/prolog.el"))
(load-file (expand-file-name "~/.emacs.d/init/markdown-pandoc.el"))
;; Semantic Web
(load-file (expand-file-name "~/.emacs.d/init/rdf-prefix.el"))
(load-file (expand-file-name "~/.emacs.d/init/n3.el"))
(load-file (expand-file-name "~/.emacs.d/init/owl.el"))
(load-file (expand-file-name "~/.emacs.d/init/user.el"))
(load-file (expand-file-name "~/.emacs.d/init/post.el"))
(load-file (expand-file-name "~/.emacs.d/init/google-this.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/toolbox.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/hets.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/mizar.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/ensime.el"))
;; Character input
(load-file (expand-file-name "~/.emacs.d/init/charmap.el"))
(load-file (expand-file-name "~/.emacs.d/init/agda-input.el"))
;; Software project management
(load-file (expand-file-name "~/.emacs.d/init/magit.el"))
; (load-file (expand-file-name "~/.emacs.d/init/magit-svn.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/magit-fix-diff-color.el"))
(load-file (expand-file-name "~/.emacs.d/init/git.el"))
(load-file (expand-file-name "~/.emacs.d/init/projectile.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/mediawiki.el"))
;; Writing
(load-file (expand-file-name "~/.emacs.d/init/ispell.el"))
(load-file (expand-file-name "~/.emacs.d/init/writegood.el"))
(load-file (expand-file-name "~/.emacs.d/init/langtool.el"))
(load-file (expand-file-name "~/.emacs.d/init/inflections.el"))
(load-file (expand-file-name "~/.emacs.d/init/style-check.el"))
;; Fonts
(load-file (expand-file-name "~/.emacs.d/init/font-lock.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/fonts.el"))
;; Help
;; disabled because rectangle editing commands (e.g. C-x r t) no longer work
;; (load-file (expand-file-name "~/.emacs.d/init/discover.el"))
(load-file (expand-file-name "~/.emacs.d/init/fringe.el"))
(load-file (expand-file-name "~/.emacs.d/init/saveplace.el"))
(load-file (expand-file-name "~/.emacs.d/init/edit-misc.el"))
;; Keys
(load-file (expand-file-name "~/.emacs.d/init/which-key.el"))
(load-file (expand-file-name "~/.emacs.d/init/special-keys.el"))
;; Completion
(load-file (expand-file-name "~/.emacs.d/init/abbrev.el"))
(load-file (expand-file-name "~/.emacs.d/init/company.el"))
(load-file (expand-file-name "~/.emacs.d/init/yasnippet.el"))
(load-file (expand-file-name "~/.emacs.d/init/calculator.el"))
;; XML
(load-file (expand-file-name "~/.emacs.d/init/nxml.el"))
(load-file (expand-file-name "~/.emacs.d/init/sgml.el"))
(load-file (expand-file-name "~/.emacs.d/init/emmet.el"))
;; (load-file (expand-file-name "~/.emacs.d/init/xquery.el"))
(load-file (expand-file-name "~/.emacs.d/init/calendar.el"))
(load-file (expand-file-name "~/.emacs.d/init/persistent-scratch.el"))
(load-file (expand-file-name "~/.emacs.d/init/confirm-kill.el"))
;; Windows-specific configuration
(load-file (expand-file-name "~/.emacs.d/init/windows-bell.el"))
(load-file (expand-file-name "~/.emacs.d/init/windows-locale.el"))
(load-file (expand-file-name "~/.emacs.d/init/windows-unicode.el"))
(load-file (expand-file-name "~/.emacs.d/init/cygwin.el"))
;; Further system-specific configuration
(load-file (expand-file-name "~/.emacs.d/init/system-specific.el"))
)
(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.
'(abbrev-mode t t)
'(blink-cursor-mode nil)
'(bmkp-last-as-first-bookmark-file "c:/Users/langebev/.emacs.d/bookmarks")
'(browse-url-mailto-function nil)
'(case-fold-search t)
'(column-number-mode t)
'(current-language-environment "UTF-8")
'(custom-safe-themes
'("01341b5505005d16f65166fecb598d12184e3a82ce4ff0ecb619e271b571a158" default))
'(delete-selection-mode nil)
'(fringe-mode 0 nil (fringe))
'(global-font-lock-mode t nil (font-lock))
'(kill-whole-line t)
'(longlines-show-effect #("¶\12 " 0 2 (face escape-glyph)))
'(longlines-show-hard-newlines t)
'(longlines-wrap-follows-window-size t)
'(mark-even-if-inactive t)
'(menu-bar-mode nil)
'(minibuffer-eldef-shorten-default t)
'(org-agenda-files
'("~/git/lange-bever.de/clange/org/default.org" "~/git/lange-bever.de/clange/org/contacts.org"))
'(org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)))
'(org-latex-pdf-process '("latexmk -g -pdf %f"))
'(package-selected-packages
'(helm-roam emacsql ttl-mode gnu-elpa-keyring-update magit org-contrib transient markdown general org-clock-convenience org-outlook adoc-mode org2blog undo-tree which-key german-holidays emacsql-libsqlite3 sbt-mode scala-mode scratch emacsql-sqlite3 jq-mode org-roam 2048-game academic-phrases ag ahk-mode avy bookmark+ charmap company-auctex company-math company-ngram company-statistics company-web csv-mode cygwin-mount dash-functional diminish discover ebib elmacro emmet-mode evil evil-exchange evil-leader evil-matchit evil-numbers evil-org evil-quickscope evil-surround exato general-close git-timemachine google-this helm helm-ag helm-bibtex helm-org helm-org-rifle helm-projectile htmlize hydra hyperbole image+ inflections json-mode langtool magit-svn markdown-mode mediawiki n3-mode omn-mode operate-on-number org org-cliplink org-recent-headings orgalist orgnav orgtbl-aggregate pandoc pandoc-mode pdf-tools peep-dired powershell projectile psvn rdf-prefix sparql-mode tablist use-package winum writegood-mode x-path-walker xquery-mode yaml-mode yankpad yasnippet))
'(safe-local-variable-values
'((org-latex-prefer-user-labels . t)
(org-odt-preferred-output-format . docx)
(org-latex-pdf-process "latexmk -pdflatex='lualatex -shell-escape -interaction nonstopmode' -pdf -f %f")
(org-latex-pdf-process quote
("latexmk -pdflatex='lualatex -shell-escape -interaction nonstopmode' -pdf -f %f"))
(org-latex-pdf-process . "latexmk -pdflatex='lualatex -shell-escape -interaction nonstopmode' -pdf -f %f")
(org-tags-exclude-from-inheritance quote
("prj" "FIX" "Tentative" "NotBusy" "OtherPeople"))
(org-tags-exclude-from-inheritance quote
("Project" "FIX" "Tentative" "NotBusy" "OtherPeople"))
(cache-long-scans)
(org-export-babel-evaluate quote inline-only)
(time-stamp-active . t)
(TeX-master . wd-check)
(TeX-master . wd-check.tex)
(nxml-child-indent . 2)
(org-time-clocksum-format :hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)
(org-time-clocksum-format :days "%dd " :hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)
(LaTeX-biblatex-use-Biber)
(eval evil-emacs-state)
(evil-emacs-state-minor-mode . t)
(TeX-source-correlate-method . synctex)
(xquery-indent-size . 4)
(org-export-pdf-remove-logfiles)
(nxml-child-indent . 4)
(xsl-element-indent-step . 4)
(org-export-ascii-table-keep-all-vertical-lines . t)
(org-export-ascii-links-to-notes . t)
(org-export-ascii-links-to-notes)))
'(save-place t nil (saveplace))
'(save-place-mode t nil (saveplace))
'(scroll-bar-mode nil)
'(send-mail-function 'mailclient-send-it)
'(show-paren-mode t)
'(show-paren-style 'mixed)
'(smie-indent-basic 2)
'(tab-always-indent 'complete)
'(text-mode-hook '(turn-on-visual-line-mode text-mode-hook-identify))
'(tool-bar-mode nil)
'(transient-mark-mode t)
'(word-wrap t))
;; '(vc-svn-program "locutor")
(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.
'(default ((t (:inherit nil :stipple nil :background "Wheat" :foreground "NavyBlue" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight light :height 108 :width normal :foundry "outline" :family "IosevkaTerm NF"))))
'(fixed-pitch ((t (:family "IosevkaTerm NF"))))
'(hl-line ((t (:background "#F1DD9B"))))
'(org-hide ((t (:foreground "wheat")))))
(put 'scroll-left 'disabled nil)
(load-file (expand-file-name "~/.emacs.d/init/open-my-files.el"))