Henrik Lissner
709c708376
Open magit-popup is a side window
...
Instead of in a split below the current window.
2018-06-16 14:38:06 +02:00
Henrik Lissner
3ad16f660f
Refactor set-company-backend!
2018-06-16 12:46:57 +02:00
Henrik Lissner
44363cae40
General, minor refactor & revision
...
Across the board. All the boards.
2018-06-16 12:26:58 +02:00
Henrik Lissner
02caf4eeac
Fix file templates expanding non-interactively #553
...
File templates should not expand unless the current file was opened
interactively. We use a simple heuristic to detect this: if the opened
buffer's is visible or not.
2018-06-16 12:23:47 +02:00
Henrik Lissner
b5baeb81a7
Improve error handling in snippet commands
...
Fixes wrong-type-argument errors when fields or overlays are not
actually fields or overlays. Such heresy!
2018-06-16 12:22:50 +02:00
Henrik Lissner
74d364776e
Move no-other-window to +popup-default-parameters
...
Should be customizable.
2018-06-16 11:45:09 +02:00
Henrik Lissner
02d532a09a
Set ibuffer-use-other-window in ui/popup/+hacks.el
...
It was originally set to accommodate the popup system.
2018-06-16 10:22:59 +02:00
Henrik Lissner
9c748600a5
Fix set-email-account! & minor refactor
...
Mentioned by @myme
2018-06-16 01:13:34 +02:00
Henrik Lissner
1cfc146e3a
Fix indentation of set-popup-rule!'s arguments
2018-06-16 00:40:37 +02:00
Henrik Lissner
435c940af9
Remove unused setting :company-dict-minor-mode
2018-06-16 00:40:37 +02:00
Henrik Lissner
5aeea4dcae
Refactor elm+flycheck integration #686
...
Ensure flycheck is started soon enough and its initializing code is
grouped with flycheck-elm's config.
2018-06-15 22:24:53 +02:00
Henrik Lissner
253fd77b2a
Fix intero-goto-definition #683 #684
...
It wasn't working in the first haskell buffer because of a race
condition. Intero was loading too late to register lookup handlers for
haskell-mode (for the first buffer).
By setting it to intero-mode, it is registered in time for intero-mode's
activation.
2018-06-15 22:16:49 +02:00
Henrik Lissner
fe6a9b0cd8
ui/popup: tie +defaults flag to +hacks
2018-06-15 22:13:44 +02:00
Henrik Lissner
cdcc4eec5d
Refactor +helm*replace-prompt
...
In case +helm-global-prompt is nil, which will effectively disable this
advice.
2018-06-15 22:10:40 +02:00
Henrik Lissner
ef90633432
Fix docset lookup & lazyload *-dash
...
Have to forward declare *-dash-docsets so we can lazy load the *-dash
libraries.
Also fixes a void-variable error because helm-dash-docsets isn't defined
by helm-dash, just used.
2018-06-15 21:42:38 +02:00
Henrik Lissner
4856217c84
Set default ispell-dictionary
...
Prevents wrong-type-argument stringp errors when starting flyspell-mode.
2018-06-15 21:25:32 +02:00
Henrik Lissner
4a0b98ef1c
lang/latex: fix removal of master file prompt
...
It makes me sad that this is necessary. Friends don't let friends use
anonymous functions for their package's hooks.
2018-06-15 21:16:37 +02:00
Henrik Lissner
9e85acec2c
Append flyspell-mode to LaTeX-mode-hook #654
...
If run too soon, the user has no opportunity to change
+spellcheck-immediately.
2018-06-15 21:00:38 +02:00
Henrik Lissner
d0abe742f9
Don't set ispell-program-name
...
ispell already looks for aspell, ispell, and hunspell on initialization.
2018-06-15 20:52:00 +02:00
Henrik Lissner
4d017ae19e
Replace :yas-minor-mode with set-yas-minor-mode!
2018-06-15 18:03:50 +02:00
Henrik Lissner
ab9b8d97bc
Replace :rotate with set-rotate-patterns! autodef
...
And its references.
2018-06-15 18:03:50 +02:00
Henrik Lissner
8ca88aba9e
Replace :email with set-email-account! autodef
2018-06-15 18:03:50 +02:00
Henrik Lissner
c0251aacee
Replace :lookup with set-lookup-handlers! autodef
...
And update all internal references.
2018-06-15 17:27:48 +02:00
Henrik Lissner
bfdc00cf42
Prevent tide-mode error when node isn't installed
...
This error prevents you from opening js files.
2018-06-15 17:15:25 +02:00
Henrik Lissner
c3d3638832
Fix js defvaralias errors in Emacs 27
...
In later versions of Emacs, if a var alias is created *after* it has
been assigned a value, an error is thrown. This prevents the user from
opening js files.
2018-06-15 17:12:54 +02:00
Henrik Lissner
f81a0e6f41
Remove redundant def-setting! docstrings
...
def-setting! will now grab the autodef's docstring if it has an
:obsolete property defined.
2018-06-15 16:54:39 +02:00
Henrik Lissner
51aa60d67d
Fix set-electric! complaining about :char
...
A typo! Should be :chars
2018-06-15 16:50:39 +02:00
Henrik Lissner
e63be83298
Bind SPC f X to doom/delete-this-file
2018-06-15 16:20:20 +02:00
Henrik Lissner
d588332aa0
Fix SPC TAB leader prefix not being recognized
...
Due to a TAB => [tab] remap later in config/default.
2018-06-15 16:20:20 +02:00
Henrik Lissner
9e54e393ea
Use new evil-collection blacklist instead of hook
2018-06-15 16:20:20 +02:00
Henrik Lissner
588359cc5f
Replace :eval/:repl with autodef functions
...
+ :eval => set-eval-handler!
+ :repl => set-repl-handler!
+ Updates all internal references.
2018-06-15 16:20:20 +02:00
Henrik Lissner
a500bfb0a0
Rewrite+rename describe-settings->describe-setters
...
Will now list autodefs instead of def-settings, including an origin
module label to tell you where it comes from at a glance.
2018-06-15 16:20:20 +02:00
Henrik Lissner
7b1db08ea2
Replace :devdocs with set-devdocs! autodef
2018-06-15 16:20:20 +02:00
Henrik Lissner
b99ab59578
Replace :docset with set-docset! autodef
2018-06-15 16:20:20 +02:00
Henrik Lissner
cccccbb3fd
set-electric!: fix & improve error handling
2018-06-15 16:20:20 +02:00
Henrik Lissner
c22b3da9f9
Move emacs/electric-indent to emacs/electric
...
This module will later be expanded to customize more of electric's
functionality.
2018-06-15 16:20:20 +02:00
Henrik Lissner
9f0ebe42e8
Replace :electric with set-electric-rules!
...
And general refactor of the emacs/electric-indent module.
Also updates (set! :electric ...) references in various :lang modules
2018-06-15 13:32:07 +02:00
Henrik Lissner
f801939ce7
test-evil: load :feature evil module
2018-06-15 04:46:13 +02:00
Henrik Lissner
5a427b1c2b
Move custom evil arg types back to config.el
...
No need to autoload that.
2018-06-15 04:45:09 +02:00
Henrik Lissner
cbb5b2ed7d
Fix unknown interactive code error in evil tests
2018-06-15 04:03:22 +02:00
Henrik Lissner
0ef522bbf2
tools/pdf: close annotation lists when killing pdf
2018-06-15 03:42:01 +02:00
Henrik Lissner
eaca8c58fa
Move unit tests from ert to buttercup
...
Easier to organize and write. Now I can hopefully strive for better
coverage!
2018-06-15 03:42:01 +02:00
Henrik Lissner
98d2f1de3f
Add set-env! autodef; make :env obsolete
2018-06-15 03:42:01 +02:00
Henrik Lissner
3b0fad871f
Add :lang common-lisp doctor
2018-06-15 03:42:01 +02:00
Henrik Lissner
2023aac314
Add +treemacs/toggle command
2018-06-15 03:42:01 +02:00
Henrik Lissner
2496e0348d
Add :when support to after!
...
This lets you delay a body of code until an arbitrary condition is
met (which is checked whenever a file is loaded).
Also refactors set-file-template! to wait until +file-templates-alist is
defined.
2018-06-15 03:42:01 +02:00
Henrik Lissner
d8b1e469bc
Introduce autodefs to replace some settings
...
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!
I am slowly phasing out the setting system (def-setting! and set!),
starting with these.
What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.
The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
Henrik Lissner
6693db48af
Mark +org-dir obsolete (use org-directory instead)
...
I prefer not to invent new variables when they aren't strictly
necessary. org-directory is one such variable (although the other path
variables are still necessary).
2018-06-15 01:05:22 +02:00
Henrik Lissner
40e4c872f4
Remove redundant eshell-error-if-no-glob setting
2018-06-14 23:40:08 +02:00
Henrik Lissner
209f33c12e
Refactor tools/eshell
...
Make eshell-directory-name easier to customize & remove unnecessary
def-package! block.
2018-06-14 23:36:42 +02:00