2020-07-26 14:36:43 +02:00
|
|
|
;; OS SETTINGS
|
|
|
|
(when (eq system-type 'gnu/linux)
|
2020-11-25 21:26:37 +01:00
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"
|
|
|
|
org-directory "~/Documents/journal/"
|
|
|
|
org-agenda-files '("~/Documents/journal/")
|
|
|
|
org-default-notes-file "notes.org"
|
2020-11-30 21:51:40 +01:00
|
|
|
org-babel-python-command "ipython"
|
2020-11-25 21:26:37 +01:00
|
|
|
browse-url-secondary-browser-function 'browse-url-firefox
|
2020-11-30 21:57:39 +01:00
|
|
|
python-shell-interpreter "ipython"
|
|
|
|
python-shell-interpreter-args "--simple-prompt -i"))
|
2020-07-26 14:36:43 +02:00
|
|
|
|
2020-11-21 09:26:01 +01:00
|
|
|
|
2020-07-26 14:36:43 +02:00
|
|
|
(when (eq system-type 'windows-nt)
|
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_win32.el")
|
|
|
|
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
|
2020-11-28 14:58:47 +01:00
|
|
|
|
2020-10-29 15:41:16 +01:00
|
|
|
(setq sbcl-exe (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.exe")
|
|
|
|
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.core")
|
2020-07-26 20:14:05 +02:00
|
|
|
inferior-lisp-program "sbcl"
|
|
|
|
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
|
2020-11-21 09:26:01 +01:00
|
|
|
|
2020-11-25 21:26:37 +01:00
|
|
|
(setq python-shell-interpreter "python")
|
|
|
|
|
2020-07-26 14:36:43 +02:00
|
|
|
(when (string= (system-name) "EVG02667NB")
|
2020-11-28 14:58:47 +01:00
|
|
|
(cd "d:/opt")
|
2020-07-26 14:36:43 +02:00
|
|
|
(add-to-list 'Info-default-directory-list "~/Info")
|
2020-11-21 09:26:01 +01:00
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")
|
|
|
|
(setq plantuml-jar-path "c:/Users/Marcus.Kammer/AppData/Local/Programs/plantuml/plantuml.jar")
|
|
|
|
(setq plantuml-default-exec-mode 'jar))
|
|
|
|
|
2020-11-25 09:35:40 +01:00
|
|
|
(defun powershell (&optional buffer)
|
|
|
|
"Launches a powershell in buffer *powershell* and switches to it."
|
|
|
|
(interactive)
|
|
|
|
(let ((buffer (or buffer "*powershell*"))
|
|
|
|
(powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
|
|
|
|
(make-comint-in-buffer "shell" "*powershell*" powershell-prog)
|
|
|
|
(switch-to-buffer buffer)))
|
2020-11-21 09:26:01 +01:00
|
|
|
|
2020-07-26 14:36:43 +02:00
|
|
|
(when (string= (system-name) "XPS-8930")))
|
|
|
|
|
|
|
|
;; CUSTOM_FILE
|
|
|
|
(load custom-file :noerror)
|