Commit graph

1014 commits

Author SHA1 Message Date
Henrik Lissner
fee7a645c0
Inherit from pre-existing recipe when updating :pin 2020-01-15 00:50:27 -05:00
Henrik Lissner
2fd7ede0d8
Emit error on update-pinned-package if not in a package! call 2020-01-15 00:48:57 -05:00
Henrik Lissner
b7e81bc042
Add doom/update-pinned-package-declaration command
This may be renamed later, or rewritten to jump to the user's
`packages.el` and entering it there. Or something. For now it's useful
for its niche.
2020-01-14 21:46:38 -05:00
Henrik Lissner
4161014cfc
doom/toggle-debug-mode: toggle garbage-collection-messages 2020-01-14 19:25:24 -05:00
Henrik Lissner
e7de8118ce
Fix #1706: Make doom-big-font-mode affect all frames 2020-01-13 01:08:49 -05:00
Henrik Lissner
1018dea7b7
Fix wrong-type-arg stringp t from doom/move-this-file 2020-01-12 02:20:12 -05:00
Henrik Lissner
51bb3a2b35
Fix #2357: C-a moves across lines 2020-01-12 02:09:25 -05:00
Henrik Lissner
0c9f1b1a9c
Minor refactors & comment revision 2020-01-11 17:27:04 -05:00
Henrik Lissner
29250133e8
Replace doom/describe-symbol w/ helpful-symbol
And helpful-at-point.
2020-01-11 17:21:35 -05:00
Henrik Lissner
18301b0b9a
Merge pull request #2344 from RBckmnn/SudoThisFile
Make sudo-this-file usable in dired-buffers
2020-01-10 05:59:54 -05:00
Henrik Lissner
59a6cb72be
Fix maximize/enlargen commands around dedicated windows #2337 2020-01-09 22:56:26 -05:00
Ralf Beckmann
6d0e60a024 Make sudo-this-file usable in dired-buffers 2020-01-09 08:34:41 +01:00
Henrik Lissner
aad7961647
Fix #2258: update for new and old repo, and only if they are repos 2020-01-06 23:39:46 -05:00
Henrik Lissner
a52909f5df
Toggle {magit-refresh,use-package}-verbose on debug mode 2020-01-06 23:27:21 -05:00
Henrik Lissner
1c237106aa
Don't pollute module help warnings with text props 2020-01-04 17:12:49 -05:00
Henrik Lissner
13be4fa178
Fix doom/sudo-save-buffer
Trying to open a buffer named after the filename, rather than opening
the file and returning a buffer.
2020-01-04 04:57:58 -05:00
Henrik Lissner
e0b8b4f190
Fix set-pretty-symbols! not merging properties w/ old rules
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
Henrik Lissner
63d42c97bc
Pass POS to sp-point-in-string
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
Henrik Lissner
5495922a20
Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -05:00
Henrik Lissner
8ff15c2aeb
Optimize doom-point-in-*-p functions
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00
Henrik Lissner
8857dc1a5e
Add doom-point-in-{comment,string}-functions
Fixes #2297
2020-01-03 02:40:50 -05:00
Henrik Lissner
27bf3c85b5
Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
Henrik Lissner
2ef0ed90a4
Fix C-a/C-e #1802
Fixes two issues:
1. Where C-e would throw the cursor somewhere on another line (or at
   BOF).
2. Fixes #1802; where the cursor would stop a character shy of true
   end-of-text.
2020-01-01 21:19:21 -05:00
Henrik Lissner
f0e05c1a44
Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
Henrik Lissner
6f951229ec
Add & revise comments
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
Henrik Lissner
960d756b47
General, minor refactors 2019-12-30 18:23:56 -05:00
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