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: gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html Date: Tue, 4 Apr 2023 21:24:57 +0200 Message-ID: <6d33504f-58a5-e02f-b97c-dc6e181decc6@beloved.name> References: <1abb86af-6ea5-b588-ddd8-b08d520359ab@beloved.name> <83a5zntpwn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------us54D7T5Ixkvu8lS3hS1XcIF" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Cc: Emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 04 21:25:35 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 1pjmHe-0000KU-G2 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Apr 2023 21:25:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjmHE-0000cH-Qw; Tue, 04 Apr 2023 15:25:08 -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 1pjmHA-0000bm-OY for Emacs-devel@gnu.org; Tue, 04 Apr 2023 15:25:04 -0400 Original-Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjmH8-00010m-AZ; Tue, 04 Apr 2023 15:25:04 -0400 Original-Received: (Authenticated sender: public@beloved.name) by mail.gandi.net (Postfix) with ESMTPSA id 0E7421BF205; Tue, 4 Apr 2023 19:24:57 +0000 (UTC) Content-Language: en-US In-Reply-To: <83a5zntpwn.fsf@gnu.org> Received-SPF: pass client-ip=2001:4b98:dc4:8::228; envelope-from=public@beloved.name; helo=relay8-d.mail.gandi.net X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.925, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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:305114 Archived-At: This is a multi-part message in MIME format. --------------us54D7T5Ixkvu8lS3hS1XcIF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 04/04/2023 21:20, Eli Zaretskii wrote: >> Date: Tue, 4 Apr 2023 21:11:39 +0200 >> From: David Hedlund >> >> From >> https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html >> >> "To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing >> to fullscreen, you can add an ‘Emacs.Geometry’ entry to the Windows registry settings. See X Resources in >> The GNU Emacs Manual. >> >> To compute the correct values for width and height, first maximize the Emacs frame and then evaluate >> (frame-height) and (frame-width) with M-:." >> >> This could be added to >> https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html >> to help the users to automatically compute the values with (display-pixel-width) and (display-pixel-height): >> >> (setq frame-resize-pixelwise t) >> >> (set-frame-position (selected-frame) 0 0) >> >> (set-frame-size (selected-frame) (display-pixel-width) (display-pixel-height) t) > Thanks, but resizing a frame doesn't make it fullscreen, does it? That's correct. This will only make it convenient to avoid the "/avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing//to fullscreen/" - https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html without having to "compute the correct values for width and height". > Because the task bar stays on screen, and thus the frame cannot be as > large as a full-screen frame you get when you press F11. Right? --------------us54D7T5Ixkvu8lS3hS1XcIF Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 04/04/2023 21:20, Eli Zaretskii wrote:
Date: Tue, 4 Apr 2023 21:11:39 +0200
From: David Hedlund <public@beloved.name>

From
https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html

"To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing
to fullscreen, you can add an ‘Emacs.Geometry’ entry to the Windows registry settings. See X Resources in
The GNU Emacs Manual. 

To compute the correct values for width and height, first maximize the Emacs frame and then evaluate
(frame-height) and (frame-width) with M-:."

This could be added to
https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html
to help the users to automatically compute the values with (display-pixel-width) and (display-pixel-height):

(setq frame-resize-pixelwise t)

(set-frame-position (selected-frame) 0 0)

(set-frame-size (selected-frame) (display-pixel-width) (display-pixel-height) t)
Thanks, but resizing a frame doesn't make it fullscreen, does it?
That's correct. This will only make it convenient to avoid the "avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen" -
https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html without having to "compute the correct values for width and height".


Because the task bar stays on screen, and thus the frame cannot be as
large as a full-screen frame you get when you press F11.  Right?
--------------us54D7T5Ixkvu8lS3hS1XcIF--