The following can be put in the ~/.emacs.d/init.el
file to configure Emacs
On Windows, if the Emacs shell does not recognize the python command:
(setenv "PATH" (concat (getenv "PATH") ";C:\\path\\to\\python"))
On OS X, if the Emacs shell does not recognize the python command:
(setenv "PATH" (concat (getenv "PATH") ":/path/to/python"))
To set the initial font size of an Emacs window (FONT_SIZE
is the initial font size times ten):
(set-face-attribute 'default nil :height FONT_SIZE)
To set the initial dimensions of an Emacs window (CHARS_WIDE
and CHARS_HIGH
are the number of characters that will fit in the window horizontally and vertically):
(setq default-frame-alist '((width . CHARS_WIDE) (height . CHARS_HIGH)))