Commit Graph

9859 Commits

Author SHA1 Message Date
a354bba261 Appease byte-compiler-san-chan-sensei-sama-chama
Praise be.
2019-07-28 16:10:53 +02:00
8773d85db0 Fix oversights in plist library
- doplist! now returns the RETVAL expression
- Fix doom-plist-merge (was incomplete)
2019-07-28 16:10:53 +02:00
3330501af6 Remove examples in custom-*set-faces!
They're already in docs/api.org, which helpful buffers will display
alongside a function/macro's documentation.
2019-07-28 16:10:53 +02:00
529f8d7e7a Fix custom-theme-set-faces!
The body was still quoted from when it was a macro.
2019-07-28 16:10:53 +02:00
efb4584797 Alias 'doom build' to 'doom rebuild' 2019-07-28 14:02:51 +02:00
a9c1986a68 Fix and refactor 'doom upgrade' #1607
Now accepts the -f/--force switches to discard local changes to
the .emacs.d directory.
2019-07-28 13:47:57 +02:00
26f9e2cdeb lang/python: load anaconda-mode a little sooner
So its hooks take effect in the first buffer.
2019-07-28 02:38:27 +02:00
a6d77e951f Move doom-run-all-startup-hooks-h to autoload/debug.el 2019-07-28 02:32:25 +02:00
aee1c851fc Refactor git-timemachine-show-commit fix
As per https://gitlab.com/pidu/git-timemachine/issues/77
2019-07-28 02:32:25 +02:00
059030be49 lang/python: ensure anaconda-mode in first python buffer 2019-07-28 02:32:25 +02:00
afc22e4265 lang/python: fix dont-auto-install-server advice
The function being overriden takes no arguments.
2019-07-28 02:32:25 +02:00
19dd4e8db8 Correct more inline hook defuns 2019-07-28 02:32:25 +02:00
4dc42de9e3 def-command! -> defcli!
And def-command-group! -> defcligroup!, to match our new convention for
naming definer macros.
2019-07-28 02:32:25 +02:00
0a05fd09c3 Merge pull request #1603 from nelson-liu/patch-1
Update list of lang/python considered conda homes
2019-07-27 23:43:32 +02:00
87ce335f1a Merge pull request #1604 from rgrinberg/unique-lines-complete
Uniquify completion candidates of whole lines
2019-07-27 23:42:53 +02:00
8dab8eefca Prevent load-file-name/#$ replacements in strings & comments 2019-07-27 22:57:32 +02:00
b332a923a5 Add in-house point-in-{comment,string} predicates
Toward uncoupling Doom from smartparens.
2019-07-27 22:56:49 +02:00
7c523f2c15 Uniquify completion candidates of whole lines
If the same line is present more than once in the buffer, it will be
offered more than once as a candidate. This commit deletes duplicate
lines from the completion list.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-07-28 01:19:45 +07:00
fa0f876076 Add new homebrew cask anaconda install path 2019-07-27 11:11:47 -07:00
04166d6562 ui/popup: larger WoMan popups, by default 2019-07-27 19:40:31 +02:00
8d388ebba9 Improve 'doom rebuild' checks & formatting of logs
Corrects stale bytecode a little more aggressively.
2019-07-27 17:22:47 +02:00
3313212f90 ui/workspaces: correct inline defun hooks
And add-to-list -> add-hook, because its a tiny bit faster (and fewer
characters).
2019-07-27 17:08:56 +02:00
ead0b1ce15 lang/org: correct paths in comment headers 2019-07-27 17:06:55 +02:00
a441435f3e Fix debug helper for format!
Throwing format errors when there are no arguments.

Also makes relpath a little more lenient about nil/empty input.
2019-07-27 17:05:17 +02:00
402260f154 Fix doom/reload & doom/reload-autoloads 2019-07-27 17:04:17 +02:00
3c36a345d8 Fix file! not returning filename in some cases
There are scenarios where load-file-name is set, but load-in-progress is
not. It is safe to assume the value of load-file-name is always what we
want.

Also: file! now throws an error if it can't find the directory.
Otherwise we have to deal with roundabout errors from other places that
expect file! to never fail.
2019-07-27 17:00:12 +02:00
21a27b52d8 Refactor autoloads generation
- Correctly replace references to load-file-name and $# in autoloads.
- Don't load resulting autoloads file twice
- Read package autoloads literally (a little faster)
2019-07-27 16:59:10 +02:00
94d5b73b45 lang/python: lazy load lsp-python-ms
And comment on the hack.
2019-07-27 13:53:38 +02:00
063703bbd6 Merge pull request #1510 from filalex77/lang/elixir-readme
Add README for lang/elixir
2019-07-27 13:14:15 +02:00
bc044ae3c0 Merge pull request #1578 from jdemilledt/patch-1
Remove flycheck-rust since it is no longer used.
2019-07-27 13:13:46 +02:00
2487a76852 Merge pull request #1602 from jdemilledt/patch-2
Adding lsp-python-ms with patch so it doesn't force itself to be installed
2019-07-27 13:13:08 +02:00
5b1d7459bc Merge branch 'develop' into straight 2019-07-27 13:09:42 +02:00
7c6e871035 lang/emacs-lisp: add buttercup-run-project command
And replace non-interactive buttercup-run-discover.
2019-07-27 13:06:43 +02:00
bf151916cb Update list of lang/python considered conda homes
For several years, the default location for a miniconda install has been `~/miniconda3` (`~/miniconda2` if using the python 2 version). This PR adds this path to the list considered by the conda package.
2019-07-26 22:29:33 -07:00
850c0bbb61 Adding lsp-python-ms with patch so it doesn't force itself to be installed. 2019-07-26 22:32:17 -04:00
49afaa8bd1 Merge pull request #1599 from tchajed/racket-jump-to-definition
lang/racket: set lookup handler to find definition
2019-07-27 03:31:39 +02:00
66c50ceb51 Merge pull request #1576 from Emiller88/feature/mu4e-docs
Add NixOS example
2019-07-27 03:27:36 +02:00
60a87b444c Merge pull request #1601 from filalex77/elixir-ls
Add support for Elixir LSP via elixir-ls
2019-07-27 03:24:39 +02:00
3e357c2e88 Return real version string from fake org-release fn 2019-07-27 02:46:50 +02:00
0dfdbd471c Ensure envvars at top of envvar file are checked
The regexp expects there to be at least one newline at the top of the
file, otherwise the very first envvar is skipped.
2019-07-27 02:46:50 +02:00
597ef77c20 Ignore envvars prefixed with __
They are likely private. There are some public variables with single
underscore prefixes, however, like _FASD_DATA and _FASD_VIMINFO.
2019-07-27 02:46:49 +02:00
09d13fd60d Use add-hook! for inline hook defuns 2019-07-27 02:46:49 +02:00
fe5d285a50 scroll-conservatively = 10
Match the vim default behavior of recenting the cursor in the window if
it moves more than 10 lines above or below the ends of the window.
2019-07-27 02:46:49 +02:00
4d73f659f5 Refactor out nested hook defuns & refactor core.el
Moves file-handling config to core-editor.el.
2019-07-27 02:46:49 +02:00
887a36aacf Add support for Elixir LSP via elixir-ls
- Document Elixir with LSP via elixir-ls
- Add ~+lsp~ flag to ~:lang elixir~
2019-07-26 22:17:01 +03:00
32fd0162a0 Document +lsp flag for :lang elixir 2019-07-26 22:14:07 +03:00
592bb13496 lang/racket: set lookup handler to find definition 2019-07-26 14:43:57 -04:00
05f7565a57 Merge pull request #1597 from ar1a/straight-lsp-company
tools/lsp: cache company candidates automagically
2019-07-26 20:33:28 +02:00
21f1a50436 tools/lsp: cache company candidates automatically 2019-07-27 04:28:22 +10:00
1fb5891f6d lang/elixir: finish README.org 2019-07-26 21:23:32 +03:00