help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Q3 - how to delete by words, not cut? --- about Q4 - th


From: Drew Adams
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: Fri, 20 Dec 2024 15:34:05 +0000

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


  1.  https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00332.html


  1.  https://mail.gnu.org/archive/html/help-gnu-emacs/2024-12/msg00337.html


  1.  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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]