Commit Graph

4540 Commits

Author SHA1 Message Date
9c594d3f42 delete-by-moving-to-trash = t on macOS 2020-01-09 22:56:26 -05:00
b89992624b Move :tools fly{check,spell} to :checkers {syntax,spell}
These modules were renamed so we can later generalize their
implementations, such as adding flymake support to the syntax checker.
2020-01-09 22:56:26 -05:00
44fb8ab594 undo-tree-enable-undo-in-region = t 2020-01-09 03:40:02 -05:00
f6852a2c9f Add --discard switch to 'doom upgrade' #2224
Also rewrites straight prompt-in-batch-Emacs hack, and move it to
core-cli.el.
2020-01-09 03:36:00 -05:00
15f2245b10 Install undo-tree 0.7.1 from emacs-straight/undo-tree
I re-enable history persistence, now that it has been fixed.

Also, I install it from the emacs-straight/undo-tree mirror, which is
fast and reliable.

Closes #2339, #2334
2020-01-09 03:09:06 -05:00
6d0e60a024 Make sudo-this-file usable in dired-buffers 2020-01-09 08:34:41 +01:00
b7dc9c644e Don't use find if find can't be found 2020-01-08 22:09:42 -05:00
309e322037 Add (Recommended) after certain straight prompts
When a package's worktree is dirty (or its recipe was changed), straight
prompts you with options to deal with it. To make it easier for less git
savvy folks, the recommended option has been marked.
2020-01-08 22:07:34 -05:00
dc22815227 Fix #2234 (temporarily)
Due to breaking changes in undo-tree.
2020-01-08 00:47:18 -05:00
aad7961647 Fix #2258: update for new and old repo, and only if they are repos 2020-01-06 23:39:46 -05:00
a52909f5df Toggle {magit-refresh,use-package}-verbose on debug mode 2020-01-06 23:27:21 -05:00
0d43159607 Disable ns-auto-titlebar & xclip properly on other OSes 2020-01-06 15:08:15 -05:00
36e73aedb6 Disable xclip-mode on windows 2020-01-06 15:06:28 -05:00
09f7db43be Be explicit about fc-list when listing fonts 2020-01-06 14:22:18 +08:00
4f7217719a Merge pull request #2301 from wnikola/patch-1
Fix typo in env.el
2020-01-05 20:10:32 -05:00
5862c4e4d8 Merge pull request #2311 from rubas/patch-1
Typo pnned -> pinned
2020-01-05 20:08:29 -05:00
fe57256d6b Minor refactors; reduce sp-max-prefix-length 2020-01-05 19:58:59 -05:00
326035199b Typo 2020-01-05 12:52:14 +01:00
f26b148b2b Use my fork of ws-butler 2020-01-04 18:11:10 -05:00
cf04a44ca7 Refactor comment/string check in autoloads generator 2020-01-04 17:13:05 -05:00
1c237106aa Don't pollute module help warnings with text props 2020-01-04 17:12:49 -05:00
8c7aaa6468 scroll-conservatively = 101 #2217 2020-01-04 17:12:09 -05:00
ae5cf1889b Move custom-file to {doom-local-dir}/custom.el 2020-01-04 17:10:56 -05:00
a2eee97c9d undo-tree-{visualizer,auto-save-history} = t 2020-01-04 16:26:28 -05:00
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
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
f9b3ad2bb1 Fix typo in env.el 2020-01-03 21:42:14 +01:00
11676b0153 Fix #2299: void-function sp-point-in-string during 'doom refresh'
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
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
5495922a20 Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -05:00
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
8857dc1a5e Add doom-point-in-{comment,string}-functions
Fixes #2297
2020-01-03 02:40:50 -05:00
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
da8bce53bc Enable smartparens-mode during pp-eval-expression 2020-01-03 00:21:01 +08:00
4d64021980 Merge pull request #2270 from facelesspanda/patch-1
docs/core: fix typo in `featurep!` docstring
2020-01-02 00:04:39 -05:00
f78f71a74c Minor refactors & comment revision 2020-01-01 23:52:02 -05:00
fd6def4d5a Fix letenv! macro
It didn't work due to over-aggressive quoting of the let-vars.
2020-01-01 23:48:36 -05:00
8f5977d9b8 Fix #2282: save-interprogram-paste-before-kill = nil
Seems more problematic than helpful to manipulate Emacs' kill-ring more
than we have to.
2020-01-01 21:24:06 -05:00
29773baa55 Add 'doom sync' as an alias for 'doom refresh'
'sync' more accurately describes the purpose of the command. 'refresh'
is now soft-deprecated; but I will phase it out of the documentation
and promote 'sync' instead, but it won't be removed.
2020-01-01 21:19:21 -05:00
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
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
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
7a348f8784 Refactor how we indent straight's progress output
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
4f676bd218 Refactor autoload generator bootstrappers 2020-01-01 13:31:40 -05:00
4a53f0818d Don't insert autoloads literally #2281
It causes encoding issues.
2020-01-01 03:02:05 -05:00
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
6f951229ec Add & revise comments
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
b592e58c97 Fix warning when disabling core packages 2019-12-31 14:10:52 -05:00
a5fc782e76 cli/upgrade: fix wrong-type-arg string force file error #2277
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00