From: Mickey Ferguson via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: "Help-Gnu-Emacs (help-gnu-emacs@gnu.org)" <help-gnu-emacs@gnu.org>
Subject: Re: [External] : programmatically make window full length but not change width
Date: Mon, 1 Aug 2022 10:26:11 -0700 [thread overview]
Message-ID: <CADi0pTDN-ZU-=ZgzRr0Fq5JSTLoj07v_eTVS259R6Ptz7o+kCg@mail.gmail.com> (raw)
In-Reply-To: <SJ0PR10MB5488C9CF37EAE9C10B1280B7F3989@SJ0PR10MB5488.namprd10.prod.outlook.com>
Thank you, Drew. After downloading the frame-cmds.el, I also needed
frame-fns.el to allow things to compile. One other tweak I needed, since
my windows toolbar is at the bottom of the screen, I needed to add:
(setq window-mgr-title-bar-pixel-height '175)
This made it size correctly on my laptop. However, if I connect to my
remote desktop computer, using either VNC or Remote Desktop Connection,
then that sizing is incorrect. It seemed to be around 60 for that
computer. Oh, and each of these computers have a 1920x1080 display
setting, if that makes any difference.
Is this a setting that needs to be set individually for each computer? If
so, that's getting outside of what I would know how to do, since my goal is
to have a single .emacs file for all of the computers where I work. Maybe
it would be a registry setting or environment variable, for which I could
easily have each computer have its own customized setting, and then the
.emacs would get that env var or reg value on startup?
I do appreciate the timely and quality help you provide.
*Mickey Ferguson*
On Fri, Jul 29, 2022 at 6:03 PM Drew Adams <drew.adams@oracle.com> wrote:
> > I just want the simplest way to make my window full length -
> > something I could put in my .emacs or code into a function
> > that can be bound to a keyboard operation.
>
> Not sure what you're asking. And I think maybe
> you mean Emacs "frame" when you say "window".
>
> Anyway, maybe something like this is what you're
> looking for:
>
> maximize-frame-vertically is an interactive compiled
> Lisp function in ‘frame-cmds.el’.
>
> (maximize-frame-vertically &optional FRAME)
>
> Maximize selected frame vertically.
>
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.emacswiki.org_emacs_download_frame-2Dcmds.el&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_C93KOmcBXCBnhee2v6PYlc&r=UnDOGxolu249_JBsoh3j9MMwtRmzwiw3bhtcIBr6iLhRqxrssOAsmBCh1HfDYPjU&m=bOJv4lpOoGb_VDN2Etcsph94Gte8uw7M_f3We2NOF4uCSh96-u4GIgmhl6qziQEU&s=8DSGyi15cZSMz35GLxwcetFaWG-WymMslW83_1BIheM&e=
>
>
--
*For more information on how and why we collect your personal
information, please visit our Privacy Policy
<https://www.motorolasolutions.com/en_us/about/privacy-policy.html?elqTrackId=8980d888905940e39a2613a7a3dcb0a7&elqaid=2786&elqat=2#privacystatement>.*
next prev parent reply other threads:[~2022-08-01 17:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 23:56 programmatically make window full length but not change width Mickey Ferguson via Users list for the GNU Emacs text editor
2022-07-30 1:03 ` [External] : " Drew Adams
2022-07-31 23:42 ` Mickey Ferguson via Users list for the GNU Emacs text editor
2022-08-01 1:18 ` Drew Adams
2022-08-01 17:26 ` Mickey Ferguson via Users list for the GNU Emacs text editor [this message]
2022-08-01 17:57 ` Drew Adams
2022-08-01 19:14 ` Mickey Ferguson via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADi0pTDN-ZU-=ZgzRr0Fq5JSTLoj07v_eTVS259R6Ptz7o+kCg@mail.gmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=drew.adams@oracle.com \
--cc=mickey.ferguson@motorolasolutions.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).