I have been looking on the web to the existing answers to this question, but non of them works for me.
I would like to change the default font size for all frames in Aquamacs 3.3 GNU Emacs 25.1.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version 10.10.2 (Build 14C109)), and I am on OS X 10.11.2. I have tried to insert
(set-default-font “Terminus-9”)
in the .emacs
file, but it does not work. Do you guys know how to do this?
Here is what I get if I follow the suggestion by lawlist below, i.e., put (add-to-list 'default-frame-alist '(font . "Terminus-9"))
in the .emacs file, save the .emacs file and restart Aquamacs. Then, switch to the Messages buffer and type: M-x eval-expression RET (message "%s" (frame-parameters)) RET
:
16 environment variables imported from login shell (/bin/bash).
[..]
((tool-bar-position . top) (parent-id) (explicit-name) (display . MacBook-Pro.local) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 23) (left . 0) (buried-buffer-list) (buffer-list *Messages* *Minibuf-1* *scratch*) (unsplittable) (minibuffer . #<window 4 on *Minibuf-0*>) (width . 201) (height . 48) (name . *Minibuf-1*) (modeline . t) (fringe) (border-color . white) (mouse-color . white) (environment) (visibility . t) (cursor-color . black) (background-mode . light) (display-type . color) (window-system . ns) (fullscreen . maximized) (alpha) (scroll-bar-height . 0) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 1) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 3) (line-spacing) (background-color . #ffffff) (foreground-color . #000000) (horizontal-scroll-bars) (vertical-scroll-bars . right) (internal-border-width . 0) (border-width . 0) (font . -*-Monaco-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct))
"((tool-bar-position . top) (parent-id) (explicit-name) (display . MacBook-Pro.local) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 23) (left . 0) (buried-buffer-list) (buffer-list *Messages* *Minibuf-1* *scratch*) (unsplittable) (minibuffer . #<window 4 on *Minibuf-0*>) (width . 201) (height . 48) (name . *Minibuf-1*) (modeline . t) (fringe) (border-color . white) (mouse-color . white) (environment) (visibility . t) (cursor-color . black) (background-mode . light) (display-type . color) (window-system . ns) (fullscreen . maximized) (alpha) (scroll-bar-height . 0) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 1) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 3) (line-spacing) (background-color . #ffffff) (foreground-color . #000000) (horizontal-scroll-bars) (vertical-scroll-bars . right) (internal-border-width . 0) (border-width . 0) (font . -*-Monaco-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct))"
You can run the command ‘eval-expression’ with ⌥:
"((tool-bar-position . top) (parent-id) (explicit-name) (display . MacBook-Pro.local) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 23) (left . 0) (buried-buffer-list) (buffer-list *Messages* *Minibuf-1* *scratch*) (unsplittable) (minibuffer . #<window 4 on *Minibuf-0*>) (width . 201) (height . 48) (name . *Minibuf-1*) (modeline . t) (fringe) (border-color . white) (mouse-color . white) (environment) (visibility . t) (cursor-color . black) (background-mode . light) (display-type . color) (window-system . ns) (fullscreen . maximized) (alpha) (scroll-bar-height . 0) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 1) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 3) (line-spacing) (background-color . #ffffff) (foreground-color . #000000) (horizontal-scroll-bars) (vertical-scroll-bars . right) (internal-border-width . 0) (border-width . 0) (font . -*-Monaco-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct))"
Making completion list... [2 times]
You can run the command ‘make-frame’ with s-N
The suggestion does not work, and I have the same font as before.