mirror of https://github.com/Chizi123/.emacs.d.git

Joel Grunbaum
2022-01-01 4d828501a8cdcd16fce94507d0fe69b4920f142a
config.org
@@ -104,20 +104,10 @@
Use aspell for spellchecking. 
Auto-enable in latex and org as they're the main writing modes.
#+BEGIN_SRC emacs-lisp
  ;; (require 'ispell)
  ;; (setq-default ispell-program-name "aspell")
  ;; (setq-default ispell-local-dictionary "en_AU")
  ;; (add-hook 'tex-mode-hook 'flyspell-mode)
  ;; (add-hook 'latex-mode-hook 'flyspell-mode)
  ;; (add-hook 'TeX-mode-hook 'flyspell-mode)
  ;; (add-hook 'LaTeX-mode-hook 'flyspell-mode)
  ;; (add-hook 'latex-mode-hook 'flyspell-buffer)
  ;; (add-hook 'org-mode-hook 'flyspell-mode)
  ;; (add-hook 'org-mode-hook 'flyspell-buffer)
  ;; (diminish 'flyspell-mode)
  (use-package flyspell
    :hook (tex-mode latex-mode TeX-mode LaTeX-mode org-mode)
    :diminish flyspell-mode
    :init (require 'ispell)
    :config
    (setq-default ispell-program-name "aspell")
    (setq-default ispell-local-dictionary "en_AU"))
@@ -714,6 +704,12 @@
  (use-package highlight-indentation
    :hook (prog-mode . highlight-indentation-mode))
#+END_SRC
** Auto revert mode
Update unchanged buffers if underlying file changes.
#+BEGIN_SRC emacs-lisp
  (global-auto-revert-mode)
#+END_SRC
* Mode line tweaks
Diminish is used but is included in init.el such that it can be used throughout this document
** Spaceline
@@ -905,7 +901,7 @@
  (add-hook 'magit-process-prompt-functions
            #'magit-process-general-yn-prompt-hook)
#+END_SRC
*** Gerrit integration
*** COMMENT Gerrit integration
Gerrit takes ~origin:refs/for/master~ as a destination.
Enable magit to work with its oddities.
#+BEGIN_SRC emacs-lisp
@@ -1367,7 +1363,8 @@
Call pandoc on org buffer from org export.
Need to add ~#+OPTIONS: H:99~ to enable large level header exports.
#+BEGIN_SRC emacs-lisp
  (use-package ox-pandoc)
  (when (executable-find "pandoc")
    (use-package ox-pandoc))
#+END_SRC
*** COMMENT Dokuwiki Wiki