
Use M-x toggle-frame-fullscreen to toggle it.
#Emacs for mac command line windows
MS Windows Emacs 24.4Įmacs 24.4 fully supports fullscreen on Windows. These methods may be useful with older versions of Emacs, or ports where the ‘fullscreen’ frame parameter is not supported.

Note that an after-init-hook didn’t work for me. emacs, so this did the job for me: (run-with-idle-timer 0.1 nil 'toggle-fullscreen) It seems that window resizes have to take place after something which is evaluated after the. ‘tile-frames’, ‘tile-frames-horizontally’, ‘tile-frames-vertically’Īt least on my Ubuntu installation, directly calling (toggle-fullscreen) from the.‘restore-frame’, ‘restore-frame-horizontally’, ‘restore-frame-vertically’.‘maximize-frame’, ‘maximize-frame-horizontally’, ‘maximize-frame-vertically’.‘toggle-max-frame’, ‘toggle-max-frame-horizontally’, ‘toggle-max-frame-vertically’.These are the commands relevant to this topic: Maximizing here means making a frame as big as possible (possibly leaving room for the things mentioned above), but the frame still appears as a frame, with title bar, border, etc.įrame-cmds.el also includes other, related commands, to tile frames across or down your display, for instance. It applies to any platform and any Emacs version (20+), and it can take into account a standalone minibuffer frame, the MS Windows task bar, and Mac areas that should not be covered.Īs is true for other methods mentioned on this page, “maximized” here is not quite the same thing as “full-screen”. Library frame-cmds.el provides various commands to maximize and restore frames horizontally, vertically, or both. Maximize/Restore Using Library frame-cmds.el

'(initial-frame-alist (quote ((fullscreen. Probably the simplest way to configure fullscreen or maximized mode is to customize initial-frame-alist (custom-set-variables (w32-send-sys-command 61488) Configuring fullscreen mode emacs init file to start with maximized frame: On MS Windows, when parameters don’t work, use the following line instead in your.

Maximize the first frame, like “-fw -fh” (since Emacs 23.2)
#Emacs for mac command line full
From the Emacs Linux man page (command line “man emacs”), for maximized frame, and for complete full screen: -mm, -maximized
