It has to be possible to use emacs fullscreen in Mac OS X!? Any ideas?Įmacs 23.2 (I downloaded it from gnu.org) Amit I got a very fancy MacBook Air as a job machine and am feeling a bit lost right now.Īlthough a newbee with Linux/Emacs I do miss my emacs/Xubuntu combo, so I am working on a dual boot. I am new to Mac OS X and find it quite awkward. (set-frame-parameter nil 'fullscreen 'fullboth) (global-set-key (kbd "M-RET") 'mac-toggle-max-window) Similar to Anonymous above, the key binding didn't work for me, so I used this instead: I use this mode constantly, but would love to tell it to use my second monitor (instead of the main one). Thanks for the tip! The key binding didn't work for me for some reason, but this did: (define-key global-map (kbd "M-RET") 'mac-toggle-max-window) (just in case it might help someone else) topfunky It seems to work in carbon emacs as well, but it resizes 1 line too big so that the minibuffer is hidden from view. I often run regular emacs like that.Īmit, thanks for the code snippet in the update. Unfortunately this doesn't hide the menubar or titlebar.įor other versions, check the EmacsWiki page to see if there's a method that works on the version you run, or check this page for Aquamacs.Īnother handy app is iterm, where command - return toggles to completely full screen mode too. (cond (maxframe-maximized-p (maximize-frame)) (setq maxframe-maximized-p (not maxframe-maximized-p)) (defvar maxframe-maximized-p nil "maxframe is in fullscreen mode") Instead I'm using a patched version of maxframe.el, and this function from the EmacsWiki page: Neither approach above works with this version. Use the mac-toggle-max-window function definition above. They seem to have removed the function from 22.2, but you can get it back with this code from Vebjorn Lsoja: This is handy enough that I've bound it to ⌘ Cmd+ Return, which is similar to what some Linux and Windows apps use to toggle full screen mode. You can run M-x mac-toggle-max-window to toggle full screen mode, with no menubar. As of I was using the Yamamoto Mitsuharu version of Emacs, which has a very nice full screen mode as of I switched to the Emacs 24.4 nightlies from, but I also suggest looking at the railwaycat emacs build, which is also available on Homebrew. I've reorganized this post to document what I've used for various versions of Emacs. The methods for toggling full screen on Emacs/Mac vary by version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |