Henrik Lissner
6fbd3407e0
Fix block/jsdoc comment continuation in typescript
...
Also improves writing block comments in js2-mode and rjsx-mode.
Reported by @ar1a
2018-06-20 14:25:05 +02:00
Henrik Lissner
638ff6b0a2
Fix wrong-type-argument: sequencep from org-agenda
...
Caused by +org|exclude-agenda-buffers-from-workspace assuming
org-agenda-new-buffers would always be non-nil... then it wasn't.
Reported by @ar1a
2018-06-20 13:31:46 +02:00
Aria Edmonds
4ef2ff8797
lang/javascript: fix set-pretty-symbols!
2018-06-20 18:29:04 +10:00
Henrik Lissner
7a98919597
Fix quoting in babel popup rules
...
Reported by @fuxialexander
2018-06-19 20:50:16 +02:00
Henrik Lissner
746d90c330
make-variable-buffer-local -> make-local-variable
...
It is more correct to use the latter.
2018-06-19 13:49:18 +02:00
Henrik Lissner
6808c46b58
💥 Change set-popup-rule! usage
...
Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.
The old usage of set-popup-rule! is deprecated and may not work right!
The :ui popup module has also seen a major refactor to improve
efficiency and load times.
Sorry! This is the last "big" change before 2.1!
2018-06-18 02:34:16 +02:00
Henrik Lissner
e973acad6f
Defer projectile config in org
...
Now that projectile is lazy loaded.
2018-06-17 14:52:07 +02:00
Henrik Lissner
1866bb75f0
Gate rtags packages behind +rtags module flag #693
2018-06-17 14:45:07 +02:00
Julien Wintz
97f7406469
Use :modes instead of :in.
2018-06-17 14:22:29 +02:00
Henrik Lissner
17981d6a61
Conform hook names to conventions
...
Also minor reformatting & comment corrections.
2018-06-17 02:25:12 +02:00
Henrik Lissner
ec8ae0bedc
Add :ui pretty-code & set-pretty-symbols! autodef
...
Along with defaults for C/C++, elm, elisp, js, typescript, web-mode, and
org-mode. Thanks to @ar1a for inspiration.
2018-06-16 19:32:25 +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
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
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
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
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
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
b99ab59578
Replace :docset with set-docset! autodef
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
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
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
0020631b2e
Fontify autodef/if cookies & *! symbols in elisp
2018-06-14 19:52:15 +02:00
Henrik Lissner
6a6652d394
lang/common-lisp: replace slime with sly
...
Also add sly server auto-start and cleanup hooks.
2018-06-13 22:14:22 +02:00
Henrik Lissner
8889d5cc2b
Add :lang common-lisp
2018-06-13 20:10:37 +02:00
Henrik Lissner
6dc413c044
Remove :latex-bibtex-{file,dir} settings
...
Setting a single variable is preferrable to using a setting to abstract
it.
2018-06-12 21:07:34 +02:00
Henrik Lissner
f70c9ebb71
Fix void-symbol errors in compilation buffers
...
Occurs when :lang ruby is enabled, because the rspec-mode package
autoloads an advice, but not the advice function. Still, it seems silly
to do this advice before the package is loaded, so we disable it.
2018-06-11 14:21:35 +02:00
Henrik Lissner
2fa95218cb
Merge pull request #652 from Emiller88/feature/conda
...
Add +conda
2018-06-10 22:30:47 +02:00
Henrik Lissner
8dd0df453f
Merge pull request #667 from UndeadKernel/fix-latex_default-item-indent
...
Better looking default indentation for nested latex lists
2018-06-10 22:28:08 +02:00
Henrik Lissner
ef154ac033
Merge pull request #672 from mdssjc/clojure-hook-fixed
...
Clojure hook fixed
2018-06-10 22:26:36 +02:00
Henrik Lissner
1afc5965df
add-hook! -> add-hook for one-to-one hook
2018-06-10 22:25:29 +02:00
Henrik Lissner
f387be61e5
Merge pull request #675 from ethercflow/develop
...
lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/
2018-06-10 21:57:50 +02:00
Henrik Lissner
7f31704815
Minor reformatting of org-agenda config
2018-06-10 17:28:17 +02:00
Henrik Lissner
9bd5cb862d
Don't set org-agenda-files by default
...
Leave this to the user
2018-06-10 17:28:17 +02:00
Zwb
3ccd459ddb
lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/
2018-06-10 22:33:26 +08:00
Marcelo dos Santos
ad5afa1ab2
Fix the hook variable
2018-06-09 13:26:36 -03:00
UndeadKernel
dfa955dd2c
Better looking default indentation for nested latex lists
2018-06-08 16:10:00 +02:00
Henrik Lissner
56b4cba964
Fix solium error preventing solidity-mode #659
...
Now conditionally activates flycheckers using the existence of their
binaries at load time.
2018-06-08 13:08:37 +02:00
UndeadKernel
363407d9e6
Fix C-g resetting latex windows after opening the reftex-toc
2018-06-07 13:53:13 +02:00
fuxialexander
1d6d11e803
add meta doc
2018-06-07 01:12:03 +08:00
fuxialexander
732c2979c4
Naming convention and add docs; Avoid conflicting pyenv.
2018-06-07 01:08:49 +08:00
Edmund Miller
fada449bd4
Get rid of a stray +
2018-06-05 18:02:46 -05:00