Commit Graph

10949 Commits

Author SHA1 Message Date
Henrik Lissner
d099fac2b9 Fix core & core-lib tests 2019-11-08 16:02:07 -05:00
Henrik Lissner
d683effd23 Recognize single-character envvars in doom-load-envvars-file
And preserve insertion order for process-environment's new value.
2019-11-08 16:02:06 -05:00
Henrik Lissner
d78d584fdf Demote autoload errors to warnings 2019-11-08 16:02:06 -05:00
Henrik Lissner
9ef6ccb7cd Refactor doom-run-all-startup-hooks-h 2019-11-08 16:02:06 -05:00
Henrik Lissner
fbf9010c80 Log benchmark whether or not dashboard is enabled 2019-11-08 16:02:06 -05:00
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
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
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
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
Henrik Lissner
cae8c3f145 Refresh package.el first time package-install is used 2019-11-02 21:55:40 -04: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
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
Henrik Lissner
e1d62f5d12 Don't trigger create-missing-directories on remotes
Also: minor refactor of the hook.
2019-11-02 13:25:43 -04:00
Ralf Beckmann
d8ed171f0c Fixed keybindings to org-attach commands 2019-11-02 17:20:28 +01:00
Henrik Lissner
baac5dfee1 editor/evil: conform functions to naming conventions 2019-11-02 01:40:45 -04:00
Henrik Lissner
7142b4aa0f Make plist-put! variadic
And capable of modifying non-symbols in-place.
2019-11-02 00:02:54 -04:00
Henrik Lissner
a074a2c851 ui/popup: let completion popups handle themselves
Fixes #1976
2019-11-01 22:31:05 -04:00
Henrik Lissner
7b9991711a defvar->defconst for dir vars & expand DIR envvars
- Use defconst so that we can reload core.el if these variables change.
- Expand DIR envvars to ensure their correctness
2019-11-01 15:12:12 -04:00
Henrik Lissner
2a63faf0d2 docs/api: revise snippet description 2019-11-01 14:59:31 -04:00
Henrik Lissner
61aebae782 lang/org: don't persist active clocks
Only their history.
2019-11-01 14:45:38 -04:00
Henrik Lissner
b00f403fda Don't init all of core in noninteractive sessions
You can therefore load ~/.emacs.d/init.el directly to bootstrap Doom for
your own batch scripts.
2019-11-01 14:12:50 -04:00
Henrik Lissner
be196cbe39 lang/org: replace deprecated file+datetree 2019-11-01 14:09:25 -04:00
Henrik Lissner
51ae2f75b1 Merge pull request #1959 from facelesspanda/prefix-descriptions
config/default: add which-key labels for 'C-w m' & 'C-h'
2019-11-01 13:17:34 -04:00
Henrik Lissner
366ac383e9 Merge pull request #1980 from ebv-gh/patch-1
docs/getting_started: fix code quoting
2019-11-01 13:15:52 -04:00