Commit Graph

1008 Commits

Author SHA1 Message Date
ba8892d7e9 Fix #3004: stale root cache on project search 2020-04-30 19:02:20 -04:00
d12752324a Introduce letf! convenience macro
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
c1127a5bde Rewrite move/copy/delete file commands
To use rename-file, copy-file and delete-file, so these commands can
enjoy the benefits of any plugins that have advised these, like org-roam
does for rename-file.
2020-04-27 01:51:18 -04:00
08d0eae595 Merge pull request #2925 from rushsteve1/develop
doom/upgrade use -y CLI flag
2020-04-24 00:11:48 -04:00
06d5d5e6c0 General refactors, reformatting & comment revision 2020-04-23 23:56:17 -04:00
2d766cfa0c Remove :lang assembly
This module is too trivial, and provides nothing that the user couldn't
install themselves.
2020-04-23 23:28:50 -04:00
5c340a670c doom/upgrade use -y CLI flag
When using the internal doom/upgrade command to upgrade using the CLI
tool, do so with the -y flag.

This is admittedly a temporary solution, but without it the CLI tool
will prompt for confirmation, which cannot easily or obviously be given
while inside Emacs.
A better solution would be to somehow integrate the prompt so that it
appears in the minibuffer as normal Emacs prompts do. But for now this
at least fixes doom/upgrade.
2020-04-17 13:16:53 -04:00
778652bfd6 Fix void-function doom-try-hook
This snuck into a recent commit, but the function hasn't been renamed
yet.
2020-04-17 03:20:38 -04:00
b78c862e98 Refactor compile macro in doom/reload-* commands 2020-04-14 19:49:20 -04:00
93ff95c06e Refactor sudo commands 2020-04-14 19:13:56 -04:00
61b3cd8818 Fix doom/sudo-save-buffer not writing changes 2020-04-14 19:12:52 -04:00
8f3045b147 Load incrementally deferred packages on doom/reload 2020-04-14 01:47:20 -04:00
b78fc4eb76 Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
8f685a3c31 Fix #2756: make C-a/C-e truly shift-select aware 2020-03-28 00:41:04 -04:00
be257140b4 Merge pull request #2782 from vqhuy/security
Fix TLS error caused by #2763
2020-03-27 21:27:12 -04:00
9709d257d9 Fix TLS error caused by #2763
Check whether the current gnutls library supports tls1.3
Add more tests for `doom/am-i-secure`
2020-03-28 02:24:12 +01:00
f4ff7fda38 Fix #2756: inhibited shift-selection on C-a/C-e 2020-03-27 03:03:37 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
2c2df9df8c Fix & extend doom/help-packages
+ It would display Doom's commit, rather than the package's
+ Add Homepage link
+ Fix module lists for packages that aren't installed
2020-03-13 17:33:40 -04:00
dd402b7db3 Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
8f68237e8b Don't pretty-print doom/info's packages section
Your doom/info should be a compact summary of your config. Pretty
printing the packages listing vertically consumed too much space.
2020-03-10 23:54:07 -04:00
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