diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-12-30 23:41:30 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-12-30 23:41:30 +0100 |
| commit | bde4d532041c213835085a259cab0ee25bb8edfb (patch) | |
| tree | 3b5c19817f9617c532f10cfa2db8b4759f6231c3 /reviews/emacs | |
| parent | d0e7efb170b78a82e9752904831bbcc724882e32 (diff) | |
| download | memory-leaks-bde4d532041c213835085a259cab0ee25bb8edfb.tar.xz | |
Add notes on use-package
Diffstat (limited to 'reviews/emacs')
| -rw-r--r-- | reviews/emacs/hype.org | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/reviews/emacs/hype.org b/reviews/emacs/hype.org index 03a54cc..42e9b6a 100644 --- a/reviews/emacs/hype.org +++ b/reviews/emacs/hype.org @@ -5,20 +5,25 @@ the changes /I/ am excited about. ** =:core= promotions A couple of ELPA packages have moved to emacs.git, making them available out of the box. - -- eglot ("Emacs Polyglot") :: an LSP client that lets Emacs leverage - language servers to boost completion-at-point, eldoc, flymake, - imenu, project, xref. - -- use-package :: a utility macro for configuring packages that makes - init-file management more pleasant (and efficient to boot): - - OT1H, brings some amount of structure and order when compared to a - fully free-form DYI =.emacs=, - - OTOH, allows more leeway on how to organize things, when compared - to Custom's rigid auto-generated forms (e.g. using regular code - comments, computing option values), - - takes care of setting up the ~eval-after-load~ wizardry to keep - startup snappy. +*** eglot ("Emacs Polyglot"): LSP client +Lets Emacs leverage language servers to boost completion-at-point, +eldoc, flymake, imenu, project, xref. +*** use-package: init-file management +A utility macro for configuring packages that makes init-file +management more pleasant (and efficient to boot): + +- OT1H, brings some amount of structure and order when compared to a + fully free-form DYI =.emacs=, +- OTOH, allows more leeway on how to organize things, when compared to + Custom's rigid auto-generated forms (e.g. using regular code + comments, computing option values, sorting options arbitrarily), +- takes care of setting up the ~eval-after-load~ wizardry to keep + startup snappy. + +A tedious aspect of porting a ~custom-file~ to ~use-package~ +declarations is tracking down what package defines which variables, +since not every variable is named after the package it belongs to. +I wrote [[file:~/memory-leaks/guides/emacs/use-package.org::*Porting from ~custom-file~][some code to make the process faster]]. ** ~global-text-scale-adjust~ ~text-scale-adjust~ (bound to =C-x C-X= ∀ =X= ∈ =[=+-0]=) only scales the font size in the current buffer; more often than not, one may want |
