Commit graph

11665 commits

Author SHA1 Message Date
Henrik Lissner
c37bdf71d1
Demote "no more buttons" error to warning
If the shortmenu or buttons were disabled, this error would break the
dashboard (and Doom).

Mentioned in #2024
2019-11-08 16:02:06 -05:00
Henrik Lissner
44d5e097c9
shell-command-to-string -> doom-call-process #1887
Minor optimization to remove a layer of indirection when starting
processes.
2019-11-08 16:02:06 -05:00
Henrik Lissner
873fc5c0db
Rewrite core-cli
Highlights:
- 'doom purge' now purges builds, elpa packages, and repos by default.
  Regrafting repos is now opt-in with the -g/--regraft switches.
  Negation flags have been added for elpa/repos: -e/--no-elpa and
  -r/--no-repos.
- Removed 'doom rebuild' (it is now just 'doom build' or 'doom b').
- Removed 'doom build's -f flag, this is now the default. Added the -r
  flag instead, which only builds packages that need rebuilding.
- 'doom update' now updates packages synchronously, but produces more
  informative output about the updating process.
- Straight can now prompt in batch mode, which resolves a lot of issues
  with 'doom update' (and 'doom upgrade') freezing indefinitely or
  throwing repo branch errors.
- 'bin/doom's switches are now positional. Switches aimed at `bin/doom`
  must precede any subcommands. e.g.
    Do: 'doom -yd upgrade'
    Don't do: 'doom upgrade -yd'
- Moved 'doom doctor' from bin/doom-doctor to core/cli/doctor, and
  integrated core/doctor.el into it, as to avoid naming conflicts
  between it and Emacs doctor.
- The defcli! macro now has a special syntax for declaring flags, their
  arguments and descriptions.

Addresses #1981, #1925, #1816, #1721, #1322
2019-11-08 16:02:06 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
Rudi Grinberg
1f53ee92cb lazy load rst
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:56:14 +09:00
Rudi Grinberg
ba11f046bf Use ox-rst when :lang rst is enabled
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:54:10 +09:00
Rudi Grinberg
487b53ab5d remove unnecessary parens
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:51:57 +09:00
Rudi Grinberg
b1341f5668 Use use-package's :hook
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:51:52 +09:00
Rudi Grinberg
45f8972cdc add headers
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-08 12:51:52 +09:00
vikigenius
fe464910d2 Fixes:2023, added racket-smart-open-bracket-mode 2019-11-07 14:09:30 -05:00
Bastien Rivière
1fcf210bd4 replace go-add-tags with go-tag
go-add-tags isn't maintained and has a few issues.
This library will fix those issues by using a binary intended for this.
2019-11-06 14:22:24 +01:00
Rudi Grinberg
9b831d8ae7 Add rst module
Uses sphinx-mode and adds a few common bindings

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-06 16:57:35 +09:00
Henrik Lissner
9cb535043c
Merge pull request #2005 from RBckmnn/FixOrgAttach
lang/org: fix org-attach keybinds
2019-11-05 18:48:34 -05:00
Henrik Lissner
2f62d9fd00
Merge pull request #2008 from bennofs/doc-doomdir-modules
docs/getting_started: mention $DOOMDIR/modules
2019-11-05 18:48:11 -05:00
Henrik Lissner
4aeacc2b98
Merge pull request #2019 from sogaiu/doc-tweaks
docs/getting_started: fix broken links & revise
2019-11-05 18:47:38 -05:00
Henrik Lissner
f4e641950c
Minor, general refactors 2019-11-05 18:46:07 -05:00
Henrik Lissner
e47d357e56
Fix regexp quoting in +default/search-notes-for-symbol-at-point 2019-11-05 18:44:19 -05:00
sogaiu
1141f724b3
Update links to Customize links and a bit 2019-11-06 05:52:49 +09:00
Henrik Lissner
9113eab65a
No-op set-repeater! later if +evil-repeat-keys is nil 2019-11-05 14:55:53 -05:00
Henrik Lissner
df36e7f4d3
emacs/dired: update package list in README 2019-11-05 14:55:15 -05:00
Henrik Lissner
110ce6f150
lang/web: fix *.html? association with web-mode 2019-11-05 10:33:24 -05:00
Henrik Lissner
8db3b7dca7
Always load package autoloads file & demote errors
Indirectly addresses #2010
2019-11-04 17:21:56 -05:00
Henrik Lissner
17ad5594cf
Don't force init in noninteractive sessions
This allows batch scripts to load $EMACSDIR/init.el to use Doom's API.
Howevever, it puts the onus on the user to run `doom refresh` before
trying to use it.

This also indirectly addresses #2010
2019-11-04 17:20:59 -05:00
Henrik Lissner
8b5714bdfa
editor/evil: bind zn in visual mode too 2019-11-04 12:49:48 -05:00
Henrik Lissner
802cd5bfca
Revert 5f9a630c2
manateelazycat/multi-term#2 wass merged.
2019-11-04 12:42:23 -05:00
Benno Fünfstück
31b2a5a19e Fix nil error in +ivy/jump-list for empty buffers
For empty buffers which don't have any lines, `(thing-at-point 'line)`
will return `nil`. This broke `+ivy/jump-list`.
2019-11-04 11:57:52 +01:00
Danny Navarro
d05c970708
Add org archive keybinding 2019-11-04 10:48:06 +00:00
Henrik Lissner
2bf74158fd
Minor refactors across the board 2019-11-04 03:37:54 -05:00
Henrik Lissner
684e69c968
lang/julia: ensure inferior-julia-program-name is defined
For ob-julia
2019-11-04 03:37:54 -05:00
Henrik Lissner
6cc4c71872
Initialize Doom in ob-async session #2010 2019-11-04 03:37:44 -05:00
Henrik Lissner
4703992002
Suppress missing-file org-version errors 2019-11-04 00:37:25 -05:00
Benno Fünfstück
280da15280 Avoid nav-flash after each hydra action
Hydra displays the hints in a buffer created by lv-window, which
triggers nav-flash. By advicing lv-window, we can inhibit the nav-flash
hook.
2019-11-03 23:04:06 +01:00
Henrik Lissner
d1f8c88c07
Remove 'SPC b j'
The jump list command isn't buffer-local, and so doesn't belong under
the 'SPC b' prefix. It is also already present on 'SPC / j'.
2019-11-03 16:43:12 -05:00
Henrik Lissner
a93f097f78
ui/nav-flash: factor out redundancy 2019-11-03 16:27:17 -05:00
Henrik Lissner
633fd7c95f
Exclude *.org files from doom/help-packages{,-config} 2019-11-03 15:43:18 -05:00
Benno Fünfstück
1a8875a175 Mention $DOOMDIR/modules explicitly in docs 2019-11-03 21:05:06 +01:00
Henrik Lissner
d10c2f6cb9
ui/pretty-code: fix duplicate in fira ligatures
Relevant to #743
2019-11-03 14:17:03 -05:00
Henrik Lissner
2519d12ae3
Don't trigger so-long in noninteractive sessions 2019-11-03 13:06:44 -05:00
Ralf Beckmann
7a810d53a0 Consider current buffer's file when sudo-editing
If doom/sudo-find-file is invoked with a file that is equal
to the current buffer's file, kill that buffer since it is probably
not needed anymore.
2019-11-03 14:25:10 +01:00
Henrik Lissner
cae8c3f145
Refresh package.el first time package-install is used 2019-11-02 21:55:40 -04:00
Ralf Beckmann
68e56025bc Fixed sudo edit on remote files
The previous implementation failed, if the
remote user was given only implicitly.
2019-11-03 02:22:52 +01:00
Henrik Lissner
95c3682716
lang/org: revert e19069aa9
It ended up convoluting the load order, which makes customizing their
keybinds more complicated than they need to be.
2019-11-02 18:43:03 -04:00
Henrik Lissner
16a17ad970
tools/lsp: start lsp server unconditionally
Part 2 of f6d3ee588, in order for server restarting to work, since
shutting down the server doesn't turn off lsp-mode.
2019-11-02 15:50:26 -04:00
Henrik Lissner
f6d3ee5889
tools/lsp: fix lsp-workspace-restart 2019-11-02 15:50:02 -04:00
Max Nickel
d295c5d723 disable dired-git-info when ranger is enabled and fix keybinding 2019-11-02 14:31:53 -04:00
Max Nickel
1b962937ce add keybinding to toggle dired-omit-mode 2019-11-02 14:31:20 -04:00
Max Nickel
0d7d107bbf remove unnecessary dotfile functions and hooks 2019-11-02 14:29:51 -04:00
Max Nickel
b7046de2ca disable dired-git-info hook in remote directories 2019-11-02 14:28:35 -04:00
Henrik Lissner
9fbfc44f73
Fix doom-create-missing-directories-h
Hanging variable reference caused a void-variable error.
2019-11-02 14:01:19 -04:00
Henrik Lissner
f2906b073f
Fix #2004: wrong-type-arg stringp error from pyvenv 2019-11-02 13:41:55 -04:00