|
From: | David Hedlund |
Subject: | Re: Solution to a proposed FAQ, how to maximize emacs quickly (like `emacs --maximize`) for GNU/Linux - Improved solution by Chad: ~/.emacs.d/early-init.el |
Date: | Fri, 29 Sep 2023 00:39:40 +0200 |
User-agent: | Mozilla Thunderbird |
On 9/28/23 22:05, chad wrote:
Today is a good day. This is working like a charm! I tried default-frame-alist, and initial-frame-alist, in upgraded virtual machines right now: * X11: ** Trisquel 11: Working ** Ubuntu 23.04: Working * Wayland ** Ubuntu 22.04: Working ** Ubuntu 23.04: Working This is the only solution so far that relies 100% on Emacs Lisp. I think this can be documented in https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-GNU-Linux.htmYour solution effectively replaces my devilspie2 solution, Chad.
Thank you very, very much!
REQUEST: Can anyone please try Chad's solution and confirm if it is working for * Windows 11 * macOS * BSD
If it is working for all of them, perhaps it's better to add a basic section (e.g. https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode.htm) and document that the solution: * Will quickly maximize emacs (like `emacs -mm`) by using ~/.emacs.d/early-init.el, to avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen. Adding "(add-to-list 'default-frame-alist '(fullscreen . maximized))" to the top of ~/.emacs will is cause the distracting visual effect if additionally typically configurations are added in ~/.emacs.* Only requires Emacs lisp and works out of the box. * Will be executed automatically when emacs starts. * ~/.emacs.d/early-init.el prevents the the visually distracting
effect is (add-to-list 'default-frame-alist '(fullscreen .
maximized))
|
[Prev in Thread] | Current Thread | [Next in Thread] |