Commit Graph

4842 Commits

Author SHA1 Message Date
8240771846 app/rss: fix +rss/quit & compact db 2018-02-17 04:55:35 -05:00
0c459cfefd lang/org: make backspace org-mode aware
This ensures backspace respects tables and doesn't break whitespace in
table cells.
2018-02-17 03:40:40 -05:00
8efd5d1eae Fix make clean not catching all *.elc files 2018-02-16 23:28:18 -05:00
d91481a9a0 Add private module to load-path
This fixes autoload cookies in private autoload files (e.g.
~/.doom.d/autoload/file.el).
2018-02-16 23:26:44 -05:00
f8bf86e1a3 ui/doom-dashboard: add button to open private module 2018-02-16 21:02:46 -05:00
2b43dd42e2 Refactor doom-hide-modeline-mode 2018-02-16 21:02:46 -05:00
62dc472dfe Remove vestigial :private hlissner from init.test.el 2018-02-16 05:42:37 -05:00
e7c9f5c08f Fix over-zealous path resolution
This issue made it impossible enable default modules from private doom!
blocks.
2018-02-16 05:33:27 -05:00
bae226b94f Refactor to revolve module tree roots around doom! calls
Any module can now use a doom! call to declare a module tree root.

This means that if you have a doom! block in
~/.emacs.d/modules/lang/org/init.el, then you can have submodules in
~/.emacs.d/modules/lang/org/modules/MODULE/SUBMODULE if you wanted to
for some reason.

This is only really truly useful for private modules. A doom! block in
~/.doom.d/init.el will recognize and enable modules in
~/.doom.d/modules/.
2018-02-16 05:07:46 -05:00
d04a1fa940 Remove doom-module-pairs 2018-02-16 04:47:02 -05:00
f864931643 Fix gibberish (char codes) in load-path 2018-02-16 03:11:28 -05:00
78fe91ce10 feature/file-templates: update header line in doom templates 2018-02-16 02:12:58 -05:00
540e74a6aa Remove accidental file 2018-02-16 02:12:01 -05:00
d2436650a3 Move server+benchmark code into doom|finalize 2018-02-16 02:11:41 -05:00
2b1c323dbf 💥 Redesign private sub-module system
~/.doom.d/modules is now a full module tree, like ~/.emacs.d/modules.
Symlinks are no longer involved.

Private modules can now shadow Doom modules. e.g.
~/.doom.d/modules/lang/org will take precendence over
~/.emacs.d/modules/lang/org.

Also, made doom--*-load-path variables public (e.g. doom--site-load-path
=> doom-site-load-path), and rearranged the load-path for a 10-15%
startup boost.
2018-02-16 02:11:10 -05:00
8ca4fbd8fe config/private: refactor symlink code 2018-02-15 03:39:12 -05:00
0e6540fb8f Fix featurep! in private submodules
You'll have to use the full form to use featurep! in the private module
root, but now the short form will work in the nested submodules.
2018-02-15 03:36:32 -05:00
800f8c4739 config/default: remove default yasnippet directory
Otherwise, ~/.emacs.d/snippets is always created.
2018-02-15 01:34:12 -05:00
a5a8ca617a Revise config/default comment in init.example.el 2018-02-14 23:42:45 -05:00
43360b5f00 Add lang/ess to init.example.el 2018-02-14 23:36:36 -05:00
b3dcba54eb Add config/private; for ~/.doom.d & ~/.config/doom support #406
A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
2018-02-14 23:36:35 -05:00
6d7db48dc1 💥 Move :private modules to :config 2018-02-14 23:36:27 -05:00
dfefbd0176 Fix make test not resetting doom-modules properly 2018-02-14 21:18:56 -05:00
0fb72805ab lang/web: new comment-indent-function for css/scss-mode
Adds +css/comment-indent-new-line, since the built-in default performs
poorly in CSS buffers. This is experimental.
2018-02-14 20:58:38 -05:00
5bee5c95ee lang/web: refactor +css/toggle-inline-or-block
Remove evil dependency + make more robust.
2018-02-14 20:55:43 -05:00
4321f20b3e Appease byte-compiler-sama 2018-02-14 20:54:53 -05:00
ae52b2ff60 Fix empty load-file-name in warn! macro during byte-compilation 2018-02-14 20:52:25 -05:00
0f404a513a Fix overaggressive backspace
delete-backward-char would kill adjacent delimited regions:

1. |
   (...)
2. (|...)
2018-02-14 16:46:01 -05:00
fa19eaf8e0 private/default: add tab yas-expand keybind for emacs states 2018-02-14 15:14:07 -05:00
a22e4ca9d9 Merge pull request #421 from benj02/patch-1
Fix keybinding
2018-02-14 15:10:37 -05:00
6094d8407d tools/pdf: defer pdf-tools 2018-02-14 07:47:22 -05:00
0ccdc065f9 lang/haskell: fail gracefully if stack isn't installed 2018-02-14 07:47:22 -05:00
871883cd89 lang/hy: set :repl, :company-backend & :interpreter 2018-02-14 07:47:22 -05:00
373d4f25b5 lang/elm: set :repl & load autoloads 2018-02-14 07:47:22 -05:00
c94893c6ba lang/lua: fix localleader key hijacking SPC 2018-02-14 07:47:22 -05:00
0e1cf10c0f Update doom module readme file template 2018-02-14 07:47:22 -05:00
6c4e048c23 General refactor & cleanup 2018-02-14 07:47:22 -05:00
bac73ec938 Replace warn => warn! 2018-02-14 07:46:38 -05:00
5ad4246cb9 lang/clojure: refactor; rainbow-delimiters-mode; :lookup
Also add auto-mode-alist entry for clojurec-mode
2018-02-14 06:08:30 -05:00
d634a7e69d lang/go: put keybinds in evil maps to fix hijacked SPC in go-mode 2018-02-14 05:53:53 -05:00
38903d07e8 lang/go: relax warnings
+ Don't default to goimports unless it's available.
+ No warning if goimports is missing.
2018-02-14 05:52:08 -05:00
57adae5ec6 Introduce more opinionated backspace/del/newline behavior
+ Instead of remapping delete-backward-char to doom/delete-backward-char
  (which was unreliable, depending on the mode), it is now overridden
  with it, without sacrificing its original functionality. The new
  behavior is as follows:
  + Fall back to sp-backward-delete-char when it makes sense to delete
    the adjacent pair: {|} => |
  + Collapse an indented pair block, if at bolp in between: {
      |
    } => {|}
  + Refresh a pair's :post-handlers when deleting into pair: {
      |
    } => {|} => {
      |
    } (can be repeated)
  + When cursor is preceded by whitespace, delete in increments of
    tab-width.
+ newline-and-indent has been advised to:
  + Only newline when in a string.
  + Continue comment lines consistently (needs more testing!)
  + Falls back to basic newline-and-indent, without affecting whitespace
    in the origin line (it would originally delete-horizontal-space
    before creating a new line).
+ Incorporates a set of reasonable defaults for brace expansion on RET
  or SPC, as mentioned in #343 and #413.

Affects #343, #413
2018-02-14 05:42:51 -05:00
b43743d565 lang/cc: fix smartparens not autopairing/skipping <>
Also removed +cc/autoclose->-maybe -- let smartparens handle this.
2018-02-14 05:40:37 -05:00
11373e0128 Move doom-ansi-apply away from macros + add docstring 2018-02-14 05:40:37 -05:00
5e5d075431 New doom/*-this-file commands; move doom/sudo* to new files library 2018-02-14 05:40:37 -05:00
aae7ca258b Fix keybinding
Both flycheck-mode and toggle-frame-fullscreen seem to be bound to "SPC t f", which means that only the second binding gets applied and there's no binding to toggle flycheck. This PR simply changes the fullscreen binding to capital F.
2018-02-14 00:34:28 -08:00
f6039eaee3 Use delay-warning instead of message in warn! macro 2018-02-14 03:17:51 -05:00
0b9ac52d27 ui/doom-modeline: remove eldoc-eval #420
eldoc has this functionality built-in.
2018-02-13 19:46:25 -05:00
11e5140b98 Fix editorconfig file ext 'guesser' in org-edit-src buffers
Fixes editorconfig not correctly guessing style settings in org-edit-src
buffers.
2018-02-13 19:42:39 -05:00
e79942de2e lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
2018-02-13 19:41:09 -05:00