In a gui emacs, you can change the default font size with m-x set- frame-font,… mastodon / lispwizard@techhub.social ---------------------------------------------------------------------- lispwizard · 2026-09-28 12:24 In a gui emacs, you can change the default font size with m-x set- frame-font, followed by m-n (to yank in the current default), followed by c-s -nn (to search for the part of the font spec with the size nn [you substitute the real numbers for nn]), followed by (to end the search), followed by m-- m-d (to delete the old size), followed by typing in the new size and finally followed by .#emacs #tidbit ---------------------------------------------------------------------- lispwizard · 2026-09-29 16:14 #emacs #tidbit #explanation To expand on what each step does, m-x set- frame-font (followed by to invoke it, as with all m-x commands) will show the default font, i.e. what you would get by just typing , but doesn't put it into the mini-buffer so you can edit it. m-n yanks the "next" thing into the minibuffer (which emacs has helpfully pre-loaded with that same default font spec). Lets say the font size bit of that font spec had 18 in it, the c-s -18 will start an incremental search inside the minibuffer input that was just yanked in for that size part (if there was an earlier false positive, another c-s will move past it). The will stop the incremental search, leaving the cursor after what was matched. The m-- makes the repetition count for the next command negative, the m-d deletes repetition-count number of words to the right of the cursor, i.e. -1 to the right is 1 to the left, thereby wiping out the old size integer, typing in the new size, e.g. 22, will insert the new size into the font spec and the final will issue the set-frame- font command with the new font-spec value.