Hacker News new | ask | show | jobs
by delta1 3138 days ago
> ... I also set Emacs to full screen. I'd like to do this on Windows as well, but Windows and Emacs don't really love each other and it always ends up in some wonky state when I try this

  (add-to-list 'default-frame-alist '(fullscreen . maximized)) 
Seems to work fine for me

https://emacs.stackexchange.com/a/3008

1 comments

I use a nice plugin called maxframe, which apart from resizing the frame after a while and not when it's first displayed is not "wonky". I have yet to try multiple frames on multiple screens.

Salient code:

(defun w32-maximize-frame () "Maximize the current frame (windows only)" (interactive) (w32-send-sys-command 61488))

(defun w32-restore-frame () "Restore a minimized/maximized frame (windows only)" (interactive) (w32-send-sys-command 61728))