Commit Graph

10133 Commits

Author SHA1 Message Date
c0d2ab331e Remove command-log-mode
This isn't vital enough a package to be included in core. Emacs already
provides view-lossage, and there are other, better packages for
displaying your keybinds as you type.

Even one that I've been working on (with special evil support):
https://github.com/hlissner/doom-emacs-private/blob/master/lisp/keycast.el
2019-09-06 00:13:40 -04:00
f6b8807e83 Add -o option to 'doom env'
Now you can output envvar files where ever you like.
2019-09-05 14:20:50 -04:00
9f08d11908 Also delete autoloads.pkgs.el on 'doom upgrade' 2019-09-05 14:06:52 -04:00
778c7c4244 Fix #1750: errors while exporting markdown
Now runs the exporters directly, rather than through shells. Also fixes
"This document format requires a nonempty..." errors with pandoc
exporter.
2019-09-05 14:05:27 -04:00
7e36c5c2b3 ui/tabs: fix recursive load errors & update
An autoload was causing an autoload before their respective packages
could declare they had been loaded, leading to cyclical loading errors.
2019-09-05 13:43:49 -04:00
1031adb6af lang/org: remove redundant variables
Many of these settings are redundant with their defaults.
2019-09-05 13:12:44 -04:00
6c4f4a9d9d Mac users: command = super, option = meta
Apparently these have different defaults on emacs-mac, so we set these
to keep them consistent.
2019-09-05 13:11:22 -04:00
cbe05e6df4 Soften formatting rules for envvar files
doom-load-envvar-file would fail if there weren't two newlines
indicating "the start of the envvar list", or if envvars were commented
out/were padded with whitespace. These rules have been relaxed.
2019-09-05 13:10:21 -04:00
975928193b Remove doom/open-bug-report command #1752
The command was removed some time ago and won't be restored (for now).
2019-09-04 19:02:50 -04:00
44ef61a7f7 Fix doom/help-packages 2019-09-03 16:53:41 -04:00
92c839be02 tools/magit: warn if emacsql fails to build #1751 2019-09-03 15:47:38 -04:00
005647fd64 Fix wrong-type-arg package-desc error on 'doom refresh' 2019-09-03 14:07:09 -04:00
d9b6bf9438 Add doom-core-dir to load-path for child test processes 2019-09-03 01:53:29 -04:00
338b72b898 Refactor test launcher 2019-09-03 01:47:32 -04:00
c614beea0b Disable debug mode for travis tests 2019-09-03 01:35:48 -04:00
81ee250c09 Minor refactor & revision across the board 2019-09-03 00:59:46 -04:00
4ce86b06d4 Use more ambiguous reset target when normalizing repos
Possibly addresses "ambiguous target" errors during 'doom update'.

Might address #1738 and #1721
2019-09-03 00:59:46 -04:00
58567b1345 Minor optimization for init.el
The lazy-loaded version library and file-name-directory calls end up
consulting file-name-handler-alist, and can trigger the GC, so we ensure
these things happen after the other optimizations.
2019-09-03 00:59:46 -04:00
62b089ba36 Refactor core & core-lib
And make their tests pass
2019-09-03 00:59:46 -04:00
059ede53b6 Update all unit tests
To meet changes introduced from the straight branch merge.
2019-09-03 00:59:46 -04:00
52b6c51914 Read packages.el files directly for doom-info
This is a little more accurate and affects less state of the current
session.
2019-09-03 00:38:29 -04:00
65d3406e27 Fix various errors during 'doom compile' 2019-09-03 00:38:04 -04:00
4b736bef68 Introduce doom-interactive-mode
As soft inverse alias for noninteractive; this makes it easier to unit
test functionality that depends on the session type.
2019-09-03 00:37:30 -04:00
91b27bdccc Remove doom--straight-use-local-dir-a advice
Unnecessary now that straight-base-dir exists.
2019-09-02 22:51:20 -04:00
e996216714 Have lsp! return non-nil if successful
And fix an issue where +javascript-init-lsp-or-tide-maybe-h would
reference lsp-mode in the rare case where lsp-mode isn't defined (likely
because the user forgot to run `doom refresh` after enabling the :tools
lsp module).
2019-09-02 21:43:12 -04:00
713258ee31 ui/neotree: fix reference to renamed function 2019-09-02 19:17:15 -04:00
abc80e43ae tools/magit: disable magit-todos over TRAMP 2019-09-02 13:14:52 -04:00
49fb34d1c1 Fix 'doom purge' trying to purge site packages
It should only manage packages installed in
doom-elpa-dir (~/.emacs.d/.local/elpa, by default).
2019-09-02 13:12:57 -04:00
07dfe2703c Fix void-function diff-hl-magit-post-refresh error 2019-09-02 12:42:02 -04:00
f763bf2fd0 Change :mc to take delimited pattern
This used to take a regexp after a space: ':mc REGEXP'. It now is
delimited, like :g or :s, e.g.

  :mc/REGEXP/FLAGS
  :mc/[a-z]
  :mc/abc/g
2019-09-02 01:30:04 -04:00
075bc1797b Merge pull request #1711 from ztlevi/dired
emacs/dired: use diff-hl instead of dired-k
2019-09-02 00:52:26 -04:00
3c4252ffe7 Merge branch 'develop' into dired 2019-09-02 00:51:52 -04:00
8f061eb6b8 input/{chinese,japanese}: fix org-html-paragraph advice 2019-09-02 00:48:33 -04:00
05ab672ef9 Merge pull request #1732 from UndeadKernel/feature_sp-org
lang/org: smarter smartparens in org src blocks
2019-09-02 00:46:44 -04:00
6254829d46 Merge pull request #1731 from rgrinberg/agda-straight
lang/agda: install agda2-mode via straight
2019-09-02 00:45:56 -04:00
cd25abd7d2 Merge pull request #1735 from seanfarley/smf/add-timeout-arg
cli/upgrade: add timeout flag
2019-09-02 00:45:13 -04:00
3de42bd2bd Merge pull request #1742 from valignatev/develop
Fix vestigial reference to old hook in +cc/reload-compile-db
2019-09-02 00:44:49 -04:00
7ffc5d3134 Call renamed hook in the +cc/reload-compile-db autoload 2019-09-01 16:23:04 +03:00
88fc054919 Use straight for agda
We can fetch the mode directly from straight. There's no need to rely on
having this .el file installed for us. Now agda's el files can be edited
directly like all other emacs packages.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-31 09:45:13 +07:00
d1a299b9f5 Fix #1719: sole :when in def-project-mode! 2019-08-29 20:05:34 -04:00
c55676d221 cli/upgrade: add timeout flag
Since there is a lot of logic in `bin/doom upgrade` than just running
two commands, I thought we should also add a timeout flag just like
`update` has.
2019-08-29 17:03:42 -07:00
3a10e948aa Fix #1718: void-function set-fontset-font
Occurs when Emacs is built without X server/GUI support.
2019-08-29 18:52:33 -04:00
9bbc77c2c7 Focus org-capture frame on MacOS 2019-08-29 18:45:20 -04:00
521ff7ac1a lang/org: smarter smartparens in org src blocks
While point is in a babel src block, do not autoexpand emphasis markers.
2019-08-29 15:43:53 +02:00
21883d9700 lang/javascript: fix npm-mode keybinds #1712 2019-08-28 22:41:31 -04:00
aecf3e4e63 Remove unnecessary interactive check in init.el
init.el should never be sourced non-interactively.
2019-08-28 22:08:13 -04:00
19899dac82 Fix inverted condition in package-archives assembly 2019-08-28 22:08:13 -04:00
081f09aac8 Fix 'doom run' #1724 2019-08-28 22:08:13 -04:00
f90cf1f974 Fix +default/org-notes-headlines 2019-08-28 22:08:13 -04:00
b141b4bbd8 Merge pull request #1720 from AloisJanicek/fix-snippets-keybindings
fix function name mismatch in snippets keybindings
2019-08-28 16:49:06 -04:00