summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-12 12:59:14 -0500
committerCase Duckworth2021-04-12 12:59:59 -0500
commit52883ee48c43c51b128ddb5413c53d2153404752 (patch)
treea7a475572c6b076dd74deee684c123c7a2b5ca2c
parentAdd `visual-line-mode' to `org-mode-hook' (diff)
downloademacs-52883ee48c43c51b128ddb5413c53d2153404752.tar.gz
emacs-52883ee48c43c51b128ddb5413c53d2153404752.zip
Told ya it was subject to change
-rw-r--r--init.el18
1 files changed, 5 insertions, 13 deletions
diff --git a/init.el b/init.el index 0e8db32..514f045 100644 --- a/init.el +++ b/init.el
@@ -105,8 +105,6 @@
105 coding-system-for-read 'utf-8-unix 105 coding-system-for-read 'utf-8-unix
106 coding-system-for-write 'utf-8-unix 106 coding-system-for-write 'utf-8-unix
107 buffer-file-coding-system 'utf-8-unix 107 buffer-file-coding-system 'utf-8-unix
108 org-export-coding-system 'utf-8-unix
109 org-html-coding-system 'utf-8-unix
110 default-process-coding-system '(utf-8-unix . utf-8-unix) 108 default-process-coding-system '(utf-8-unix . utf-8-unix)
111 x-select-request-type '(UTF8_STRING 109 x-select-request-type '(UTF8_STRING
112 COMPOUND_TEXT 110 COMPOUND_TEXT
@@ -364,18 +362,12 @@
364 org-imenu-depth 3 362 org-imenu-depth 3
365 org-export-headline-levels 8 363 org-export-headline-levels 8
366 org-export-with-smart-quotes t 364 org-export-with-smart-quotes t
367 org-export-with-sub-superscripts t) 365 org-export-with-sub-superscripts t
366 org-export-coding-system 'utf-8-unix
367 org-html-coding-system 'utf-8-unix
368 org-startup-truncated nil)
368 (:bind "RET" unpackaged/org-return-dwim) 369 (:bind "RET" unpackaged/org-return-dwim)
369 (add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines) 370 (add-hook 'before-save-hook #'acdw/hook--org-mode-fix-blank-lines))
370
371 ;; There's a few ways to do this.
372 ;; I'm choosing to do `visual-line-mode' in a hook, because
373 ;; `org-startup-truncated' makes the good point that really long tables in
374 ;; orgmode, or links, can look really bad when truncated. However,
375 ;; `org-startup-truncated' would follow the usage of the rest of Emacs I have
376 ;; setup. Maybe I should reëxamine my usage of `visual-line-mode',
377 ;; `truncate-lines', and `word-wrap'...
378 (:hook visual-line-mode))
379 371
380(setup eshell 372(setup eshell
381 (:option eshell-directory-name (acdw/dir "eshell/" t) 373 (:option eshell-directory-name (acdw/dir "eshell/" t)