memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

hype.org (23848B)


      1 Emacs's NEWS files are useful as a searchable reference, but they can
      2 be overwhelming as an entry point to a new release.  In this file, I'm
      3 keeping track of the changes /I/ am excited about.
      4 * (Cooking)
      5 Not merged yet; still excited about it.
      6 ** UI
      7 *** Cursor
      8 **** ~cursor-indicators-mode~ (bug#77224)
      9 Change cursor style depending on arbitrary predicates.  Might finally
     10 stop me from activating repeat maps by accident.
     11 * 32
     12 ** Applications
     13 *** Man
     14 **** OSC 8 hyperlinks
     15 ** Editing
     16 *** Search & replace
     17 **** =query-replace-show-preview= (bug#81583)
     18 ** Programming
     19 *** Xref
     20 **** ~xref-find-by-kind~, =M-g . 𝒦= (or =M-g M-. 𝒦=)
     21 Implemented for Elisp and Eglot.  Valid =𝒦= (kinds) depend on the
     22 backend; for Eglot, they map to LSP /providers/:
     23 
     24 - =d= :: declaration
     25 - =i= :: implementation
     26 - =t= :: type definition
     27 ** UI
     28 *** Outline
     29 **** ~outline-find-headings~ (bug#81512, bug#81579, bug#81592)
     30 * 31
     31 ** Applications
     32 *** Dired
     33 **** kill project-relative filename
     34 With =C-u 1 w=.
     35 *** grep
     36 **** Editable =*grep*= buffers (bug#70820)
     37 - =e= to start editing
     38 - =C-c C-c= to apply
     39 *** Package manager
     40 **** Review policy for installations & upgrades
     41 ~package-review-policy~ lets users opt in to reviewing diffs when
     42 installing (new versions of) packages.
     43 *** VC
     44 Steadily inching closer to Magit.
     45 **** =C-x v w= prefix for working tree commands
     46 With ~project.el~ integration.
     47 
     48 Particularly fond of =C-x v w w= to explore alternate versions of a
     49 file; ~magit-find-file~ is still convenient for quickly blaming
     50 arbitrary revisions, but visiting an actual checkout allows deploying
     51 the full language server & linter gamut.
     52 **** =C-x v [IOT]= prefixes for DWIM comparisons with upstreams
     53 NB: =I= & =O= prefixes are opt-in with
     54 =vc-use-incoming-outgoing-prefixes=.
     55 
     56 - =I= stands for "incoming" = "what we would pull",
     57 - =O= stands for "outgoing" = "what we would push",
     58 - =T= stands for "topic" = "what we would ask /them/ to merge";
     59   commands in this prefix purport to compare "outstanding" changes
     60   between the current branch and its upstream, assuming we are sitting
     61   on a transient feature branch that will eventually be merged back
     62   into a longer-lived development trunk.
     63 
     64 Each prefix offers === (fileset diff), =D= (root diff) and =L= (root
     65 log).
     66 
     67 For more information about Emacs's understanding of "outstanding
     68 changes", see bug#80006 and [[info:emacs#Outstanding Changes][emacs#Outstanding Changes]].
     69 **** =M-RET=, =M-n= & =M-p= for low-friction Log View movement
     70 Partly self-imposed by the decision to split the commit message in the
     71 log buffer, and the patch in a separate diff buffer; still, nice to
     72 have a set of keys to do both actions at once.
     73 ** Editing
     74 *** DWIM =C-w= (bug#69097)
     75 =kill-region-dwim= tells =C-w= what to do when the region is inactive:
     76 
     77 - By default, kill the region anyway as long it exists, i.e. the mark
     78   is set; in other words, kill the region revealed by =C-x C-x=.
     79 
     80 - Otherwise kill "a word" backward.
     81 
     82 The option can be set to kill either [[info:emacs#Words][an Emacs word]] (major-mode
     83 dependant) or a [[info:readline#Commands For Killing][readline word]] (whitespace-separated).
     84 *** Search & replace
     85 **** Transpose FROM & TO with =M-s t=
     86 ** Elisp
     87 *** So long /pure storage/ 🫡
     88 This release does away with pure space, removing one of these subtle
     89 bits of [[info:elisp#GNU Emacs Internals][{{{eldritch(the Internals)}}}]] that I usually ignore while
     90 noodling in the Lisp Happy Lands of Immediate Feedback, and get
     91 reminded of either when ~make bootstrap~ tuts at my patch, or when a
     92 reviewer does 🫤
     93 
     94 Nice that we no longer need to figure out which strings to ~purecopy~,
     95 that we can always use ~define-key~ and forget about
     96 ~bindings--define-key~, that ~defconst~ no longer causes pure-copying
     97 hazards…
     98 
     99 See [[https://lists.gnu.org/archive/html/help-gnu-emacs/2026-09/msg00116.html][Stefan Monnier's explanations]] for the historical motivations for
    100 pure storage, and why modern circumstances have made these motivations
    101 obsolete.
    102 *** User Lisp directory
    103 I have always envied folks who conscientiously break their init file
    104 down into modular package-like files: at the time of writing, my own
    105 =init.el= is a bit over 1k lines, with a couple of ~require~ clauses
    106 awkwardly tucked in function bodies to avoid bloating startup.
    107 
    108 In this release, Emacs now processes =user-lisp-directory= like a
    109 package (or a collection of packages), complete with autoloads.
    110 Perhaps this feature will help me journey toward the promised land of
    111 modular init files.
    112 ** Programming
    113 *** eglot
    114 **** ~eglot-describe-connection~ and ~eglot-list-connections~
    115 **** ~jsonrpc-events-mode~
    116 New major mode for Eglot's event log buffers, accessed with ~M-x
    117 eglot-events-buffer~ or =e= in the connection list buffer.  =RET=
    118 pretty-prints the event at point with =jq=.
    119 *** lua-mode
    120 Imported from [[https://immerrr.github.io/lua-mode/][the historical thirdparty mode]]; an alternative to the
    121 built-in lua-ts-mode.
    122 
    123 (Unfortunately [[https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=0d3504227a67b56a8d1edc4758c66a05718dbd5a][the VCS history was squashed]], despite [[https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76650#90][efforts]] to
    124 preserve it)
    125 *** tree-sitter
    126 **** Finer sexp movement (bug#73404, bug#76676)
    127 Sexp commands no longer "overshoot" in tree-sitter modes.  For
    128 example, in previous releases, invoking =C-M-f= in c-ts-mode with
    129 point…
    130 
    131 - at the start of a function definition: point would jump to the end
    132   of the function (redundant with =C-M-e=),
    133 - at the start of a statement: point would jump to the end of the
    134   statement (redundant with =M-e=).
    135 
    136 Now:
    137 
    138 - tree-sitter modes can opt into the more familiar "atom"-based
    139   movement - in c-ts-mode, stopping over each identifier or keyword,
    140   still leaping over delimiter pairs (=([{}])=), by defining a =list=
    141   element in =treesit-thing-settings=.
    142 - users can invoke ~treesit-cycle-sexp-type~ to make =C-M= commands
    143   act on "treesit nodes" vs "syntax symbols".
    144 ** UI
    145 *** Completion
    146 **** ~completion-eager-display~
    147 **** ~completion-eager-update~
    148 **** ~completion-pcm-leading-wildcard~
    149 **** ~completion-styles~ bindings
    150 - to set completion-ignore-case
    151 *** Desktop integration
    152 **** ~system-taskbar-mode~
    153 Curious what this thing can achieve.  E.g. I'm already a happy user of
    154 ~compilation-finish-functions~ to send a desktop notification using
    155 ~notifications-notify~; wondering what other information this taskbar
    156 integration can expose.  Also anxious to know whether & how badges
    157 from multiple Emacs instances will share the taskbar space.
    158 *** Help
    159 **** =C-h u= bound to ~apropos-user-option~
    160 *** Hideshow
    161 Lots of quality-of-life improvements mirroring similar enhancements in
    162 =outline.el= from past releases; personally happy about
    163 =hs-cycle-filter=:
    164 
    165 - ≈ =outline-minor-mode-cycle=, in that it allows =TAB= to be the
    166   one-stop binding for toggling visibility;
    167 - more flexible though: either a boolean, or a predicate to control
    168   /where/ the =TAB= key should "hideshow" (vs other actions like
    169   indent).
    170 *** Input
    171 **** =repeat-continue=
    172 Users can tell ~repeat-mode~ that some commands should not interrupt
    173 repeat maps:
    174 
    175 #+begin_src elisp
    176 ;; Allow C-l in the middle of a repeating sequence.  Useful when
    177 ;; e.g. `next-error' shows point at the bottom of the window, and
    178 ;; recentering to the top will show more context that will let me
    179 ;; decide whether to keep searching or not.
    180 (put 'recenter-top-bottom 'repeat-continue t)
    181 #+end_src
    182 
    183 Other ways to set the property:
    184 
    185 - ~use-package~'s =:continue-only= keyword;
    186 - ~defvar-keymap~'s =:continue= keyword.
    187 *** Windows
    188 **** New window layout commands (=window-x.el=)
    189 With bindings under =C-x w=, complete with repeat maps.  Looking
    190 forward to ~flip~ and ~rotate~ and ~transpose~ 🫨
    191 **** =split-window-preferred-direction=
    192 By default, when splits are possible in either direction according to
    193 =split-{height,width}-threshold=, Emacs was biased toward splitting
    194 vertically.  This new option defaults to ='longest=, reducing that
    195 bias by making Emacs consider the window layout: "landscape" windows
    196 (such as a single window in a maximized frame) will be split
    197 horizontally.
    198 ** Honorable mentions
    199 *** ~whitespace-page-delimiters-mode~ for better =^L= display
    200 Emacs's =FORM FEED= display is [[file:../../itches/emacs/form-feed.md][one of my oldest peeve]], so I was
    201 excited to see it addressed.  I do not think I will be using this mode
    202 however; I would have preferred something independent of
    203 ~whitespace-mode~.
    204 * 30
    205 ** =:core= promotions
    206 *** visual-wrap (was adaptive-wrap): soft & mode-sensitive wrap prefixes
    207 This package enhances the way Emacs displays continuation lines.
    208 Unpacking that word salad of a heading:
    209 
    210 - wrap prefixes :: strings that Emacs prepends to continuation lines;
    211 - soft :: these strings are intangible decoration, not actual buffer
    212   content;
    213 - mode-sensitive :: leverages the mode's [[info:emacs#Adaptive Fill][adaptive-fill settings]] to
    214   determine the "proper" prefix, i.e. the same prefix you would get by
    215   hard-wrapping with =M-q=.
    216 *** which-key: key binding discovery (bug#68929)
    217 ** Applications
    218 *** ERC
    219 **** ~visual-line-mode~ integration
    220 In previous versions, I would take =fill= off ~erc-modules~ and enable
    221 ~visual-line-mode~ in order to get reflowable windows; this would [[file:~/memory-leaks/itches/emacs/tracker.org::*+Make timestamps robust vs window width changes+][mess
    222 with right-aligned timestamps]], however.
    223 
    224 As of ERC 5.6, setting ~erc-fill-function~ to ~'erc-fill-wrap~ enables
    225 ~visual-line-mode~ and sets up all sorts of =line-prefix=,
    226 =wrap-prefix= & margin trickery to (a) align nicks and messages (b)
    227 make messages reflowable (c) keep timestamps firmly stuck to the right
    228 margin.
    229 *** shr
    230 **** bug#66676 ~shr-fill-text~
    231 Set to nil to completely disable shr's line-wrapping.  This lets users
    232 leverage ~visual-line-mode~ to get all the benefits of
    233 display-engine-backed wrapping: text is reflowed on the fly as windows
    234 are resized or text is rescaled.
    235 
    236 Tables still use rigid wrapping though; this can be circumvented by
    237 remapping =<table>= tags:
    238 
    239 #+begin_src elisp
    240 (pcase-dolist (`(,tag . ,shr-function)
    241                '((table . shr-tag-div)
    242                  (thead . shr-tag-div)
    243                  (tbody . shr-tag-div)
    244                  (tr    . shr-tag-ul)
    245                  (th    . shr-tag-li)
    246                  (td    . shr-tag-li)))
    247   (setf (alist-get tag shr-external-rendering-functions) shr-function))
    248 #+end_src
    249 
    250 Eww automatically enables ~visual-line-mode~ when it detects that
    251 ~shr-fill-text~ is =nil=; Gnus does not yet, and so requires some
    252 hand-holding to take full-advantage of ~visual-line-mode~:
    253 
    254 #+begin_src elisp
    255 ;; Enable visual-line-mode after rendering an article:
    256 (add-hook 'gnus-article-prepare-hook 'visual-line-mode)
    257 
    258 ;; This is to go e v e n f u r t h e r b e y o n d.
    259 (setopt
    260  ;; Never hard-wrap any lines.
    261  gnus-treat-fill-article          nil
    262  gnus-treat-fill-long-lines       nil
    263  ;; Re-assemble headers into a single line.
    264  gnus-article-unfold-long-headers t
    265  gnus-treat-fold-headers          nil
    266  ;; Unfurl format=flowed emails by "filling" them to an absurd width.
    267  fill-flowed-display-column       most-positive-fixnum
    268  mm-fill-flowed                   t)
    269 #+end_src
    270 
    271 ** Programming
    272 *** imenu
    273 **** bug#70846 imenu-flatten
    274 See also emacs-devel:<m1bk5adq1z.fsf@eshelyaron.com> for follow-up
    275 work to make completions preserve text properties, allowing
    276 ~completing-read~ callers to distinguish multiple candidates with the
    277 same string value.
    278 *** tags
    279 **** ~etags-regen-mode~
    280 Not sure how straightforward it is to set up for complex projects,
    281 e.g. binutils-gdb where ~make TAGS~ generates TAGS files in multiple
    282 subdirectories, and one source file uses symbols from multiple TAGS
    283 files.
    284 
    285 Sounds useful though.
    286 ** UI
    287 *** Completion
    288 **** ~completion-preview-mode~
    289 *** Customization
    290 **** ~customize-toggle-option~
    291 *** Minibuffer
    292 **** ~read-passwd-toggle-visibility~
    293 *** Outline
    294 **** bug#49731 outline-{show,hide}-by-heading-regexp
    295 **** bug#66676 SHR & EWW integration
    296 **** bug#68824 tree-sitter integration
    297 **** bug#69305 buffer-menu & tabulated-list-mode integration
    298 *** Windows
    299 **** ~toggle-window-dedicated~ (=C-x w d=)
    300 Matches my "opportunistic" window "management" perfectly; I generally
    301 do not mind Emacs popping buffers left and right, but on occasion I'll
    302 be…
    303 
    304 - working on window (a),
    305 - about to run a command 𝒳 that shows results in another window,
    306 - having a window (b) displaying notes I want to keep visible,
    307 - having a window (c) I consider disposable,
    308 
    309 But 𝒳 would clobber (b) to display its results.  Being able to
    310 "freeze" (b) and ensure commands in (a) dump their results in (c) is
    311 neat.  =M-: (set-window-dedicated-p nil t)= is a thing I've actually
    312 run on occasion.
    313 
    314 Also, the mode-line indicator has the nice side-effect of making the
    315 behavior of rigid interfaces à la ~gdb-many-windows~ less suprising.
    316 * 29
    317 ** =:core= promotions
    318 A couple of ELPA packages have moved to emacs.git, making them
    319 available out of the box.
    320 *** eglot ("Emacs Polyglot"): LSP client
    321 Lets Emacs leverage language servers to boost completion-at-point,
    322 eldoc, flymake, imenu, project, xref.
    323 *** use-package: init-file management
    324 A utility macro for configuring packages that makes init-file
    325 management more pleasant (and efficient to boot):
    326 
    327 - OT1H, brings some amount of structure and order when compared to a
    328   fully free-form DYI =.emacs=,
    329 - OTOH, allows more leeway on how to organize things, when compared to
    330   Custom's rigid auto-generated forms (e.g. using regular code
    331   comments, computing option values, sorting options arbitrarily),
    332 - takes care of setting up the ~eval-after-load~ wizardry to keep
    333   startup snappy.
    334 
    335 A tedious aspect of porting a ~custom-file~ to ~use-package~
    336 declarations is tracking down what package defines which variables,
    337 since not every variable is named after the package it belongs to.
    338 I wrote [[file:~/memory-leaks/guides/emacs/use-package.org::*Porting from ~custom-file~][some code to make the process faster]].
    339 ** Elisp
    340 *** ~setopt~ sets variables and runs their Custom setters
    341 ** Programming
    342 *** eglot
    343 **** better composition of doc & lint messages
    344 Eglot now sets ~eldoc-documentation-strategy~ to
    345 ~eldoc-documentation-compose~, so linter warnings are no longer hidden
    346 by symbol documentation.
    347 
    348 It used to be that a flymake warning would flash briefly in the echo
    349 area before e.g. a function signature would clobber it and I would
    350 have to resort to ~M-x flymake-show-buffer-diagnostics~, but no
    351 longer: Eglot now sets things up so that both are visible in the echo
    352 area.
    353 *** imenu
    354 **** now bound to =M-g i=
    355 Turns out that lots of modes define an imenu.
    356 *** Languages
    357 *** Python
    358 **** ~python-indent-def-block-scale~
    359 Bumping that new option down to =1= ensures =python.el= and I remain
    360 on good terms whenever I open lines inside parentheses.
    361 ** UI
    362 *** Buffers
    363 **** ~rename-visited-file~
    364 Instead of =C-x C-w NEWNAME RET M-! rm OLDNAME RET=.
    365 *** Fonts
    366 **** ~global-text-scale-adjust~
    367 ~text-scale-adjust~ (bound to =C-x C-X= ∀ =X= ∈ =[=+-0]=) only scales
    368 the font size in the current buffer; more often than not, one may want
    369 to increase the default font size everywhere (e.g. when projecting
    370 their screen).
    371 
    372 To that end, users had to =M-x customize-face RET default= or =M-:=
    373 ~(set-face-attribute 'default nil :height …)~; now they can use the
    374 new =C-x C-M-X= bindings to invoke ~global-text-scale-adjust~.
    375 *** Outline
    376 **** "fold hints" for outlines
    377 ~outline-minor-mode-use-buttons~ can be set to either
    378 
    379 - =in-margins=: magit-section-like indicators,
    380 - =t=: in-buffer buttons.
    381 
    382 Initially the latter used arguably "garish" color emoji; with the
    383 addition of the =icons.el= library, the way these buttons are
    384 displayed can now be controlled with ~icon-preference~, which defaults
    385 to more sober SVG images.
    386 *** Windows
    387 **** ~split-root-window-{below,right}~
    388 E.g. when you already have a vertical split, and you'd like to spawn a
    389 full-height window to the side (instead of splitting either the top or
    390 bottom window horizontally and keeping the other full-width).
    391 
    392 Been missing this in both Emacs and Terminator; glad Emacs now has a
    393 solution.
    394 
    395 Part of the new window keymap on =C-x w=.
    396 ** Honorable mentions
    397 These have me excited too, but I have nits to pick with the current
    398 incarnation.
    399 *** "Pure GTK" Emacs
    400 Some brave souls took it upon themselves to drag Emacs kicking and
    401 screaming into The Wayland Future™: "pure GTK" means that Emacs will
    402 only rely on GTK APIs, instead of a mix of GTK and X.
    403 
    404 Try it out by giving =--with-pgtk= to =./configure=.  One caveat is
    405 that GTK input methods… [[https://debbugs.gnu.org/56653][eat modifiers]] or something?  E.g. =S-SPC=
    406 degrades to =SPC=.  Apparently Emacs users are the only ones to care
    407 about that? 🤷
    408 
    409 Note 1: this problem can be reproduced on the X+GTK build by setting
    410 ~x-gtk-use-native-input~.
    411 
    412 Note 2: debugging notes in [[file:~/memory-leaks/itches/emacs/tracker.org::*bug:56653][this itches tracker entry]].
    413 
    414 Note 3: The Wayland Future™ seems more tolerant of X+GTK builds than I
    415 anticipated, thanks to Xwayland.
    416 *** ~pixel-scroll-precision-mode~
    417 Setting that minor mode with ~pixel-scroll-precision-interpolate-page~
    418 makes =PageUp= and =PageDown= much smoother.  Would love for =M-v= and
    419 =C-v= to use that as well…  Heck, would love for all scrolling,
    420 jumping and recentering commands to use that.
    421 *** Picking completions from the minibuffer
    422 =M-<up>= and =M-<down>= in the minibuffer cycle through completion
    423 candidates.  Would love for these to have non-arrow bindings
    424 (e.g. =C-c C-[pn]= with a repeat map?).
    425 
    426 Unsetting ~minibuffer-completion-auto-choose~ also lets the user
    427 choose when to insert candidates in the minibuffer: =C-u M-RET= to
    428 just insert, or =M-RET= to insert and immediately exit the minibuffer.
    429 *** =C-x 8 e= keymap to search & insert emoji
    430 Less hassle than =C-x 8 RET err what was the name again=, especially
    431 for composed emoji 😵‍💫
    432 
    433 Uses transient 👍 but relies on auto-generated, non-mnemonic =a-z=
    434 suffixes to pick gender/color variations 👎 rather than taking
    435 advantage of transient prefixes (e.g. =-g= for gender and =-s= for
    436 skin tone), which
    437 
    438 1. don't add an unecessary step for the common "ungendered Lego" case,
    439 2. can remember a user's preferred values with ~transient-save~.
    440 
    441 Upstream considers this idea "[[https://yhetil.org/emacs-devel/87ilxfx1ku.fsf@gnus.org/][fraught politically]]" 🤷
    442 
    443 Others agree it would be [[https://yhetil.org/emacs-devel/87r1bx9pwo.fsf@bernoul.li/][nice-to-have, though not must-have]]; maybe
    444 I'll take a stab at implementing it (making it opt-in, keeping the
    445 alphabetical suffixes by default).
    446 * 28
    447 ** Applications
    448 *** Dired
    449 **** ~dired-kill-when-opening-new-dired-buffer~
    450 With this option, =RET= and =^= no longer make Dired buffers pile up 🎉
    451 
    452 Previously, =a= (~dired-find-alternate-file~) could be used instead of
    453 =RET=, but one had to write a custom command for =^=.
    454 *** Gnus
    455 **** =#= now toggles the process mark by default
    456 No need for =M-#= anymore.
    457 ** Editing
    458 *** Transient input methods
    459 **** Background
    460 Input methods make it easier to type in certain classes of characters.
    461 Emacs includes different kinds of methods:
    462 
    463 - alternative keyboard layouts :: if you are familiar with specific
    464   layouts, e.g. Dvorak, French AZERTY, Russian, you can ask Emacs to
    465   switch to this layout;
    466 
    467 - composition :: some methods let you specify characters by typing in
    468   short sequences of other symbols:
    469   - =french-prefix= provides easy access to diacritics with e.g. ='e=
    470     for =é=, =,c= for =ç=;
    471   - =TeX= turns TeX macros such as =\alpha=, =\pi=, =\le=, =\ne=,
    472     =\wedge= into their corresponding characters, i.e. α, π, ≤, ≠, ∧.
    473 
    474 Input methods can be toggled with =C-\=; prefix that with =C-u= to
    475 select a new method.  =C-h I <METHOD>= shows what characters
    476 =<METHOD>= supports.  =C-u C-x == on a character tells you how to
    477 input that character with the current input method ("to input: …").
    478 **** What's new
    479 The new =C-x \= command enables an input method temporarily, just for
    480 the next character, and disables it afterward.
    481 
    482 As an occasional user of the =TeX= method, I find this useful because
    483 I no longer need to choose between
    484 1. enabling =TeX=, typing a sequence, disabling =TeX=, or
    485 2. enabling =TeX=, typing a sequence, keeping =TeX= enabled, getting
    486    bitten by it whenever I type in =oh_no= and that turns into =ohₙo=.
    487 
    488 =C-x \= seems to follow the same rules as =C-\=:
    489 - the first time you call it, it prompts for a method,
    490 - subsequent calls do not prompt,
    491 - add =C-u= to get a prompt back.
    492 *** ~yank-from-kill-ring~
    493 I've always been somewhat ambivalent about Emacs's ~kill-ring~:
    494 
    495 1. Everything I ever copied is saved forever!  This is a revolutionary
    496    feature on par with the undo system 🙌
    497 
    498 2. … Surely we can find a more ergonomic UI than =C-y M-y M-y M-y=
    499    /dammit/ =C-_ C-_= /ah screw it/ =C-h v kill-ring RET C-s= 🤔
    500 
    501 And lo!  =M-y= now prompts for the ~kill-ring~ item to yank, with
    502 completion.  This makes the ~kill-ring~ much more accessible IMO.
    503 ** Elisp
    504 *** New commands for ~describe-{function,variable}~:
    505 - =c= :: for variables, bring up the *Customize* UI,
    506 - =i= :: bring up the relevant *Info* page,
    507 - =s= :: jump to the *source* definition.
    508 *** ~shortdoc-display-group~
    509 Concise reference docs for specific topics.
    510 ** UI
    511 *** Input
    512 **** ~repeat-mode~
    513 =C-x o o o=!
    514 *** Minibuffer
    515 **** ~completions-group~, ~read-char-by-name-sort~
    516 Some very welcome quality-of-life tweaks to =C-x 8 RET=.
    517 **** Vertical icomplete
    518 ***** Settings
    519 - ~completions-detailed~
    520 - ~icomplete-scroll~
    521 - ~icomplete-vertical-mode~
    522 ***** Advantages over plain icomplete
    523 - annotations
    524 - completion candidates are easier to tell apart
    525 - =C-n= and =C-p= (=C-.= is awkward on AZERTY)
    526 ***** Advantages over Ivy and Vertico
    527 - regular minibuffer bindings work:
    528   - =SPC= completes
    529   - =RET= yields current input, disregarding completion candidates
    530   - =C-j= yields selected completion candidate
    531 - regular icomplete bindings work:
    532   - =C-M-i= inserts selected completion candidate
    533 *** Outline
    534 **** ~describe-bindings~ integration
    535 ~describe-bindings-outline~ makes =C-h b='s output less overwhelming.
    536 **** Visibility-cycling with =TAB= in outline.el
    537 =TAB= and =S-TAB= now work in Outline mode like they do in Org.  Look
    538 at e.g. NEWS (=C-h N=) to see them in action.  Customize
    539 ~outline-minor-mode-cycle~ to enable this in ~outline-minor-mode~.
    540 
    541 One small, /tiny/ step toward chipping good features out of Org in
    542 order to generalize them.
    543 *** Tabs
    544 For a long time I did not bother to check out the new tab bar, since I
    545 did not expect to find a way to make tabs work in my rather byzantine
    546 buffer management.
    547 
    548 Then one day I started playing with the =C-x t= prefix on a whim, and
    549 I was surprised by how much mileage I got out of forking off to a new
    550 tab in order to "tuck away" the current window layout.
    551 *** Windows
    552 **** ~same-window-prefix~, ~other-window-prefix~, ~other-frame-prefix~
    553 The rules which govern how Emacs manages windows are beyond my
    554 reckoning.  I know [[https://protesilaos.com/codelog/2020-01-07-emacs-display-buffer/][it is possible to tame them]] with patience and
    555 discipline; still, these new commands appeal to my humble caveman
    556 brain.
    557 
    558 Assuming the command run by key sequence =KEYSEQ= will display its own
    559 buffer =BUF=,
    560 
    561 - =C-x 4 1 KEYSEQ= says "please display =BUF= right here, in this
    562   window";
    563 - =C-x 4 4 KEYSEQ= says "please display =BUF= in another window";
    564 - =C-x 5 5 KEYSEQ= says "please display =BUF= in another frame".
    565 
    566 These new ~other-…-prefix~ commands can be seen as generalizations of
    567 specialized shorthands such as =C-x 4 f= or =C-x 5 b=.
    568 * 27
    569 ** UI
    570 *** Inspection
    571 **** ~what-cursor-show-names~
    572 I sometimes use =C-u C-x == to (re)discover how the Unicode consortium
    573 decided some character should be called; having plain =C-x == give me
    574 that information without popping an extra buffer is neat.