From: Tatsu Takamaro <tatsu.takamaro@gmail.com>
To: Drew Adams <drew.adams@oracle.com>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: [External] : Q3 - how to delete by words, not cut? --- about Q4 - the bottom edge of Emacs doesn't stick to the taskba
Date: Sat, 21 Dec 2024 05:02:57 +0300 [thread overview]
Message-ID: <7628b4a4-bc17-fabd-5260-f1af87beb439@gmail.com> (raw)
In-Reply-To: <DS7PR10MB523242DFC7D3EDBDE64DA38FF3072@DS7PR10MB5232.namprd10.prod.outlook.com>
Thank you. Too complicated for now, but I save it for future use. I'll
turn to the question after moving to Debian.
пт, 20.12.2024 18:34, Drew Adams пишет:
>
> You can see all threads here:
>
> https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/
>
> For your Q4:
>
> 1. https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00329.html
>
> 2. https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00332.html
>
> 3. https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00337.html
>
> 4. https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00340.html
>
> *From:* Tatsu Takamaro *Sent:* Thursday, December 19, 2024 6:18 PM
>
> I did answer that. IMO, it's not super-straightforward. As I said (Eli didn't agree), Emacs doesn't know about a Windows task bar. (The task bar can be in different places and have different sizes. AFAIK, you need to access the registry to find out its details.)
>
> Unless someone gives you a simpler approach, maybe take a look at `frame-cmds.el' and `oneonone.el' for info about how I, at least, position/resize frames so their bottoms are on the task bar.
>
> https://www.emacswiki.org/emacs/download/frame-cmds.el <https://urldefense.com/v3/__https:/www.emacswiki.org/emacs/download/frame-cmds.el__;!!ACWV5N9M2RV99hQ!PZ0MgSa4moLLIWdSL3Jxfvrb3ch_y6Cjq-yl6pCi618PIjLupxLS4TUhygA2dC4smnfUcrev8CZWb3nWZf3UCoZA$>
>
> https://www.emacswiki.org/emacs/download/oneonone.el <https://urldefense.com/v3/__https:/www.emacswiki.org/emacs/download/oneonone.el__;!!ACWV5N9M2RV99hQ!PZ0MgSa4moLLIWdSL3Jxfvrb3ch_y6Cjq-yl6pCi618PIjLupxLS4TUhygA2dC4smnfUcrev8CZWb3nWZZVd_Dg7$>
>
> I didn't get the mail with Q4 at all, nor in the Trash bin, don't
> know why ...
>
> And what about Linux? Next year I plan to migrate to Debian, with
> Wayland. Will I have the same matter there?
>
> Dunno. The same general approaches apply. The code I cited is relevant
> for any platform, in principle.
>
> For now I just calculate the height in characters by the hit-and-miss
> method. But I'll have to do it on every new machine or monitor, so
> it's better to have a way out.
>
> Maybe, setting in percents. The height of a taskbar is 60 px for my 4k
> (ultraHD) monitor, so it's 60 out of 2160 px, or 2,(7)% (~2,8%) of a
> screen height. Thus, an Emacs'es height may be 99,97% of the screen's.
> But I'm afraid the size may differ. So what about Debian?
>
next prev parent reply other threads:[~2024-12-21 2:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-14 23:57 Q3 - how to delete by words, not cut? Tatsu Takamaro
2024-12-15 2:42 ` [External] : " Drew Adams
2024-12-15 2:45 ` Drew Adams
2024-12-16 23:26 ` Tatsu Takamaro
2024-12-17 0:01 ` Drew Adams
2024-12-17 0:26 ` Tatsu Takamaro
2024-12-17 2:28 ` Drew Adams
2024-12-18 23:54 ` Tatsu Takamaro
2024-12-19 2:31 ` Drew Adams
2024-12-20 0:19 ` Tatsu Takamaro
2024-12-20 1:38 ` Drew Adams
2024-12-20 2:18 ` [External] : Q3 - how to delete by words, not cut? --- about Q4 - the bottom edge of Emacs doesn't stick to the taskba Tatsu Takamaro
2024-12-20 15:34 ` Drew Adams via Users list for the GNU Emacs text editor
2024-12-21 2:02 ` Tatsu Takamaro [this message]
2024-12-17 8:38 ` [External] : Q3 - how to delete by words, not cut? Vagn Johansen
2024-12-17 4:06 ` Jean Louis
2024-12-17 4:12 ` Drew Adams
2024-12-17 4:25 ` Jean Louis
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=7628b4a4-bc17-fabd-5260-f1af87beb439@gmail.com \
--to=tatsu.takamaro@gmail.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/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).