From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wayne Harris via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: How can I automatically determine the best frame-height? Date: Thu, 22 Apr 2021 09:39:46 -0300 Message-ID: <86r1j25w8d.fsf@example.com> References: <86tunzznhh.fsf@protonmail.com> <86y2dbv2yo.fsf@protonmail.com> Reply-To: Wayne Harris Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15674"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:XdxdmnD6zOU+bkwSfuH++XsY5EQ= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 14:40:48 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lZYdT-0003mR-5s for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 14:40:47 +0200 Original-Received: from localhost ([::1]:37140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZYdS-0006WL-7g for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 08:40:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZYcv-0006VG-3N for help-gnu-emacs@gnu.org; Thu, 22 Apr 2021 08:40:13 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:37202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZYct-0001tg-D4 for help-gnu-emacs@gnu.org; Thu, 22 Apr 2021 08:40:12 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lZYcr-00031i-IC for help-gnu-emacs@gnu.org; Thu, 22 Apr 2021 14:40:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129114 Archived-At: Jean Louis writes: > * Wayne Harris via Users list for the GNU Emacs text editor > [2021-04-21 22:44]: >> where 90% is about right for me, but this has the side-effect that the >> initial-frame is not full-height any longer, that is, this undoes the >> order given by -fh on the command line. > > Also to mention, I am using GNU/Linux and can direct Emacs frame size > and position by using my window manager. That's what I wish Windows could do for me. How I miss WindowMaker. The closest thing I've found is the program ``Window Manager'' http://www.desksoft.com/WindowManager.htm It works, but it's a bit ugly --- you can see the window moving because it is not able to keep the GNU Emacs initial frame hidden while it moves it, so the end result is flickering. But it's helping for sure. FWIW, I think that what ``Window Manager'' should be doing is somehow tapping into the lower level of the Windows window manager and positioning and moving the desired windows before they show up on the screen. I'd think that Windows allows for such things. If knew how to do it, maybe I would because I don't see anybody providing such solution. ``Window Manager'' is the closest thing I've found. > For example I do not use window borders on Emacs or XTerm, and I can > say what size it will be. That's smart. How I wish I had such control on Windows land. [...] > With bigger screen I always like to open up specific programs at > specific place of the screen. My screen is small and I like that anyway, but, yes, with a larger screen that becomes even more vital.