Henrik Lissner
6387f26a5d
ui/modeline: mention "cut off modeline" issue in readme
...
Plus workarounds.
2020-05-25 15:55:29 -04:00
Henrik Lissner
e6c88e4384
Refactor autoloads generator & reduce to one generated file
...
We no longer need two separate autoloads files, so I merged them and
optimized its generation logic.
Other changes
- Doom will refuse to start up (with a helpful error) if it's in an
incomplete state. This should hopefully reduce the number of bug
reports from folks that have done something weird, e.g.
1. You've changed Emacs versions without running 'doom sync -b'.
2. You've updated Doom outside of `doom upgrade` and didn't run `doom
sync -u`.
3. You've forgotten to run 'doom sync' in the first place!
4. If a previous 'doom ...' command was aborted midway without running
'doom sync' afterwards.
- 'doom sync' will emit reminders that you need to reload/restart Emacs
- Autoloads API now uses the `doom-autoloads-` prefix, intead of
'doom-cli-autoloads-', as will be the new convention in the coming
rewrite.
- Errors from within the package autoloads should be easier to invoke
the debugger on.
- `doom-modules` is now stored in your autoloads file. Your module list
will soon be frozen between calls to 'doom sync' to allow for our new,
atomic CLI I'm working on. This will also means the `doom!` block
won't cost anything in interactive sessions.
2020-05-25 15:55:29 -04:00
Henrik Lissner
be889d09e8
Rename doom-format lib -> doom-output
...
`format` isn't an appropriate for this library, considering it (and
future additions to it) will be mainly concerned with printing or
capturing output.
2020-05-25 15:55:29 -04:00
Henrik Lissner
a706c3527b
Simplify test/shell.nix
...
And merge shell.head.nix into it. A different version can be passed in
as an --arg
2020-05-25 15:55:29 -04:00
Henrik Lissner
ccd1764acb
Remove 'doom sync' from shell.nix
...
Let user decide what they want to do upon starting the shell. We
accommodate the user that wants simple access to Emacs 26/27/HEAD.
2020-05-25 15:55:28 -04:00
Henrik Lissner
cc5f498586
Add magic cli.el in modules & refactor module init
...
Doom now looks for cli.el files in your private directory or modules,
giving them an opportunity to customize the CLI (add commands or
reconfigure existing ones) to suit their purposes.
2020-05-25 15:55:28 -04:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
...
Because these are not really modes.
Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
4f46140226
Bump :lang emacs-lisp
...
jorgenschaefer/emacs-buttercup@532d082 -> jorgenschaefer/emacs-buttercup@e71a40f
2020-05-25 03:43:40 -04:00
Henrik Lissner
ada4110730
Refactor :lang emacs-lisp
2020-05-25 03:43:40 -04:00
Henrik Lissner
7ca20f158b
Resolve mu4e-attachment-dir from mu4e-root-maildir
...
Closes #3133
2020-05-25 03:43:40 -04:00
Henrik Lissner
b625a54db6
Add -v switch to dired-listing-switches (for GNU ls)
...
Natural sorting of ls file list (when it comes to numbers/versions in
file names).
2020-05-25 03:43:40 -04:00
Henrik Lissner
c690ed600a
lang/swift: add pair rule for string interpolation
2020-05-25 03:43:40 -04:00
Henrik Lissner
0252f4f36f
Refactor :ui modeline +light
2020-05-25 03:43:40 -04:00
Henrik Lissner
e00bfc7612
Minor refactors & reformatting
2020-05-25 03:43:40 -04:00
Henrik Lissner
3e5cf3de09
Simplify gcmh config
...
We don't need to manipulate gc-cons-percentage. The GC never procs at
startup either way.
2020-05-25 02:10:07 -04:00
Henrik Lissner
09c6e99e23
Fix 'Cannot get this file-path' when bumping in babel edit buffers
...
Break glass in case of literate configs.
2020-05-25 01:19:03 -04:00
Henrik Lissner
6a8e990459
Fix wrong-number-of-args error on doom-init-theme-h
...
And silence byte-compiler warning for unused lexical argument.
2020-05-25 00:01:52 -04:00
Antoine Martin
3572af0947
Add missing modules to docs/modules.org ( #3169 )
...
* Add missing :lang modules to docs
* Sort :lang modules doc alphabetically
* Add missing :tools modules to docs
* Add missing :ui modules to docs
* Add TODOs to module entries missing short desc
2020-05-24 22:55:42 -04:00
Marty Buchaus
ef9d9a89d0
Add Tree Subtree function to bindings ( #3043 )
2020-05-24 22:54:37 -04:00
Henrik Lissner
088d0d14ea
Merge pull request #3177 from otavioschwanck/feature/better-rake
...
use default search on rake tasks on :ruby lang
2020-05-24 22:53:38 -04:00
Henrik Lissner
9ea05c4dfb
Merge pull request #3180 from otavioschwanck/feature/better-popup-rspec
...
better popup for rspec
2020-05-24 22:52:25 -04:00
Henrik Lissner
e1040095b5
Merge pull request #3183 from marcus-crane/update-org-roam-links
...
Update org-roam hyperlinks in org/README.org
2020-05-24 22:52:03 -04:00
Henrik Lissner
121710f779
Merge pull request #3196 from howsiwei/develop
...
lang/org: Support option in custom org links
2020-05-24 22:51:47 -04:00
Henrik Lissner
3f5600a2e8
Merge pull request #3207 from paulapatience/bugfix/lang-typo
...
lang/common-lisp: fix typo
2020-05-24 22:51:21 -04:00
Henrik Lissner
11ce7cdaf2
Merge pull request #3210 from panchoh/develop
...
Fix inaccuracy in markdown docs
2020-05-24 22:50:41 -04:00
Henrik Lissner
ec1c6291ac
Merge pull request #3198 from cxb811201/patch-1
...
Bump :core
2020-05-24 22:50:18 -04:00
Henrik Lissner
a9316525c4
Backport variadic setq-local from Emacs 27
2020-05-24 16:45:55 -04:00
Henrik Lissner
830e1289aa
Bind SPC g G -> magit-status-here
...
And recenter after invoking it.
2020-05-24 16:32:19 -04:00
Henrik Lissner
d8fda76c7d
yas-also-auto-indent-first-line = nil
...
Stop yasnippet from aggressively reindenting the whole snippet; assume
the user is expanding the snippet exactly where they want it.
Half-fixes #3211
2020-05-24 14:29:41 -04:00
wedens
66c4317fa2
prevent doom-capture frame from closing when refiling
2020-05-24 23:29:35 +07:00
pancho horrillo
2839afc262
Update list of markdown-compile-* in markdown doc
2020-05-24 08:22:01 +02:00
pancho horrillo
ee8338045e
Update bound keys in markdown doc
...
`markdown-preview` is bound to <localleader> p, not to <localleader> b.
Also, express mapping using <localleader> instead of `SPC m` or `C-c l`.
2020-05-24 07:17:25 +02:00
Sean Escriva
23efc4a782
Add README for emacs/vc module
2020-05-23 16:59:12 -04:00
Paul A. Patience
2eb8f7f7b8
lang/common-lisp: fix typo
2020-05-23 15:38:22 -04:00
Mike Chen
2cfff96437
Bump :core
...
raxod502/straight.el@f606bfa -> raxod502/straight.el@846956e
jwiegley/use-package@c873d55 > jwiegley/use-package@d2640fe
bbatsov/projectile@768f057 > bbatsov/projectile@5103cfc
noctuid/general.el@42e3803 > noctuid/general.el@a0b17d2
2020-05-22 23:58:00 +08:00
How Si Wei
88903551c0
lang/org: Support option in custom org links
2020-05-22 22:40:28 +08:00
Henrik Lissner
a262527a7f
Fix load-theme not disabling old themes in Emacs 26
...
In Emacs 26, the old themes must be disabled *before* the new one is
loaded, otherwise it will fail to do so. In 27+ this isn't necessary,
and it's preferred that we do it after the theme loads, so we can be
absolutely sure the theme was successfully enabled, before we disable
the others!
2020-05-21 04:33:39 -04:00
Henrik Lissner
c4e8aa0baa
Bump :tools lsp
...
emacs-lsp/lsp-mode@9305777 -> emacs-lsp/lsp-mode@81d62d5
Which includes a fix for emacs-lsp/lsp-mode#1705
2020-05-21 02:01:13 -04:00
Henrik Lissner
93d188e6bc
Resolve magit-git-executable to absolute path
...
For minor performance gain for macOS/Windows users. Shouldn't make a
difference on Linux.
2020-05-21 01:31:51 -04:00
Henrik Lissner
090a68ab8f
Add +format-with-lsp variable
...
To control whether or not to use LSP code formatter when it is
available.
2020-05-21 01:20:00 -04:00
Henrik Lissner
885197bd06
Fix "Cannot determine magit's version" logs on Windows
...
Magit complains loudly (but harmlessly) when it can't determine its own
version in a sparse clone. This was fixed upstream in
magit/magit@b1b2683 for unix OSes, but not for Windows where symlinks
aren't supported, and so `magit-version` can't resolve its own repo's
root (see raxod502/straight.el#520 ).
2020-05-20 16:08:52 -04:00
Henrik Lissner
dd0da922a3
{menu,tool,scroll}-bar-mode = nil
...
See comments.
2020-05-20 15:40:39 -04:00
Henrik Lissner
196490c772
Improve UX & output of doom/bump-* commands
2020-05-20 15:33:55 -04:00
Henrik Lissner
35b99fb272
Add fn! macro
...
For cl-function version of lambda, for implicit destructuring of
arguments.
2020-05-20 15:33:55 -04:00
Otávio Schwanck
0b94bbb4e4
move rspec popup to :config
2020-05-20 10:20:55 -03:00
Marcus Crane
f75fdc6890
Update org-roam hyperlinks
2020-05-20 22:47:39 +12:00
Henrik Lissner
4c61f22132
Fix #3175 : don't format org-exported buffers
...
By inhibiting the formatter in temp or special buffers.
2020-05-20 04:46:37 -04:00
Henrik Lissner
5472d46426
Bump :ui modeline
...
seagle0128/doom-modeline@c177959 -> seagle0128/doom-modeline@2b30885
emacsorphanage/anzu@3e34fb3 -> emacsorphanage/anzu@7b8688c
emacsorphanage/evil-anzu@9bca6ca -> emacsorphanage/evil-anzu@d3f6ed4
Fixes the anzu number-of-matches display in the modeline for isearch,
iedit, evil-search, and evil-substitution. This was caused by changes
upstream.
2020-05-20 04:46:37 -04:00
Otávio Schwanck
412e515020
better popup for rspec
2020-05-20 02:21:04 -03:00
Henrik Lissner
94fc6f714f
Bump :tools magit
...
magit/magit@d27d6e4 -> magit/magit@b1b2683
magit/forge@e2da806 -> magit/forge@09bf8ad
We no longer need the magit version hack, thanks to magit/magit@b1b2683
2020-05-20 01:10:15 -04:00