Commit graph

938 commits

Author SHA1 Message Date
Henrik Lissner
10f29bffde
Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00
Henrik Lissner
908bd4b945
Remove FORCE-P argument for doom-cli-reload-autoloads
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
Henrik Lissner
0ac7facea7
Reorganize & rethink help commands
Changes:
- Move <help>da to <help>u & <help>du = lookup docs for an autodef
- Rebind <help>dC = goto private init file (and jump to doom! block)
- Add <help>u & <help>du = lookup docs on an autodef
- Add <help>dl = text search on all packages in load-path
- Add <help>dL = text search on all load el files

New <help>p prefix for package help commands:
- <help>dpc = jump to a config block for a package
- <help>dpd = goto private packages.el file
- <help>dph = open a package's homepage (its repo or on melpa)
- <help>dpp = lookup docs on a package (including Doom info; what
    module(s) install package, where it is configured, etc)
2019-12-29 18:29:09 -05:00
Henrik Lissner
678a5d1f7c
Improve prompts for various help commands
To make it clearer what you're searching for.
2019-12-28 19:57:37 -05:00
Henrik Lissner
b38501a67b
Refactor load-path & loaded-files search commands
Follow up to 0df480bf8
2019-12-28 19:55:44 -05:00
Henrik Lissner
47be32d422
Fail gracefully if no session file is present 2019-12-28 15:46:29 -05:00
Henrik Lissner
fe1642e854
Add special goto def/docs support in doom! blocks
- Pressing gd on a module in your doom! block will now browse that
  module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
  within that module's documenation.
- This is now explained in init.example.el

Closes #2249
2019-12-26 01:41:45 -05:00
Henrik Lissner
adc8cba14b
Revise docstrings & minor reformatting 2019-12-26 01:41:44 -05:00
Henrik Lissner
f04af0b8a2
Bind 'SPC b u' to save current file as root 2019-12-24 14:25:08 -05:00
Henrik Lissner
125561eb03
Refactor package! & package init system
- Reduces `package!`'s side-effects and moves them to
  `doom-initialize-packages`.
- Adds :pin to `package!` for commit pinning (but it hasn't been
  implemented just yet -- needs more testing)!
- Adds `doom-pinned-packages` variable
- Now overrides straight recipes using `straight-override-recipe`
  instead of in-house merging.
2019-12-24 00:02:50 -05:00
Henrik Lissner
ffcc24350c
Add DOOMDIR to 'doom info' 2019-12-23 23:53:27 -05:00
Henrik Lissner
b88ff2a563
Fix s-backspace for non-evil users 2019-12-23 17:21:30 -05:00
Henrik Lissner
59152248e6
bin/doom: fix wrong-type-argument hash-table-p errors #2227
We can't be consulting the active doom state before it has be
initialized.
2019-12-23 14:20:04 -05:00
Henrik Lissner
b144a3862a
Bind 'SPC h d S' to text search; expand ivy/helm file-search API 2019-12-23 01:51:43 -05:00
Henrik Lissner
458cdd5df4
ui/workspaces: remove extra workspaces when restoring sessions 2019-12-22 19:59:22 -05:00
Henrik Lissner
c1879945fd
Replace doom/backward-kill-to-bol-and-indent
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
Henrik Lissner
a49c0b6691
Output feedback from buffer/session kill commands 2019-12-21 03:30:44 -05:00
Henrik Lissner
1cb8ec6302
Fix doom/kill-all-buffers triggering dashboard refresh too soon #2219 2019-12-20 20:46:09 -05:00
Henrik Lissner
6f7bdc801a
Make print! et co always respect standard-output 2019-12-16 17:05:11 -05:00
Henrik Lissner
84252d8962
Fix #2186: irreversible modeline resizing
When adjusting fonts with doom-big-font-mode, or doom/increase-font-size
and doom/decrease-font-size.
2019-12-15 21:56:16 -05:00
Henrik Lissner
c9e9ef528d
Fix doom/reload-env on first-time generation 2019-12-15 21:54:01 -05:00
Henrik Lissner
760dcbb8ea
Warn about reloading env from within Emacs on Windows 2019-12-15 21:53:26 -05:00
Henrik Lissner
cccaa4f9f3
Make doom/reload-env run 'doom env' through user's SHELL 2019-12-15 21:42:56 -05:00
Henrik Lissner
e623fde85a
Fix private & elpa package lists in doom/info
And display errors if something went wrong.
2019-12-14 20:42:40 -05:00
Henrik Lissner
1e6ef4d6e4
Rewrite interactive CLI commands
- Replace doom//upgrade with doom/upgrade
- Replace doom//autoloads with doom/reload-autoloads
- Replace doom//refresh with doom/reload
- Remove doom//install; there should be no workflow for this command
- Remove doom//autoremove; autoremove was replaced with purge. Maybe
  I'll write a doom//purge analogue. Not sure yet.
- Use compile instead of hacky wrapper around core-cli API

Rewrite interactive CLI commands

- Rewrite doom//upgrade & doom//autoloads
- Remove doom//install; there really should be no use-case for it
- Remove doom//autoremove; autoremove was replaced with purge. I'll get
  around to writing a doom//purge eventually.

fixup! Rewrite interactive CLI commands
2019-12-13 16:17:05 -05:00
yuhan0
a30fb6fa59 Fix interactive call of doom/narrow-buffer-indirectly
Optional 3rd arg was removed in f9190c08bf
2019-12-06 18:24:51 +08:00
Henrik Lissner
c13b8df5df
Minor refactors & reformatting 2019-12-05 14:56:16 -05:00
Henrik Lissner
4ced3d3e83
Fix doom/reload #2153 2019-12-04 20:37:59 -05:00
Henrik Lissner
4fed5e7eb3
Fix doom/kill-buried-buffers deleting windows 2019-11-28 19:56:05 -05:00
Henrik Lissner
f6ec3181c8
Fix doom/reload-autoloads 2019-11-25 16:34:56 -05:00
Henrik Lissner
ffc29a547c
Associate clojurescript-mode with :lang clojure
For doom/help-modules
2019-11-24 19:39:10 -05:00
Henrik Lissner
5b190c9eca
Unfold hidden subtree after doom-completing-read-org-headings
Affects doom/help* commands, as well as +default/org-notes-headlines,
and others (any command that uses doom-completing-read-org-headings to
search org files).
2019-11-24 19:21:20 -05:00
Henrik Lissner
a9f412bf5e
Fix doom/help-* commands for helm users #2107 2019-11-24 16:50:46 -05:00
Henrik Lissner
ebe1da4282
doom-module-from-path: exclude psuedo-modules #2107
Don't include :core and :private modules in '<help> d m'. They aren't
real and no help can be derived from them.
2019-11-23 15:01:34 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Henrik Lissner
e7019e4163
Fix custom-set-*-faces! macros in Emacs 27
custom--inhibit-theme-enable is non-nil by default in Emacs 27, which
inhibits uses of `custom-theme-set-faces` when modifying any theme other
than 'user.
2019-11-22 16:24:19 -05:00
Henrik Lissner
fcbd91fc0d
Fix custom-set-theme-faces! applying only to 'user 2019-11-22 13:17:10 -05:00
Henrik Lissner
2dc50f49fc
Fix #1500: rewrite font size adjustment commands 2019-11-22 00:39:55 -05:00
Henrik Lissner
441fc5115c
Don't load user's init.el in sandbox sessions
For 'C-c C-p' and 'C-c C-d', specifically.
2019-11-21 21:55:48 -05:00
Henrik Lissner
db19241936
Use gcmh package to manage adjust GC interactively 2019-11-21 14:46:45 -05:00
Henrik Lissner
6f63a28c8f
Require straight on doom//* commands 2019-11-21 14:24:20 -05:00
Henrik Lissner
cfe501fab0
Fix doom//*... again 2019-11-21 14:10:48 -05:00
Henrik Lissner
643c7b0f18
Fix doom//* commands
Hopefully
2019-11-21 00:35:50 -05:00
Henrik Lissner
abe9239088
Simplify doom/report-bug 2019-11-17 21:09:06 -05:00
Henrik Lissner
fa1a19a1f0
core: minor refactor & reformatting 2019-11-17 16:48:26 -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
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
b9e5059e3f
Ensure only one window after doom/kill-all-buffers 2019-11-15 22:17:30 -05: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
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