aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-11-18 21:51:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-11-18 21:51:12 +0000
commitb305326e0766e5f13b4491f20f91881808d0f88a (patch)
tree9bc2881c08f005c799373eb041b0010237a1d6a9
parentd2810a0587104140c4c1e864e1d53d1c977eb3f6 (diff)
downloaddotfiles-b305326e0766e5f13b4491f20f91881808d0f88a.tar.gz
dotfiles-b305326e0766e5f13b4491f20f91881808d0f88a.zip
Fix haskell mode and increase font size
-rw-r--r--emacs/loader.org23
-rw-r--r--i3/config3
2 files changed, 8 insertions, 18 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index a986773..3246b19 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -282,12 +282,12 @@ Set the font to Hack, which is an opensource monospace font designed for
programming and looking at source code.
#+BEGIN_SRC emacs-lisp
- (set-default-font "Misc Tamsyn-13")
- (setq default-frame-alist '((font . "Misc Tamsyn-13")))
+ (set-default-font "Misc Tamsyn-16")
+ (setq default-frame-alist '((font . "Misc Tamsyn-16")))
#+END_SRC
#+RESULTS:
-: ((font . Misc Tamsyn-13))
+: ((font . Misc Tamsyn-16))
#+BEGIN_SRC emacs-lisp
(use-package eshell
@@ -687,11 +687,7 @@ incrementally selecting more and more of the text.
(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase Mode" t)
- (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
-
- (require 'ox-latex)
- (add-to-list 'org-latex-packages-alist '("" "minted"))
- (setq org-latex-listings 'minted))
+ (add-hook 'latex-mode-hook 'turn-on-reftex)) ; with Emacs latex mode
#+END_SRC
** Markdown
@@ -999,19 +995,16 @@ Haskell mode with company mode completion.
:config
(add-hook 'haskell-mode-hook 'haskell-decl-scan-mode)
(setq haskell-mode-stylish-haskell-path (expand-file-name "~/.local/bin/stylish-haskell")
- haskell-stylish-on-save t))
+ haskell-stylish-on-save t
+ haskell-process-type 'stack-ghci))
(use-package interactive-haskell-mode
:ensure haskell-mode
- :hook haskell-mode
- :init
- (custom-set-variables
- '(haskell-process-path-stack (expand-file-name "~/.local/bin/stack"))
- '(haskell-process-log t)))
+ :hook haskell-mode)
#+END_SRC
#+RESULTS:
-| haskell-decl-scan-mode | interactive-haskell-mode |
+| interactive-haskell-mode | haskell-decl-scan-mode |
*** Python
Elpy package for python, which provides an IDE type environment for python.
diff --git a/i3/config b/i3/config
index b05e9f0..e3a69d3 100644
--- a/i3/config
+++ b/i3/config
@@ -216,9 +216,6 @@ exec --no-startup-id compton -c &
# set the background
exec --no-startup-id sh ~/.fehbg
-# Start emacs daemon to use with emacsclient
-exec --no-startup-id emacs --daemon &
-
# Activate redshift
exec --no-startup-id redshift &