Commit Graph

6664 Commits

Author SHA1 Message Date
8b9d4a94bb Define evil-want-* options as defvars
To make it easier for users to customize.
2018-06-27 03:09:06 +02:00
123df290a6 Rewrite evil +everywhere & evil-collection init
Fixes a couple issues with certain evil-collection modules not loading
and removes some redundant config for 'replace.
2018-06-27 03:05:47 +02:00
69143b20f8 feature/evil: remove macroexpand
Snuck into a commit
2018-06-27 02:57:02 +02:00
75457f63fe lang/org: refactor & disable evil-org-set-key-theme
+ It's too much trouble supporting the evil-org-set-key-theme workflow.
  Perhaps I'll make it complain when you do.
+ Don't add +org|setup-ui to doom-load-theme-hook, it's unnecsesary.
+ Use faces in org-priority-faces rather than colors.
2018-06-27 02:53:18 +02:00
f915f8c864 Fix wakatime-api-key not persisting across sessions
Caused because customize'd variables aren't set until they're defined,
so we have to load wakatime-mode first.
2018-06-27 02:52:06 +02:00
7408bd170d Fix void-function errors on doom recompile
Due to autoloads files not being loaded at all in this one startup
route.

Reported by @ar1a & @AloisJanicek
2018-06-26 19:10:24 +02:00
fe235c341d Refactor evil-collection-init code
Make it possible to disable image-mode and elisp-mode evil-collection
modules.
2018-06-26 18:58:07 +02:00
7d59b9c5a5 Use abbreviated, extension-less paths for autodefs
Decreases the size of doom-autoload-file, improves its portability and
fixes byte-compilation support for autodefs.
2018-06-26 18:58:07 +02:00
81753150a7 doctor: don't regard disabled/ignored packages
And refactor error handling.
2018-06-26 18:58:07 +02:00
79e155a2a8 doom-files-in: match full path with :match
Instead of just the filename.
2018-06-26 18:58:07 +02:00
8f3f31bac8 Fix hardcoded language-tool path on MacOS
Reported by @jwintz
2018-06-26 18:58:07 +02:00
5966e9aa9c Restore +evil-collection-disabled-list
Without this variable, the user can't easily prevent certain
evil-collection modules from loading without some provide voodoo.
2018-06-26 18:58:06 +02:00
705de920d7 tools/wakatime: +wakatime-api-file => custom.el
Use customize system to store user settings instead of reinventing the
wheel.
2018-06-26 18:58:06 +02:00
71922937ff tools/wakatime: add +wakatime-home variable
And fix 'wakatime-mode isn't setup' message referencing +wakatime/start
instead of +wakatime/setup.
2018-06-26 18:58:06 +02:00
ca1b9ac1bd doom refresh: always force autoload regeneration 2018-06-26 18:58:06 +02:00
ac1b1995b5 Conditionally bind persp-switch-to-buffer
In the case :feature workspaces is disabled.
2018-06-26 18:58:06 +02:00
80ddf2122b Fix doom-initialize-packages messing up load-path
This fixes issues with the doctor not being able to find certain
packages (like evil-collection), and an issue where using the package
management API (which calls doom-initialize-packages) breaks the current
session by breaking the load-path.
2018-06-26 18:58:06 +02:00
e6a89e4bf9 app/rss: fix keymapp error & refactor keybinds 2018-06-26 18:58:02 +02:00
70eb5ea8be Merge pull request #713 from patrl/develop
Minor refactor of bibtex features in latex module
2018-06-26 18:49:27 +02:00
679dffb6c6 Merge pull request #726 from areinisc/module-common-lisp
Fix handler calls to reference lisp-mode.
2018-06-26 18:46:47 +02:00
ba23af8567 Merge pull request #729 from AloisJanicek/fix-help-symbol
feature/evil: correct feature reference
2018-06-26 18:46:26 +02:00
7c937e211e Merge pull request #730 from freddiaN/patch-1
Add ll => ls -lah eshell alias
2018-06-26 18:46:07 +02:00
f17bf0a039 why isn't this a thing already
🤔
2018-06-26 17:05:54 +02:00
778f9dea5c feature/evil: correct feature reference
Both help-mode and help-mode-map are defined in file help-mode.el
which provides 'help-mode
2018-06-26 13:25:23 +02:00
e88f413d4a factored out setting 2018-06-26 02:49:01 +02:00
e5fc8b6c81 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop 2018-06-26 02:19:25 +02:00
af41e17355 Minor reformatting & docstring tweak 2018-06-26 01:48:15 +02:00
77eee38c41 Make deprecated :repl setting DRY 2018-06-26 01:48:09 +02:00
6310236f51 Appease the holy byte-compiler 2018-06-26 01:46:34 +02:00
d9e58e36e9 Merge evil-org-agenda init with evil-org 2018-06-26 01:46:15 +02:00
017ba8d79c Autoload defhydras & use new naming convention
Phasing out the +module@name convention for plain old
+module-name-hydra, which is more compatible with elisp reflection tools
like describe-function and such.

Also, Emacs starts up faster now. Tee hee.
2018-06-26 01:43:54 +02:00
3134df8f43 Refactor smerge-mode config
Remove +vcs|enable-smerge-mode-maybe, as this is already automatically
enabled when current file is has merge conflicts.

Moved +hydra-smerge to autoloads file, and add it to smerge-mode-hook.
2018-06-26 01:32:05 +02:00
14a6d7710c Prevent recursive require errors with evil-org
Caused when evil-org-set-key-theme is called too early (somehow).

Also makes evil-org-key-theme customizable, so it doesn't override a
user's changes to it.

Reported by @majorgreys
2018-06-26 01:16:01 +02:00
ff6e4437a2 Fix handler calls to reference lisp-mode.
`set-repl-handler!` helps with opening a repl when a particular mode is
active in a buffer. We want to be able to open a `sly-mrepl` whenever we
are in a lisp buffer, so we should have the repl handler look for
`'lisp-mode` to define opening a sly repl.

I assume the lookup handlers should be making sure we are in a lisp
buffer (similar reasoning to the repl-handler).
2018-06-25 15:56:50 -05:00
24fbf1bf0c Complain if wakatime binary can't be found 2018-06-25 20:19:33 +02:00
cba5270a7c Fix sp-elixir-skip-def-p void-function error #712 2018-06-25 20:19:33 +02:00
0dc0ccc63e Refactor +popup*org-pop-to-buffer
Simplify pop-to-buffer call.
2018-06-25 20:19:33 +02:00
8fcc12ed08 Add +popup-display-buffer-fullframe
Adds support for the saved-wconf window parameter. If a popup possesses
a window configuration in this parameter, it will be restored when the
popup (or its popup buffer) is killed.
2018-06-25 19:28:09 +02:00
8a4f15b01c Refactor smartparens default rules
Move them to config/default, but move single-lang-specific ones to their
respective modules.
2018-06-25 15:54:38 +02:00
1d7782aea3 Ensure paren isn't loaded at startup
post-command-hook would trigger too soon, for some reason.
2018-06-25 15:47:29 +02:00
b3fa3cda28 Lazy load which-key
GOTTA

GO

FAST
2018-06-25 15:46:31 +02:00
afa1fe3fc5 Phase out meta keybinds in helm+evil integration
We want to generally avoid meta. M-RET is an exception, and is commonly
used as an "alternate open" key.
2018-06-25 15:45:24 +02:00
de0869c976 Ensure elisp-mode code is lazy loaded
This prevents the unnecessary eager-loading of many autodefs (and
evil-collection-elisp-mode), since the elisp-mode package is always
available at startup.
2018-06-25 15:43:48 +02:00
a1d02749e5 Rethink how evil-collection is (lazy) loaded
This fixes a keybinding precedence issue that prevented users from
customizing evil-collection's keybinds, because evil-collection would
always run last, *after* user customizations. This precedence problem
occurs because evil-collection was lazy loaded haphazardly.

This isn't the most elegant solution, but I can live with it.
2018-06-25 15:39:38 +02:00
2f63c5fa47 Merge pull request #723 from fuxialexander/fix-ivy-fuzzy
Fix disable ivy fuzzy search in counsel-grep and swiper
2018-06-25 15:02:41 +02:00
e3519e82bf Merge pull request #725 from HaoZeke/fixmdDoc
doctor: Fix error with markdown
2018-06-25 15:01:08 +02:00
106062da0d Fix ivy posframe
The display function was being set on ivy-display-functions-props. The
correct variable for it is ivy-display-functions-alist.

Reported by randoom in discord.
2018-06-25 14:59:01 +02:00
595d9e593c doctor: Fix error with markdown 2018-06-25 17:41:52 +05:30
6a15db7e00 fix disable ivy fuzzy in swiper and counsel-grep 2018-06-25 14:15:00 +08:00
c8de34fb55 Add +wakatime-hide-filenames option
When enabled, wakatime will obfuscate filenames, hiding file information
from your activity.
2018-06-24 23:23:30 +02:00