b4e6022c82
Fix buffer/window/frame hooks not being triggered
...
In certain edge cases, the buffer/window/frame switch would not make the
new buffer/window/frame current, which is what the after switch hooks
should reasonably expect, causing some shenanigans.
For example, persp wouldn't register magit buffers because
`doom-after-switch-buffer-hook` was run in the context of the previous
buffer.
2018-06-07 02:51:45 +02:00
85a0c9efc9
New default display-buffer handler for magit
...
+magit-display-buffer-fullscreen is a more sophisticated (albeit
experimental) replacement for magit-display-buffer-fullframe-status-v1,
which fullscreens magit, but will also:
a) Keep the status window visible
b) Treat magit buffers not opened from magit-status as popups
2018-06-07 02:51:45 +02:00
b26bbd4762
Fix args-out-of-range in enable-minor-mode-maybe
...
Caused by trying to use out-of-scope match data.
2018-06-07 02:51:03 +02:00
af06b00316
Merge pull request #658 from ar1a/magit-word-diff
...
tools/magit: Show word-granularity on chosen hunk
2018-06-06 11:07:54 +02:00
13413a72e8
tools/magit: Show word-granularity on chosen hunk
...
This really seems like it should be a default, it's so handy to get
better diffs, sort of like how github does it. if set to 'all then it'll
show on all of them, but I think t is good enough.
2018-06-06 18:08:02 +10:00
530bdca097
Refactor persp-mode-map keybinds
...
Use define-key! instead of individual define-key's
2018-06-05 19:50:56 +02:00
641425ab77
Fix "failed" error from +helm/ag{,-from-cwd} #644
...
Only affected Ag backend.
2018-06-05 19:49:34 +02:00
e4e2fb55ed
feature/workspaces: remove non-side-window fix
...
This was fixed upstream in persp-mode#90.
2018-06-05 18:39:50 +02:00
90be135d8b
bin/doom: ensure default-directory is in emacs dir
...
user-emacs-directory could be changed elsewhere.
2018-06-05 17:26:45 +02:00
a3889dc8b1
bin/doom: don't set DOOMDIR
...
Now that we use it for doom-private-dir
2018-06-05 17:26:31 +02:00
dd3872dd32
Add DOOMDIR envvar
...
So doom-private-dir can be customized via shell dotfiles (or chemacs).
2018-06-05 17:20:20 +02:00
21779f66ad
config/literate: remove compile-on-save hooks
...
Too volatile and slow.
2018-06-05 16:35:16 +02:00
3245c365d7
config/literate: log compilation
2018-06-05 16:14:38 +02:00
47efd56fd4
compile/literate: refactor & recompile on save
...
And add autoloaded commands. This may need work to ensure you don't
spawn multiple instances of Emacs all vying to compile the same file.
2018-06-05 16:09:03 +02:00
f5fe36af23
Add :config literate module
...
It will tangle and byte-compile a config.org in your private config.
Doom will then load the resulting config.elc later.
Org is only loaded when updating this file.
2018-06-05 15:56:37 +02:00
bc4fb8f18e
Fix helm macro errors due to load order
...
Some packages (like evil-collection and dumb-jump) use helm macros, but
Doom cannot ensure helm will be installed by the time these packages are
byte-compiled during installation. In fact, the default load order
prevents this.
Rather than imposing hard load order requirements, we just make sure
helm is higher on the packages list, so it gets installed sooner.
2018-06-05 14:08:29 +02:00
3661462a7a
Use dynamic byte-compilation for autoload files
...
Very experimental! This reduces the size and overhead of autoload files
slightly, but may have other reprecussions!
2018-06-05 14:07:35 +02:00
43c65ab628
Disable :collab floobits by default
2018-06-05 13:44:53 +02:00
c9a3c9e615
Disable evil-collection-minibuffer
2018-06-05 13:23:46 +02:00
d5934ec8f7
feature/evil: update evil-shift-width manually (experimental)
2018-06-05 13:23:37 +02:00
4978a64678
Create core directories before checking version
...
Otherwise the version cache file can't be written to!
2018-06-05 12:09:42 +02:00
c9bfb58369
Minor, general refactor
...
Remove redundant keybinds, unused letvars, and fix
doom-module-load-path's docstring referencing its former signature.
2018-06-05 12:04:43 +02:00
8124d5a893
Use package-activated-list for package count
...
Now that this variable is cached, it should always be available.
2018-06-05 12:04:43 +02:00
d24807cc2c
Don't overwrite ivy-height for ivy-posframe
...
This would undo user's customizations to this variable.
2018-06-05 12:04:43 +02:00
1ef581d376
Load company (+auto) on post-self-insert-hook
...
This is a little later than pre-command-hook, but makes more sense.
Needs more testing though!
2018-06-05 12:04:43 +02:00
f71d4634e8
Remove TODO colorizing in bin/doom help
...
It's unused and excessive. KISS!
2018-06-05 12:04:43 +02:00
282e0d6653
Move emacs version check into doom-initialize
...
Also fixes void-function errors caused by (now removed)
doom-same-emacs-version-p not being defined in all the contexts it was
needed.
Where it was before was clumsy design.
2018-06-05 12:04:43 +02:00
7b1a83079d
Fix C-j being treated as a prefix in lang/latex
2018-06-05 10:45:26 +02:00
12015b17c5
Merge pull request #655 from ar1a/helm-i-bindings
...
config/default: add helm bindings for SPC-i-y
2018-06-05 10:43:40 +02:00
4a6abe8d5d
Merge pull request #656 from ar1a/patch-3
...
rtags is `rdm` not `rtags`
2018-06-05 10:39:26 +02:00
022a64d2e3
rtags is rdm
not rtags
...
silly henrik
2018-06-05 17:40:54 +10:00
3119238f42
config/default: add helm bindings for SPC-i-y
2018-06-05 14:40:26 +10:00
fa4a9a38d4
Less intrusive error prefix for flycheck popups
...
The default character was taller than a line. My OCD won't have it.
2018-06-05 03:21:26 +02:00
9c62ef9dfa
Fix flycheck-posframe errors #653
...
The +childframe check was too simple (and unnecessary, since the
posframe function autoloaded).
2018-06-05 03:20:19 +02:00
3c52c36c2f
lang/cc: general refactor
...
For idempotence and to group dependencies so certain sub-packages (like
irony's) aren't loaded if irony is disabled.
2018-06-05 02:29:44 +02:00
7880154214
Merge pull request #651 from crshd/develop
...
Disable lui-mode line wrapping regardless of :feature spellcheck
2018-06-05 01:24:59 +02:00
6da8e5b3ab
Add error handling when loading autoloads files
2018-06-04 21:20:13 +02:00
29005d9975
Load quelpa uncompiled to fix arrayp errors #647
...
Hopefully...
2018-06-04 21:19:46 +02:00
3491ac369f
Translate ESC to [escape] (experimental)
...
This is to fix a keymapping edge case. It _may_ have other
reprecussions, so it must be tested further!
2018-06-04 21:17:49 +02:00
1d9ae834f2
Minor refactors & docstring revision
...
These are not the refactors you are looking for.
2018-06-04 21:17:49 +02:00
fdb95d9ee6
Minor optimization of doom*switch-buffer-hooks
2018-06-04 21:17:49 +02:00
625a8a9056
Fix multi-term buffers missing from buffer list
...
Caused because switch buffer hooks weren't triggering, due to
multi-term's odd use of set-buffer before switch-to-buffer.
2018-06-04 21:17:49 +02:00
3027ed2f7f
Add new doom|mark-buffer-as-real hook to term/eshell
...
This is simpler (and perhaps faster) than doom-real-buffer-functions.
Better to reserve that for more complex logic.
2018-06-04 21:17:49 +02:00
ee154a3eb7
Add Emacs version check to noninteractive session
...
Changing Emacs versions can cause incompatibilities. Doom now warns the
user about these.
2018-06-04 21:17:49 +02:00
84c17b0413
Add docstring to +org-pretty-mode
2018-06-04 21:17:49 +02:00
23bd9d3efa
Add FILE support to +org-get-property & optimize
...
Can now be used to grab properties from remote org files. Also only
reads the first 2048 bytes of the document by default, for performance
reasons.
2018-06-04 21:17:49 +02:00
5c5b4931cf
Autoload the +macos!open-width macro
2018-06-04 21:17:49 +02:00
7493c953fd
Restore gQ -> org-fill-paragraph key in org-mode
...
When gq is insufficient.
2018-06-04 21:17:49 +02:00
8cf407caff
Re-init custom keys after evil-org-set-key-theme
...
evil-org-set-key-theme blanks out evil-org-mode-map, undoing all our
custom keybinds. Using it isn't the correct way to customize evil-org,
but it is understandable people would use it expecting it to be, so
`+org|setup-evil` will now run after it is called.
The "Doom" way to customize evil-org would be to modify the
`evil-org-key-theme` variable, but with this change, either will work.
2018-06-04 21:17:49 +02:00
f7a6089956
Restore vim zr, zR, zm, & zM folding in org-mode
...
For evil users.
2018-06-04 21:17:49 +02:00