From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Hedlund Newsgroups: gmane.emacs.devel Subject: Re: Should https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html be renamed to Maxmize-mode-on-MS_002dWindows.html ? Date: Thu, 5 Oct 2023 05:56:22 +0200 Message-ID: <944039dd-a1b4-4739-a2ce-72fbc05fe069@beloved.name> References: <83o7hjahlw.fsf@gnu.org> <837co7a4po.fsf@gnu.org> <8ca2201b-c0f9-4e8d-b4ca-82d02ad78b99@beloved.name> <8334yva2m8.fsf@gnu.org> <2d4fcd29-6b93-4e8f-9a43-80d950255687@beloved.name> <87ttr8fwve.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------zvocZaihahCGnEW5VXYcmbFI" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8086"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 05 05:57:31 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qoFUR-0001po-8G for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Oct 2023 05:57:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoFTX-0007Ad-CK; Wed, 04 Oct 2023 23:56:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoFTT-0007AJ-MB for emacs-devel@gnu.org; Wed, 04 Oct 2023 23:56:32 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoFTP-0004rP-M1 for emacs-devel@gnu.org; Wed, 04 Oct 2023 23:56:30 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 32BEE1C0005 for ; Thu, 5 Oct 2023 03:56:22 +0000 (UTC) Content-Language: en-US In-Reply-To: <87ttr8fwve.fsf@dataswamp.org> X-GND-Sasl: public@beloved.name Received-SPF: pass client-ip=217.70.183.197; envelope-from=public@beloved.name; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311287 Archived-At: This is a multi-part message in MIME format. --------------zvocZaihahCGnEW5VXYcmbFI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/3/23 01:05, Emanuel Berg wrote: > David Hedlund wrote: > >>>> While we're speaking about this, this is a relevant >>>> question regarding the issue for GNU/Linux: So even "(push >>>> '(fullscreen . maximized) default-frame-alist)" to >>>> ~/.emacs.d/early-init.el is the only solution to >>>> automatically maximize emacs without the visually >>>> distracting effect in GNU/Linux, should it not be added to >>>> the FAQ to a new section, say >>>> https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-GNU-Linux.htm? >>>> Just "(add-hook 'emacs-startup-hook >>>> 'toggle-frame-maximized)" to the top ~/.emacs file if it >>>> has a common size (say 100 lines), will cause it to >>>> maximize the windows but not without the visually >>>> distracting effect. >>> Is this indeed a "frequently-asked" question, about GNU/Linux? >> Yes. > David, if you think it's a good idea, start by adding > everything you have discovered and including all details to > the EmacsWiki, for a suitable page for the purpose - it can be > a lot of fun for you fiddling with all that to present all > the material neatly and organized. > > After that, whenever this question comes up we will refer to > that Wiki page, and such a reference can be added to other > documents as well, possibly. > EmacsWiki Full Screen, section Configuring fullscreen mode - https://www.emacswiki.org/emacs/FullScreen#h5o-2 Probably the simplest way to configure fullscreen or maximized mode is to customize |initial-frame-alist| (custom-set-variables '(initial-frame-alist (quote ((fullscreen . maximized))))) ----------------Text that I added ----------------------8<---------------------         To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen, you can add an the above lines to .emacs.d/early-init.el instead of .emacs (thanks Chad). This has been successfully tested in GNU/Linux (both X11, and Wayland), and Windows. -----------------End text that I added ----------------------8<----------------------------- I also added a new section for the devilspie2 solution:     External program: devilspie2 - https://www.emacswiki.org/emacs/FullScreen#h5o-25 --------------zvocZaihahCGnEW5VXYcmbFI Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 10/3/23 01:05, Emanuel Berg wrote:
David Hedlund wrote:

While we're speaking about this, this is a relevant
question regarding the issue for GNU/Linux: So even "(push
'(fullscreen . maximized) default-frame-alist)" to
~/.emacs.d/early-init.el is the only solution to
automatically maximize emacs without the visually
distracting effect in GNU/Linux, should it not be added to
the FAQ to a new section, say
https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-GNU-Linux.htm?
Just "(add-hook 'emacs-startup-hook
'toggle-frame-maximized)" to the top ~/.emacs file if it
has a common size (say 100 lines), will cause it to
maximize the windows but not without the visually
distracting effect.
Is this indeed a "frequently-asked" question, about GNU/Linux?
Yes.
David, if you think it's a good idea, start by adding
everything you have discovered and including all details to
the EmacsWiki, for a suitable page for the purpose - it can be
a lot of fun for you fiddling with all that to present all
the material neatly and organized.

After that, whenever this question comes up we will refer to
that Wiki page, and such a reference can be added to other
documents as well, possibly.

EmacsWiki Full Screen, section Configuring fullscreen mode - https://www.emacswiki.org/emacs/FullScreen#h5o-2

Probably the simplest way to configure fullscreen or maximized mode is to customize initial-frame-alist

(custom-set-variables
 '(initial-frame-alist (quote ((fullscreen . maximized)))))

----------------Text that I added ----------------------8<---------------------

        To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen, you can add an the above lines to .emacs.d/early-init.el instead of .emacs (thanks Chad). This has been successfully tested in GNU/Linux (both X11, and Wayland), and Windows.

-----------------End text that I added ----------------------8<-----------------------------




I also added a new section for the devilspie2 solution:

    External program: devilspie2 - https://www.emacswiki.org/emacs/FullScreen#h5o-25


--------------zvocZaihahCGnEW5VXYcmbFI--