Commit graph

1204 commits

Author SHA1 Message Date
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
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