dev: merging from master
This commit is contained in:
commit
8fd4352f8e
23 changed files with 61 additions and 48 deletions
|
@ -208,7 +208,10 @@ list remains lean."
|
|||
(cl-loop with previous = 0
|
||||
with timeout = 30
|
||||
with timer = 0
|
||||
for pending = (+ (length comp-files-queue) (comp-async-runnings))
|
||||
for pending = (+ (length comp-files-queue)
|
||||
(if (functionp 'comp--async-runnings)
|
||||
(comp--async-runnings)
|
||||
(comp-async-runnings)))
|
||||
while (not (zerop pending))
|
||||
if (/= previous pending) do
|
||||
(print! (start "\033[KNatively compiling %d files...\033[1A" pending))
|
||||
|
|
|
@ -1350,7 +1350,7 @@ ARGS are options passed to less. If DOOMPAGER is set, ARGS are ignored."
|
|||
(doom-cli--exit 0 context))
|
||||
|
||||
((let ((tmpfile (doom-cli--output-file 'output context))
|
||||
(coding-system-for-write 'utf-8-auto))
|
||||
(coding-system-for-write 'utf-8))
|
||||
(with-file-modes #o700
|
||||
(make-directory (file-name-directory tmpfile) t))
|
||||
(with-file-modes #o600
|
||||
|
|
|
@ -686,7 +686,7 @@ of 'doom sync' or 'doom gc'."
|
|||
;; defvaralias, which are done because ensuring aliases are created before
|
||||
;; packages are loaded is an unneeded and unhelpful maintenance burden. Emacs
|
||||
;; still aliases them fine regardless.
|
||||
(setq warning-suppress-types '((defvaralias)))
|
||||
(setq warning-suppress-types '((defvaralias) (lexical-binding)))
|
||||
|
||||
;; Reduce debug output unless we've asked for it.
|
||||
(setq debug-on-error init-file-debug
|
||||
|
@ -763,6 +763,12 @@ appropriately against `noninteractive' or the `cli' context."
|
|||
(add-hook! 'doom-before-init-hook :depth -105
|
||||
(defun doom--begin-init-h ()
|
||||
"Begin the startup process."
|
||||
;; HACK: Later versions of Emacs 30 emit warnings about missing
|
||||
;; lexical-bindings directives at the top of loaded files. This is a good
|
||||
;; thing, but it inundates users with unactionable warnings (from old
|
||||
;; packages or internal subdirs.el files), which aren't useful.
|
||||
(setq-default delayed-warnings-list
|
||||
(assq-delete-all 'lexical-binding delayed-warnings-list))
|
||||
(when (doom-context-push 'init)
|
||||
;; HACK: Ensure OS checks are as fast as possible (given their ubiquity).
|
||||
(setq features (cons :system (delq :system features)))
|
||||
|
|
|
@ -468,14 +468,12 @@ will open with point on that line."
|
|||
|
||||
(defun doom--help-package-configs (package)
|
||||
(let ((default-directory doom-emacs-dir))
|
||||
;; TODO Use ripgrep instead
|
||||
(split-string
|
||||
(cdr (doom-call-process
|
||||
"git" "grep" "--no-break" "--no-heading" "--line-number"
|
||||
(format "%s %s\\($\\| \\)"
|
||||
"\\(^;;;###package\\|(after!\\|(use-package!\\)"
|
||||
package)
|
||||
":(exclude)*.org"))
|
||||
"rg" "--no-heading" "--line-number" "--iglob" "!*.org"
|
||||
(format "%s %s($| )"
|
||||
"(^;;;###package|\\(after!|\\(use-package!)"
|
||||
package)))
|
||||
"\n" t)))
|
||||
|
||||
(defvar doom--help-packages-list nil)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
:pin "17cfa1b54800fdef2975c0c0531dad34846a5065")
|
||||
(package! compat
|
||||
:recipe (:host github :repo "emacs-compat/compat")
|
||||
:pin "8d4e8a366681def88751f5e9975738ecd3180deb")
|
||||
:pin "80dbd9bc5efee05a479663f8cfd0cc9e0a30dac5")
|
||||
(package! gcmh
|
||||
:pin "0089f9c3a6d4e9a310d0791cf6fa8f35642ecfd9")
|
||||
|
||||
|
@ -18,10 +18,10 @@
|
|||
:branch ,straight-repository-branch
|
||||
:local-repo "straight.el"
|
||||
:files ("straight*.el"))
|
||||
:pin "b1062df10ba4c10ff7a3c61b9e124b3242b11bb2")
|
||||
:pin "88e574ae75344e39b436f863ef0344135c7b6517")
|
||||
|
||||
;; doom-ui.el
|
||||
(package! nerd-icons :pin "8095215a503d8048739de8b4ea4066598edb8cbb")
|
||||
(package! nerd-icons :pin "4322290303f2e12efd5685a0d22d76ed76ec7349")
|
||||
(package! hide-mode-line :pin "bc5d293576c5e08c29e694078b96a5ed85631942")
|
||||
(package! highlight-numbers :pin "8b4744c7f46c72b1d3d599d4fb75ef8183dee307")
|
||||
(package! rainbow-delimiters :pin "f40ece58df8b2f0fb6c8576b527755a552a5e763")
|
||||
|
@ -32,7 +32,7 @@
|
|||
(package! dtrt-indent :pin "5d1b44f9a1a484ca229cc14f8062609a10ef4891")
|
||||
(package! helpful :pin "a32a5b3d959a7fccf09a71d97b3d7c888ac31c69")
|
||||
(package! pcre2el :pin "380723b2701cceb75c266440fb8db918f3340d50")
|
||||
(package! smartparens :pin "ddc6233ea6fc2da7a3a8e44face465c15631b02b")
|
||||
(package! smartparens :pin "a5c68cac1bea737b482a37aa92de4f6efbf7580b")
|
||||
(package! ws-butler
|
||||
;; Use my fork of ws-butler, which has a few choice improvements and
|
||||
;; optimizations (the original has been abandoned).
|
||||
|
@ -41,8 +41,8 @@
|
|||
|
||||
;; doom-projects.el
|
||||
(package! projectile :pin "0163b335a18af0f077a474d4dc6b36e22b5e3274")
|
||||
(package! project :pin "b6989856abe9411872bdff5c8aa190bef4d86409")
|
||||
(package! project :pin "93aa1872e93a681a44cae03fecb8df4101719897")
|
||||
|
||||
;; doom-keybinds.el
|
||||
(package! general :pin "ced143c30de8e20f5a3761a465e684a1dc48471e")
|
||||
(package! which-key :pin "96911a1d3faf8426a33241f4821319e98421f380")
|
||||
(package! general :pin "826bf2b97a0fb4a34c5eb96ec2b172d682fd548f")
|
||||
(package! which-key :pin "1e89fa000e9ba9549f15ef57abccd118d5f2fe1a")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue