Commit graph

12375 commits

Author SHA1 Message Date
Henrik Lissner
8ea3733e73
Fix :built-in property for package! 2019-11-17 17:55:06 -05:00
Henrik Lissner
fa1a19a1f0
core: minor refactor & reformatting 2019-11-17 16:48:26 -05:00
Henrik Lissner
5df104a851
Remove redundant comments in init.example.el
Now that they're in the module index in docs/index.org
2019-11-17 16:48:25 -05:00
Henrik Lissner
3195b84fd2
Evaluate package! properties & error on :fetcher
- No longer translates :fetcher to :host. Update your package!
  declaration people!
- Now evaluates the values for properties (except for :recipe IF it is a
  list whose CAR passes keywordp -- for backwards compatibility).
- Throws error if an invalid property is used for a package!'s :recipe
2019-11-17 16:48:25 -05:00
Henrik Lissner
ffb4aa91da
lang/python: minor refactor & reformatting 2019-11-17 16:48:25 -05:00
Henrik Lissner
39f01450cb
lang/python: load flycheck-cython conditionally 2019-11-17 01:23:45 -05:00
Henrik Lissner
a66872fe25
Focus on ripgrep; remove ag, git-grep & grep support
We're focusing on ripgrep so we can iterate on search functionality in
Doom quicker. There is nothing the other search backends can do that
ripgrep can't. It is now a hard dependency for Doom.
2019-11-17 01:19:59 -05:00
Henrik Lissner
7a7b89ded1
Init packages from init.el in noninteractive sessions
This allows users to load init.el for their batch scripts, rather than
some monstrosity involving loading core/core.el and doom-initialize.
2019-11-17 01:17:34 -05:00
Henrik Lissner
c30d0ab1b7
tools/eval: ensure final newline after repl input #2056
Fix an issue where the final line of send-to-repl input (via gr) isn't
consistently processed.
2019-11-17 01:15:51 -05:00
Henrik Lissner
8aff949449
config/default: remove unneeded feature gating 2019-11-16 21:33:17 -05:00
Henrik Lissner
d474223a99
cli/upgrade: don't use removed -f switch 2019-11-16 21:04:08 -05:00
Henrik Lissner
f54d7a15cd
tools/eval: send to repl (via gr) by line #2056 2019-11-16 20:57:04 -05:00
Henrik Lissner
4dc3f0956a
lang/csharp: move omnisharp-cache-directory to doom-etc-dir
It deceptively uses this directory to store the omnisharp server, rather
than just its cache files. Servers belong in doom-etc-dir.
2019-11-16 20:55:53 -05:00
Henrik Lissner
c363791da0
Made -f the default for 'doom refresh' #2065
-f is necessary when there are changes to your system that Doom needs to
pick up when running 'doom refresh'. It won't do anything if your doom
dotfiles haven't visibly changed, which won't be the case if you are
installing, say, mu4e or vterm, through your system package manager.

What was initially a time-saving mechanic has become a trap for
beginners, so I've made -f its default behavior and its previous
behavior opt-in with the -n / --if-necessary switches.
2019-11-16 20:55:08 -05:00
Henrik Lissner
32089d9acb
docs/faq: fix module index link 2019-11-16 20:13:31 -05:00
Henrik Lissner
2ce6d3a66d
Merge pull request #2067 from rgrinberg/disable-hello-company-coq
lang/coq: proof-splash-enable = nil & refactor
2019-11-16 13:26:33 -05:00
Henrik Lissner
25e5c66777
Fix 'irc-buffers is not a defined segment' error
It was merged into irc segment upstream:
seagle0128/doom-modeline/dcc57fd4
2019-11-16 13:24:29 -05:00
Rudi Grinberg
a4e9d85db4 invert (if (not ..)) statement 2019-11-17 01:22:12 +09:00
Rudi Grinberg
c4fad17c29 Remove company-coq's hello page 2019-11-17 01:21:39 +09:00
Rudi Grinberg
78bb2e2ae5 diable the hello feature of company-coq 2019-11-17 00:34:15 +09:00
Rudi Grinberg
5738e39fea Disable proof general's splash screen 2019-11-17 00:33:52 +09:00
Henrik Lissner
b7044b5f32
Fix #2064: partially revert bd4755123
A change unintentionally snuck into bd4755123.
2019-11-15 23:56:08 -05:00
Henrik Lissner
449ddb986c
Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
Henrik Lissner
bd4755123f
Replace */tasks commands w/ magit-todos-list
If we want ivy/helm interfaces to it, we should use magit-todos as a
backend.
2019-11-15 22:17:31 -05:00
Henrik Lissner
03e9dc1daf
Follow up on 64222c69c
To fix cases where comment-line-break-function's first argument isn't
optional.
2019-11-15 22:17:31 -05:00
Henrik Lissner
7192a686a2
Use swiper-isearch instead of swiper
Much faster to start up
2019-11-15 22:17:30 -05:00
Henrik Lissner
b9e5059e3f
Ensure only one window after doom/kill-all-buffers 2019-11-15 22:17:30 -05:00
Henrik Lissner
3d26befd47
Move 'SPC /' to 'SPC s'
/ is harder to reach than s, more so on certain keyboard layouts, so
'SPC /' has been moved to 'SPC s'. Similar has been done to other / and
. leader keybinds. Whats more, 'SPC s' for snippets is seldomly used and
available through other means, so it was removed.

Summary:
- 'SPC /' moved to 'SPC s'
- 'SPC f .' and 'SPC f /' moved to 'SPC f f' and 'SPC f F', respectively
- 'SPC p /' removed (already on 'SPC p f')
- 'SPC p ?' moved to 'SPC p F' (doom/find-file-in-other-projects)
- 'SPC n /' moved to 'SPC n s' (+default/org-notes-search)
- 'SPC n .' removed (already on 'SPC n N')
- Remove 'SPC s' prefix for snippets. Was seldomly used and most of its
  commands are available on other keys or through `M-x`, which is
  enough.
2019-11-15 22:17:30 -05:00
Henrik Lissner
21eeb5c1a5
Bind 'SPC i {f,F}' to insert current file name/path 2019-11-15 22:17:30 -05:00
Henrik Lissner
46bea60ad3
Add :Read ex command & 'SPC i p' keybind
This can be used to extract paths from evil-ex style paths. e.g. the
following inserts the stdout into the current buffer (assuming we're in
~/some/project/filename.c):

  :R!echo %:P      ~/some/project
  :R!echo %:t      filename.c
  :R!echo %:e      c
  :R!echo %:r      filename
  :R!echo ~/another/project/%:t:r.h
    ~/another/project/filename.h
  :R %             contents of current file

http://vimdoc.sourceforge.net/htmldoc/cmdline.html#filename-modifiers
has a full list of vim filename modifiers. Doom doesn't support all of
them, but it does support most of them.
2019-11-15 22:17:30 -05:00
Henrik Lissner
ad2b905330
editor/evil: fix gr/gR in notmuch & elfeed 2019-11-15 22:17:30 -05:00
Henrik Lissner
ab0a90cd21
Merge pull request #2061 from rgrinberg/set-effort
lang/org: bind <localleader> c E to org-set-effort
2019-11-15 02:17:08 -05:00
Henrik Lissner
9108f4780e
Clean up & refactor tests 2019-11-15 02:14:42 -05:00
Henrik Lissner
2b36740325
lang/web: fix duplicate closing delimiters 2019-11-15 02:14:06 -05:00
Rudi Grinberg
3353727452 Add binding for setting effort
The org-clock-modify-effort-estimate is only useful after we've clocked
in a task.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-15 16:04:01 +09:00
Henrik Lissner
3d4a51b4a9
Merge pull request #2006 from RBckmnn/FixSudoEdit
Fix doom/sudo-{find,this}-file on remote files
2019-11-15 01:34:00 -05:00
Henrik Lissner
287cc94cba
Fix doom-load-autoloads-file tests on macos
Since /var is symlinked to /private/var on macos, the tests -- which do
a simple string comparison between two paths -- won't correctly
determine the two paths are the same file.
2019-11-15 00:56:58 -05:00
Henrik Lissner
c2db4a8708
tools/eval: add REPL support for +eval/buffer 2019-11-15 00:17:10 -05:00
Henrik Lissner
6536eded02
docs/index: add github links warning 2019-11-14 15:47:42 -05:00
Henrik Lissner
031a68a36d
docs/faq: revise & remove redundancies 2019-11-14 15:47:29 -05:00
Henrik Lissner
8f793a387b
docs/api: expand map! example 2019-11-14 15:43:44 -05:00
Ralf Beckmann
12fcd3857d Avoid superfluous buffers when sudo-editing
When invoking 'doom/sudo-this-file', do not
keep the old buffer around, since it is most
likely no longer needed.
2019-11-14 20:48:21 +01:00
Henrik Lissner
6599388f00
Fix infinite loop on invalid answer to straight prompts 2019-11-14 02:37:24 -05:00
Henrik Lissner
2a01a9dcdf
tools/ein: fix +ein/hydra autoload #2054 2019-11-14 01:45:40 -05:00
Henrik Lissner
2dd27260bb
lang/python: move pipenv keybinds to pipenv config
Why was it under pyvenv?
2019-11-12 20:35:14 -05:00
Henrik Lissner
d0a7cac3ad
Fix +eval:region sending whole buffer to REPL #1941 2019-11-12 20:22:38 -05:00
Henrik Lissner
5498b17de2
Bind 'gr' to revert-buffer in dired-mode 2019-11-12 16:24:51 -05:00
Henrik Lissner
a383293530
Merge pull request #2017 from bennofs/fix-jumplist-empty-buffer
Fix nil error in +ivy/jump-list for empty buffers
2019-11-12 16:19:44 -05:00
Henrik Lissner
254be475ad
Merge pull request #2009 from bennofs/fix-hydra-flash
Avoid nav-flash after each hydra action
2019-11-12 16:19:22 -05:00
Henrik Lissner
62e6e7d81f
lang/org: fix tests to reflect f70f788df 2019-11-12 16:15:42 -05:00