Fix grammar and whitespace

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:31 +00:00
parent 2f44f9c559
commit c5aa3d894b

View File

@ -15,7 +15,6 @@ needs to be set up to install them if they aren't already.
#+end_src
* UI
The start-up message gets pretty annoying, so disable that.
#+begin_src emacs-lisp
@ -38,7 +37,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** Colour Scheme
Currently using =spacemacs-theme='s light variant, but I prefer a pure
white background to the off-white it has by default.
@ -52,10 +50,9 @@ needs to be set up to install them if they aren't already.
#+end_src
* Org-mode
I use a couple non-standard bits and pieces, but not a whole bunch. I
really like the =<s= to insert a source block thing (which was
deprecated); =org-tempo= brings that back.
I use a couple non-standard bits and pieces, but not a whole
bunch. I really like the =<s= to insert a source block thing (which
was deprecated); =org-tempo= brings that back.
#+begin_src emacs-lisp
(use-package org
@ -112,7 +109,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** Exporting
I very rarely want a table of contents, as most of my org documents
are pretty short.
@ -121,8 +117,7 @@ needs to be set up to install them if they aren't already.
#+end_src
*** HTML
=htmlize= is needed for decent HTML exporting, and there is no need
=htmlize= is needed for decent HTML exporting, but there is no need
for all that stuff at the bottom.
#+begin_src emacs-lisp
@ -131,7 +126,6 @@ needs to be set up to install them if they aren't already.
#+end_src
*** LaTeX
Use =minted= (LaTeX package) to do syntax highlighting in code blocks:
#+begin_src emacs-lisp
@ -159,7 +153,6 @@ needs to be set up to install them if they aren't already.
#+end_src
* Start up
Org is better suited as scratch space than Funamental, I'd say.
#+begin_src emacs-lisp
@ -196,7 +189,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** C
For C, I like to indent with tabs and align with spaces: this
behaviour is provided by =smart-tabs-mode=.
@ -225,7 +217,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** Haskell
My workflow with Haskell is very REPL-based, so I always want
=interactive-haskell-mode= on.
@ -244,7 +235,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** Idris
The only thing to change from the defaults here is to add a more
convenient way to case-split.
@ -257,7 +247,6 @@ needs to be set up to install them if they aren't already.
#+end_src
** Rust
I never really use Rust without Cargo, so always turn on the minor
mode for Cargo in Rust buffers.
@ -270,50 +259,50 @@ needs to be set up to install them if they aren't already.
** Lisps
*** Racket
Get =racket-mode= for some Racket-specific things, like searching documentation
Get =racket-mode= for some Racket-specific things, like searching documentation
#+begin_src emacs-lisp
(use-package racket-mode)
#+end_src
#+begin_src emacs-lisp
(use-package racket-mode)
#+end_src
*** Common Lisp
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
binding for =slime-selector=
Use SLIME and Quicklisp for Common Lisp (SBCL), with a convenient
binding for =slime-selector=
#+begin_src emacs-lisp
(use-package slime)
(setq inferior-lisp-program "sbcl")
(global-set-key (kbd "C-c s") 'slime-selector)
#+begin_src emacs-lisp
(use-package slime)
(setq inferior-lisp-program "sbcl")
(global-set-key (kbd "C-c s") 'slime-selector)
(load (expand-file-name "~/.quicklisp/slime-helper.el"))
#+end_src
#+end_src
And we also want to enable execution of CL source blocks in Org
mode, which we do by adding an item to [[help:org-babel-load-languages][org-babel-load-languages]].
And we also want to enable execution of CL source blocks in Org
mode, which we do by adding an item to [[help:org-babel-load-languages][org-babel-load-languages]].
#+begin_src emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((lisp . t)))
#+end_src
#+begin_src emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((lisp . t)))
#+end_src
*** Paredit
=paredit= is generally very useful for balancing parenthesis so we
want that turned on for all the lisps. Additionally, it's nice to have
an entire expression highlighted when the cursor is on one of its
enclosing parens.
=paredit= is generally very useful for balancing parenthesis so we
want that turned on for all the lisps. Additionally, it's nice to have
an entire expression highlighted when the cursor is on one of its
enclosing parens.
#+begin_src emacs-lisp
(use-package paredit)
(setq lispy-mode-hooks
'(emacs-lisp-mode-hook
lisp-mode-hook
racket-mode-hook
scheme-mode-hook))
(dolist (hook lispy-mode-hooks)
(add-hook hook (lambda ()
(setq show-paren-style 'expression)
(paredit-mode))))
#+end_src
#+begin_src emacs-lisp
(use-package paredit)
(setq lispy-mode-hooks
'(emacs-lisp-mode-hook
lisp-mode-hook
racket-mode-hook
scheme-mode-hook))
(dolist (hook lispy-mode-hooks)
(add-hook hook (lambda ()
(setq show-paren-style 'expression)
(paredit-mode))))
#+end_src
* EXWM
One must fulfil the meme of doing everything with Emacs...