Commit Graph

9756 Commits

Author SHA1 Message Date
22404f1ec5 Fix "nil is not any command *I* know"
What good is sass if it isn't right?
2019-07-22 22:34:08 +02:00
88813ff196 Minor reformatting across the board
Gotta

Look

Nice
2019-07-22 22:34:08 +02:00
781783fe85 Refactor doom-module-from-path
Now returns (:core) or (:private) for files in doom-core-dir and
doom-private-dir, respectively, and will otherwise return the module for
the current file if called with no arguments.

Also fixes the case where it would disregard arguments and return
whatever the current value of doom--current-module.
2019-07-22 22:34:08 +02:00
457b542795 Fix void-variable next error
And change TARGETS to PACKAGE, which is a more descriptive name.

Mentioned in #374
2019-07-22 18:57:17 +02:00
d8dbb90931 Add core plist library 2019-07-22 18:04:50 +02:00
9d1e2c5bd9 Fix delq! use causing wrong-type-arg error w/ treemacs 2019-07-22 16:41:43 +02:00
0c678ee762 Refactor after! macro
The trouble with with-eval-after-load is it arranges for the body to be
byte-compiled, whereas eval-after-load does not. I won't go into how
they do that here, but it causes us some trouble:

Macro calls in with-eval-after-load are eagerly (immediately) expanded
at startup, whether or not the package or macro is available and
regardless of its execution path.

This sucks for Doom because, when expanded, autoloaded macros will be
loaded, along with whatever baggage they've got with them, and this
happens long before they're actually used. We also can't guarantee those
macros are available at startup, which will cause void-function errors
when the interpreter later treats them like an ordinary function call.

So, the simple fix is to pass a quoted body form to eval-after-load
instead of the closure that with-eval-after-load will wrap it in. This
means the body won't get byte-compiled if we compile our config, but in
exchange, macros stay lazy-loaded until they're finally needed!
Wonderful.
2019-07-22 14:49:25 +02:00
ffadd1307d Disable evil-collection-want-unimpaired-p
We have our own, better vim-unimpaired keybinds.
2019-07-22 13:31:56 +02:00
755835a207 Change ex command from :m[sg] to :messages
The former overwrote :m[ove].
2019-07-22 13:30:42 +02:00
4c70cfd102 Fix hash-table-p errors loading projectile
I was reading from a file without making sure it exists!
2019-07-22 06:28:32 +02:00
ffdb726ed8 Exclude gh.el from autoloads
See sigma/gh.el#95
2019-07-22 06:06:58 +02:00
6f878a38bd Fix incorrect path to init.example.el 2019-07-22 04:48:44 +02:00
1c4215c187 Fix 'command not found' errors for hidden commands 2019-07-22 04:46:14 +02:00
c24567a545 :minor-mode -> :minor 2019-07-22 04:30:04 +02:00
1e318f7148 Fix wrong-type-arg +org-dragndrop-download-dnd error
Whoops! I was treating appendq! like pushnew!
2019-07-22 04:27:01 +02:00
e9e6786dd3 Fix file-missing cli/quickstart error 2019-07-22 04:22:42 +02:00
879ab3b2f3 Replace incorrect usage of doom-dir with doom-path 2019-07-22 04:20:52 +02:00
76bb892a0c Move cli/quickstart -> cli/install 2019-07-22 04:16:47 +02:00
d2fa1a3dd1 Load seq in core-cli 2019-07-22 04:15:45 +02:00
6b5d65b55b tools/magit: reuse magit-status window
Instead of opening the same buffer in a new window.
2019-07-22 04:01:18 +02:00
ea65f82e4d Fix void doom-package-list error on first install 2019-07-22 03:48:29 +02:00
0890851e81 lang/org: set org-link-abbrev-alist non-destructively
So prior values aren't overwritten (and shadow these defaults), and also
because, due to the hook order, the attach: link was overwritten by this
setq.
2019-07-22 03:17:00 +02:00
b465500a27 Improve smartparens config and comments 2019-07-22 02:38:20 +02:00
82bcc2a68f Disable straight+use-package integration
They won't be loaded together, and shouldn't be used anyway, what with
Doom's package management system.
2019-07-22 02:37:48 +02:00
d980920c97 cli/packages: fix rebuild ignoring argument 2019-07-22 02:37:48 +02:00
a7ce48c2df bin/doom: add -l/--local/DOOMLOCALDIR
Will come in handy for the new testing framework.
2019-07-22 02:37:48 +02:00
ebdc9d610b Clean up init.example.el
And disable treemacs by default (because dired exists, and is a more
reasonable default).
2019-07-22 02:37:47 +02:00
ff7fe6af9f cli/doctor: fix stringp error if fd isn't installed 2019-07-22 02:37:47 +02:00
5e0177d667 ui/workspaces: conform to new hook/advice conventions 2019-07-22 02:37:47 +02:00
951a414ca4 tools/lsp: disable unneeded sideline/eldoc features 2019-07-22 02:37:47 +02:00
13ac086606 lang/python: default to python3 2019-07-22 02:37:47 +02:00
13f7f70242 lang/python: python-indent-guess-indent-offset-verbose = nil 2019-07-22 02:37:47 +02:00
77da28f06a lang/python: use correct executables for flycheck 2019-07-22 02:37:47 +02:00
a124c1b993 lang/org: org-enforce-todo-dependencies = t 2019-07-22 02:37:47 +02:00
74f7c58ef1 lang/org: org-highlight-sparse-tree-matches = nil
Helps sparse tree + org-indent-mode cooperate.
2019-07-22 02:37:46 +02:00
ecb43f1a2b lang/org: hide blocked tasks in agenda view 2019-07-22 02:37:46 +02:00
33c220902e editor/snippets: don't auto-enable yas-global-mode 2019-07-22 02:37:46 +02:00
567d0b6d16 Have smartparens back off of cc modes in 27+ 2019-07-22 02:37:46 +02:00
8a101a98b9 Add SPC o {t,T} keybinds for term/shell module 2019-07-22 02:37:46 +02:00
f898bbe9e1 Remove C-j/C-k from evil-collection blacklist
And fix ESC binding by evil-collection-vterm.
2019-07-22 02:37:46 +02:00
1b79aa1b4d term/eshell: remove redundant keys (with evil-collection)
And expand comments + use windmove-* instead of evil-window-* so as to
not exclude non-evil users from these keybinds.
2019-07-22 02:37:46 +02:00
448ec65997 ui/fill-column: move init code into autoload. 2019-07-22 02:37:46 +02:00
256284f5c0 ui/hl-todo: add HACK, REVIEW & DEPRECATED keywords
And include following colon, if any.
2019-07-22 02:37:46 +02:00
56e1dfe9bb lang/clojure: copy nrepl-server errors to repl
Makes them easier to notice!
2019-07-22 02:37:45 +02:00
952e9dd220 emacs/dired: auto-revert & reduce prompting 2019-07-22 02:37:45 +02:00
10c808466f lang/data: improve nxml-mode support 2019-07-22 02:37:45 +02:00
96bff1076f emacs/vc: bind gtc to git-timemachine-show-commit 2019-07-22 02:37:45 +02:00
82e882c630 lang/emacs-lisp: obey changes to lisp-indent-offset
In case the user has changed it.
2019-07-22 02:37:45 +02:00
060ede0e2e General, minor reformatting across the board
And an offering of blood to our great lord Byte Compiler-sama.
2019-07-22 02:37:45 +02:00
3595ff62ee lang/markdown: refactor & reformat autoloads file 2019-07-22 02:37:45 +02:00