summaryrefslogtreecommitdiff
path: root/emacs.el
blob: c4b531c9f3be8e57021c6110db18d53bd322ec50 (about) (plain)
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
;; https://github.com/fimblo/dot.emacs
;; Theme Activation

(load-theme 'manoj-dark)

;; https://elpa.gnu.org/packages/aggressive-indent.html
;; Automatic Activation of Aggressive Indent

(global-aggressive-indent-mode 1)

;; http://company-mode.github.io/
;; Automatic Activation of Company Mode

(add-hook 'after-init-hook 'global-company-mode)

;; https://www.emacswiki.org/emacs/ParEdit
;; Automatic Activation of ParEdit

(require 'paredit)
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode)
(add-hook 'ielm-mode-hook #'enable-paredit-mode)
(add-hook 'lisp-mode-hook #'enable-paredit-mode)
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
(add-hook 'scheme-mode-hook #'enable-paredit-mode)

;; https://github.com/xiaohanyu/ac-geiser
;; Geiser Configuration

;; (require 'ac-geiser)
(setq geiser-mode-start-repl-p t)
;; (add-hook 'geiser-mode-hook 'ac-geiser-setup)
;; (add-hook 'geiser-repl-mode-hook 'ac-geiser-setup)
;; (eval-after-load "auto-complete"
;;   '(add-to-list 'ac-modes 'geiser-repl-mode))

;; https://github.com/nbfalcon/macrostep-geiser
;; Macrostep Configuration
;; Inactive Due to Missing Package

;;(eval-after-load 'geiser-mode '(add-hook 'geiser-mode-hook #'macrostep-geiser-setup))
;;(eval-after-load 'geiser-repl '(add-hook 'geiser-repl-mode-hook #'macrostep-geiser-setup))

;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html
;; Copyright Information

(setq user-full-name "Marek Paśnikowski")
(setq user-mail-address "marekpasnikowski@protonmail.com")

;; Startup Screen Inhibition

(setq inhibit-startup-screen t)

;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html
;; Add Local Guix Repository to Load Path

;; (with-eval-after-load 'geiser-guile
;;   (add-to-list 'geiser-guile-load-path "~/src/guix"))