I also want to save the font size in my .emacs
file.
相关问题
- Symbol's function definition is void: declare-
- How can I set the SVN password with Emacs 23.1 bui
- how to Enumerate local fonts in silverlight 4
- Emacs shell: save commit message
- Scaling png font down
相关文章
- ess-rdired: I get this error “no ESS process is as
- Emacs/xterm color annoyance on Linux
- Loading custom font using JavaFX 8 and css
- Generating .afm from .ttf [closed]
- Vue Cli 3 Local fonts not loading
- Pipe less to Emacs
- Capturing the output of “diff” with org-babel
- emacs terminal mode: how to copy and paste efficie
This is another simple solution. Works in 24 as well
Short cuts:
I you're happy with console emacs (emacs -nw), modern vterm implementations (like gnome-terminal) tend to have better font support. Plus if you get used to that, you can then use tmux, and so working with your full environment on remote servers becomes possible, even without X.
M-x customize-face RET default will allow you to set the face
default
face, on which all other faces base on. There you can set the font-size.Here is what is in my .emacs. actually, color-theme will set the basics, then my custom face setting will override some stuff. the custom-set-faces is written by emacs's customize-face mechanism:
Here's a snippet that lets you directly specify the global font size using an interactive function:
I've got the following in my
.emacs
:You can subsitute any font of your choosing for
"Monospace-11"
. The set of available options is highly system-dependent. UsingM-x set-default-font
and looking at the tab-completions will give you some ideas. On my system, with Emacs 23 and anti-aliasing enabled, can choose system fonts by name, e.g.,Monospace
,Sans Serif
, etc.