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: gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html Date: Tue, 4 Apr 2023 21:11:39 +0200 Message-ID: <1abb86af-6ea5-b588-ddd8-b08d520359ab@beloved.name> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------NaSpUHp8eiQ0rJ8vJ0mqWrzP" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5550"; 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 To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 04 21:12:51 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 1pjm5L-0001D7-5J for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Apr 2023 21:12:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjm4P-0005OB-L1; Tue, 04 Apr 2023 15:11:53 -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 1pjm4J-0005M5-El for Emacs-devel@gnu.org; Tue, 04 Apr 2023 15:11:47 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjm4H-0003e2-Ja for Emacs-devel@gnu.org; Tue, 04 Apr 2023 15:11:47 -0400 Original-Received: (Authenticated sender: public@beloved.name) by mail.gandi.net (Postfix) with ESMTPSA id 8430940006 for ; Tue, 4 Apr 2023 19:11:40 +0000 (UTC) Content-Language: en-US Received-SPF: pass client-ip=217.70.183.194; envelope-from=public@beloved.name; helo=relay2-d.mail.gandi.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, PDS_BRAND_SUBJ_NAKED_TO=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:305112 Archived-At: This is a multi-part message in MIME format. --------------NaSpUHp8eiQ0rJ8vJ0mqWrzP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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) --------------NaSpUHp8eiQ0rJ8vJ0mqWrzP Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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)

--------------NaSpUHp8eiQ0rJ8vJ0mqWrzP--