Commit Graph

11360 Commits

Author SHA1 Message Date
Henrik Lissner
fec53f7b1d Fix git-gutter not updating when whole file is staged
But we don't want it triggering on git-gutter:*-hunk, because they do
their own refreshing work.
2019-07-23 18:18:43 +02:00
Henrik Lissner
003febd54c Refactor doom--define-leader-key helper
And mark it as a hack, which it is, Mr. Anderson.
2019-07-23 18:14:49 +02:00
Elais Player
224eafa830 Add version to README 2019-07-23 11:12:55 -05:00
Henrik Lissner
58ab20ec5f Fix prependq!
Used one too many levels of nesting
2019-07-23 18:10:40 +02:00
Elais Player
3cc7066063 Uncomment closing parenthesis in scheme config
Accidentally commented out a closing parenthesis in the scheme module
config, fixed in this commit.
2019-07-23 11:08:29 -05:00
Elais Player
0659675ade Add scheme module README
The README.org has the prereqs as well as links to geiser and the
various scheme implementations.
2019-07-23 11:08:29 -05:00
Elais Player
db8d541fbe Add scheme module
Adds scheme module with geiser.
2019-07-23 11:08:29 -05:00
Henrik Lissner
3b9838ed41 lang/org: prevent circular refs in nconc'ed list 2019-07-23 18:05:28 +02:00
Henrik Lissner
8931718e8a config/literate: fix org-version errors 2019-07-23 17:56:37 +02:00
Henrik Lissner
dc9766ca37 lang/org: move org version hack to init.el
So that it's visible to external org tools, like org-tangle or the
literate module.
2019-07-23 17:51:35 +02:00
Henrik Lissner
876bed4813 Remove deprecated :map* & :keymap from map! macro
These have been deprecated for some time. They are all aliases for :map.
2019-07-23 17:35:56 +02:00
Henrik Lissner
9eaee096c8 Minor comment revision & general code reformatting 2019-07-23 17:30:32 +02:00
Henrik Lissner
be46d31866 Use display-multi-font-p check in all-the-icons advice
display-multi-font-p is just an alias for display-graphic-p, but it
communicates better the purpose of this advice.
2019-07-23 17:27:55 +02:00
Henrik Lissner
82ae3a73f3 def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
8aa7772e4e tools/lsp: prevent ~/.emacs.d/lsp-cache creation #1587
And prefix lsp folders with "lsp-".
2019-07-23 16:51:57 +02:00
Henrik Lissner
6f56b9f9d4 Add autoload/themes.el library 2019-07-23 14:31:00 +02:00
Henrik Lissner
83763414fb Improve docstring for def-advice! functions
Now lists linked functions that the advice was defined with.
2019-07-23 14:12:01 +02:00
Henrik Lissner
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
c795a988e6 Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
Henrik Lissner
20e2aa0b18 ui/doom: only load solaire-mode for supported themes 2019-07-23 02:06:35 +02:00
Henrik Lissner
7ac155f68d Fix company help replacing the current buffer
Instead of displaying in a popup.
2019-07-23 02:04:44 +02:00
Henrik Lissner
7ebc9045f2 Fix reference to renamed variable targets 2019-07-23 01:27:20 +02:00
Henrik Lissner
d59405b282 Minor comment revision & refactors 2019-07-23 00:30:45 +02:00
Henrik Lissner
928596a200 Remove collab/{floobits,impatient-mode} modules
The state of peer programming in Emacs isn't great. The floobits module
is only one line of code and doesn't warrant its own module.
impatient-mode is a little more useful, but is too niche and not
exclusively for peer programming, so I'm not convinced it belongs in
this category. Since there are no other good options, I'm just getting
rid of the category altogether.
2019-07-23 00:17:27 +02:00
Henrik Lissner
703b58f325 term/*: conform to new conventions 2019-07-23 00:07:14 +02:00
Henrik Lissner
d5646d2b88 input/{japanese,chinese}: conform to new conventions 2019-07-23 00:01:59 +02:00
Henrik Lissner
271920b42a tools/wakatime: conform to new conventions 2019-07-23 00:01:13 +02:00
Henrik Lissner
38d06446ba tools/pdf: conform to new conventions 2019-07-23 00:00:08 +02:00
Henrik Lissner
0ab14efce2 tools/prodigy: conform to new conventions 2019-07-22 23:59:25 +02:00
Henrik Lissner
763262b2a3 tools/pass: conform to new conventions 2019-07-22 23:58:16 +02:00
Henrik Lissner
d307de8297 tools/macos: conform to conventions 2019-07-22 23:54:43 +02:00
Henrik Lissner
60acdcb962 lang/cc: conform to new conventions 2019-07-22 23:52:16 +02:00
Henrik Lissner
8482f26d51 Move cc modes smartparen functions to config/default 2019-07-22 23:51:39 +02:00
Henrik Lissner
6cda303ae6 tools/lookup: conform to new conventions 2019-07-22 23:51:13 +02:00
Henrik Lissner
d106272574 Fix ]f/[f (next/previous file) motions 2019-07-22 23:51:12 +02:00
Henrik Lissner
a264185f74 tools/gist: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
287e61a72c tools/flyspell: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
90f5128de2 tools/flycheck: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
7562d29d4b tools/eval: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
28aead72ef tools/editorconfig: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
8e09b8b7fe tools/debugger: conform to new advice conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
8e096f7a23 tools/direnv: conform to new hook conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
d7ed52f3c7 Add ui/hydra module
And conforms all existing hydras to the naming convention for
interactive commands, e.g.

  +vc-gutter-hydra -> +vc/gutter-hydra
2019-07-22 23:51:12 +02:00
Henrik Lissner
388267d256 Add --force/-f support to doom refresh 2019-07-22 23:22:55 +02:00
Henrik Lissner
6200f5d876 Move file functions in core-lib to autoload/files 2019-07-22 23:22:55 +02:00
Henrik Lissner
be2ade62d2 Add polyfill for Emacs 26+ alist-get 2019-07-22 23:22:54 +02:00
Henrik Lissner
0eb200c49f Refactor package! macro 2019-07-22 23:22:54 +02:00
Henrik Lissner
93f7520c79 Refactor Doom core init process (again)
- Eager-load all core autoloaded libraries if autoloads file isn't
  present.
- Renames functions to be more descriptive of their true purpose:
  - doom-initialize-autoloads -> doom-load-autoloads-file
  - doom-load-env-vars -> doom-load-envvars-file
- Use doom-module-p instead of featurep! for backend use (the latter is
  mainly syntax sugar for module use, and evaluates at compile/expansion
  time, which may cause hash-table-p errors early in the startup
  process).
- Reorder plist library to prevent load order race condition with the
  functions using the macros that haven't been defined yet.
2019-07-22 23:22:54 +02:00
Henrik Lissner
23d111132a Update core-packages.el comments 2019-07-22 23:22:54 +02:00
Henrik Lissner
afebdb35da Refactor autodef generator 2019-07-22 23:22:54 +02:00