[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about dubious code for terminal frames
From: |
Gerd Möllmann |
Subject: |
Question about dubious code for terminal frames |
Date: |
Mon, 02 Sep 2024 11:04:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
In 3 places, among them adjust_frame_size, which is why I CC'd
Martin, Emacs sets the values of FrameRows/FrameCols.
AFAIU, these two values give the physical size of a terminal (screen,
window), as returned from the co and li escape sequences on termcap
frames. And I can't find code that tries to change the physical size of
the terminal, if that would even make sense in the first place :-). So
this doesn't make any sense to me.
Alas, the code in question has been so heavily modified over the decades
that I can't find out where this code originates from. Maybe it's even
something that I missed to fix when introducing the new redisplay,
because in the old redisplay it might have mad>e sense for GUI frames.
Maybe, don't remember.
In any case, does someone have an idea what that code is for? If not,
I suggest to remove it (and maybe making them rvalues or const).