Commit Graph

987 Commits

Author SHA1 Message Date
fb8d96f1cb Preserve cursor+window position, rather than recenter
After n/N or */# searches with evil.
2020-03-06 16:36:35 -05:00
f8a69464d0 Remove smartparens dependency for doom/info 2020-03-03 16:15:43 -05:00
79e5a27fab Prefix arg = don't restore last scratch buffer 2020-03-03 12:44:33 -05:00
bbd1561a3c Make doom-real-buffer-p work for indirect buffers 2020-03-01 01:33:40 -05:00
e54ebcbff5 Fix #2607: void-variable doom-scratch-initial-major-mode error
And fix "selected deleted buffer" error caused by aggressive
window-configuration-change-hook function.
2020-02-26 09:46:50 -05:00
9fa76836c1 Persist scratch buffer point, mode & contents
Also renames doom-scratch-buffer-major-mode ->
doom-scratch-initial-major-mode, since it only affects the initial
buffer now.

This was designed to be backwards compatible; you won't lose your
scratch buffers from this update. Though I may remove the old format in
3.1.
2020-02-25 20:30:23 -05:00
da3e24e686 Preserve cursor position for scratch buffer
Not across restarts, but across toggles of the scratch popup.
2020-02-25 18:11:13 -05:00
b30f38ac06 Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
65a71d5647 Link to doom-real-buffer-p in other real buffer functions
To make the explanation easier to find.
2020-02-22 18:31:10 -05:00
8a7763337d doom refresh -> doom sync
refresh isn't going anywhere, but sync will be the canonical command
here on out, because it is more appropriate for kind of work it will be
doing in the future.
2020-02-19 23:34:16 -05:00
1910453e29 The byte-compiler ate my baby 2020-02-06 16:55:27 -05:00
77e58609d4 doom/update-pinned-package-form: improve error feedback 2020-02-06 15:27:03 -05:00
1cacfcf962 Fix #2479 2020-02-03 13:01:46 -05:00
04d14bcba9 Minor refactors & comment correction 2020-02-02 16:03:34 -05:00
4a5cf04761 General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
ede5beed7a Change doom-plist-delete to delete N props 2020-01-30 16:58:49 -05:00
097972bd9d Refactor package pinning
- Make doom/info package details more concise
- Removed doom-pinned-packages variable (pin info now stored in
  doom-packages metadata)
- Fix unpin! not actually unpinning some packages
2020-01-28 20:47:45 -05:00
dadd54604b Refactor package update logic
Still needs more work.
2020-01-26 21:21:06 -05:00
871201dad6 Minor doc/comment revision & fixes 2020-01-26 01:31:53 -05:00
57f550bc85 Rename & change doom/update-pinned-package-declaration
+ Now named doom/update-pinned-package-form
+ If passed the prefix arg, the command now prompts for a remote commit
  to use.
2020-01-25 19:02:01 -05:00
f600605de3 Add "unpin" section to doom/info
Important when debugging potential upstream issues.
2020-01-25 19:02:01 -05:00
d39961b30d Replace doom/help-package-homepage w/ straight-visit-package-website
No need to reinvent the wheel.
2020-01-24 22:19:00 -05:00
14fc65a9fb Remove nconcq! macro
Unused and unnecessary.
2020-01-24 18:14:17 -05:00
fee7a645c0 Inherit from pre-existing recipe when updating :pin 2020-01-15 00:50:27 -05:00
2fd7ede0d8 Emit error on update-pinned-package if not in a package! call 2020-01-15 00:48:57 -05:00
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
4161014cfc doom/toggle-debug-mode: toggle garbage-collection-messages 2020-01-14 19:25:24 -05:00
e7de8118ce Fix #1706: Make doom-big-font-mode affect all frames 2020-01-13 01:08:49 -05:00
1018dea7b7 Fix wrong-type-arg stringp t from doom/move-this-file 2020-01-12 02:20:12 -05:00
51bb3a2b35 Fix #2357: C-a moves across lines 2020-01-12 02:09:25 -05:00
0c9f1b1a9c Minor refactors & comment revision 2020-01-11 17:27:04 -05:00
29250133e8 Replace doom/describe-symbol w/ helpful-symbol
And helpful-at-point.
2020-01-11 17:21:35 -05:00
18301b0b9a Merge pull request #2344 from RBckmnn/SudoThisFile
Make sudo-this-file usable in dired-buffers
2020-01-10 05:59:54 -05:00
59a6cb72be Fix maximize/enlargen commands around dedicated windows #2337 2020-01-09 22:56:26 -05:00
6d0e60a024 Make sudo-this-file usable in dired-buffers 2020-01-09 08:34:41 +01: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
1c237106aa Don't pollute module help warnings with text props 2020-01-04 17:12:49 -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
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
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
6f951229ec Add & revise comments
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
10f29bffde Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00