From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html Date: Tue, 04 Apr 2023 22:20:56 +0300 Message-ID: <83a5zntpwn.fsf@gnu.org> References: <1abb86af-6ea5-b588-ddd8-b08d520359ab@beloved.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19447"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs-devel@gnu.org To: David Hedlund Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 04 21:21:50 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 1pjmE1-0004k8-3C for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Apr 2023 21:21:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjmCx-0007tv-DP; Tue, 04 Apr 2023 15:20:45 -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 1pjmCo-0007tZ-Cv for Emacs-devel@gnu.org; Tue, 04 Apr 2023 15:20:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjmCm-0006kf-P0; Tue, 04 Apr 2023 15:20:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+5bp7jT5wq6zVdsEiwZGEKvnF/2RFmFCOGKeIWNucV8=; b=H7xcsrrX/ps8Xz3qYfGM oXg1QSAuiDu++ChTh4+dc6KXMeQiJvAWI1fj0DeljcwfIZcgiz7ThsK23uNOZ2EP7NapkWj/2zNVL YmIip8Jh5A8ytYX1zxhpP5FZTqVSUQh56Iip7sAllo4MoTirHcBjxkRMMZ61ddGVTgWp9qfoVCerb PJADUviHymuvPxHGFERqZ1poi389gZnC02K3g8R2PHaADP+iCKzAABSOsYlqCAua5/GlyqUZ11ndr WIPY2wlHwd8tgmOlO6ekA9YHNXjx4pPKNZ4DY6xy8lRx2vv345mlCfoQrr4QYGY1DROPKF2b08E+f qewaOii+8GQHlg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjmCm-0000lw-1g; Tue, 04 Apr 2023 15:20:32 -0400 In-Reply-To: <1abb86af-6ea5-b588-ddd8-b08d520359ab@beloved.name> (message from David Hedlund on Tue, 4 Apr 2023 21:11:39 +0200) 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:305113 Archived-At: > 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? 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?