From: Jared Finder <jared@finder.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rudalics@gmx.at, gerd.moellmann@gmail.com, emacs-devel@gnu.org
Subject: Re: "Final" version of tty child frames
Date: Sun, 05 Jan 2025 16:18:24 -0800 [thread overview]
Message-ID: <5e97881b17d2874e776ef3ca3ac2dfaf@finder.org> (raw)
In-Reply-To: <86jzb9ahc6.fsf@gnu.org>
On 2025-01-04 22:46, Eli Zaretskii wrote:
>> Date: Sat, 04 Jan 2025 14:09:55 -0800
>> From: Jared Finder <jared@finder.org>
>> Cc: Eli Zaretskii <eliz@gnu.org>, gerd.moellmann@gmail.com,
>> emacs-devel@gnu.org
>>
>> TTY child frame cursors behave even worse under GPM and a TERM=linux
>> terminal. In this case, the cursor ends up on some lines always
>> appearing at the end of lines (ignoring separate frames or windows)
>> and
>> sometimes in the right place. The point position is correct though
>> and
>> the cursor does appear correctly once I start pressing simple keys
>> like
>> 'A'.
>>
>> Unfortunately, the redisplay code in Emacs is super hard for me to
>> understand and I can't figure out where or how the cursor gets
>> positioned. If someone could give me some pointers here, I'd love to
>> investigate further.
>
> If you mean the text cursor, then it is positioned by calling cmgoto,
> which is called from tty_cursor_to and tty_raw_cursor_to.
>
> Frankly, I don't understand how the mouse could affect the cursor
> positioning. Do you mean the cursor position is wrong when you click
> the mouse?
Emacs understanding of point ends up correct when I click the mouse, but
the cursor is incorrect. This only applies to some lines. I get
similar issues when using arrow keys for moving the point around as
well. I do not see the same behavior in an xterm. This predates my
change. It only happens when tty child frames are visible with
TERM=linux, as far as I can tell.
-- MJF
next prev parent reply other threads:[~2025-01-06 0:18 UTC|newest]
Thread overview: 194+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 4:46 "Final" version of tty child frames Gerd Möllmann
2024-10-22 5:29 ` Eli Zaretskii
2024-10-22 9:58 ` martin rudalics
2024-10-22 10:20 ` Eli Zaretskii
2024-10-22 14:01 ` martin rudalics
2024-10-22 14:23 ` Eli Zaretskii
2024-10-22 10:40 ` Gerd Möllmann
2024-10-22 11:43 ` Po Lu
2024-10-22 13:44 ` Eli Zaretskii
2024-10-22 14:01 ` Gerd Möllmann
2024-10-22 14:02 ` martin rudalics
2024-10-28 4:35 ` Jared Finder
2024-10-28 5:57 ` Gerd Möllmann
2024-11-30 11:25 ` Eli Zaretskii
2024-12-05 3:49 ` Jared Finder
2024-12-11 7:31 ` Jared Finder
2024-12-11 7:59 ` Gerd Möllmann
2024-12-12 5:11 ` Jared Finder
2024-12-12 6:20 ` Gerd Möllmann
2024-12-12 6:48 ` Gerd Möllmann
2024-12-12 6:30 ` Eli Zaretskii
2024-12-12 7:04 ` Gerd Möllmann
2024-12-18 5:35 ` Jared Finder
2024-12-18 6:25 ` Gerd Möllmann
2025-01-04 22:12 ` Jared Finder
2025-01-05 4:03 ` Gerd Möllmann
2025-01-05 7:07 ` Eli Zaretskii
2025-01-06 0:05 ` Jared Finder
2025-01-06 4:27 ` Gerd Möllmann
2025-01-06 13:30 ` Eli Zaretskii
2025-01-07 5:40 ` Jared Finder
2025-01-07 7:36 ` Gerd Möllmann
2024-12-18 13:54 ` Eli Zaretskii
2024-12-18 16:01 ` Gerd Möllmann
2024-12-18 16:29 ` Eli Zaretskii
2024-12-18 16:39 ` Gerd Möllmann
2024-12-18 17:02 ` Eli Zaretskii
2024-12-18 17:22 ` Gerd Möllmann
2024-12-19 5:17 ` Jared Finder
2024-12-19 5:30 ` Gerd Möllmann
2024-12-19 7:44 ` Gerd Möllmann
2024-12-19 8:36 ` Eli Zaretskii
2024-12-19 9:04 ` Gerd Möllmann
2024-12-19 9:17 ` Gerd Möllmann
2024-12-19 10:34 ` Robert Pluim
2024-12-19 10:40 ` Gerd Möllmann
2024-12-18 21:06 ` Stefan Kangas
2024-12-19 8:00 ` Andrea Corallo
2024-12-11 9:39 ` martin rudalics
2025-01-04 22:09 ` Jared Finder
2025-01-05 3:48 ` Gerd Möllmann
2025-01-13 6:32 ` Jared Finder
2025-01-13 7:13 ` Gerd Möllmann
2025-01-13 13:13 ` Eli Zaretskii
2025-01-14 9:11 ` martin rudalics
2025-01-14 9:37 ` Gerd Möllmann
2025-01-14 9:55 ` martin rudalics
2025-01-14 10:12 ` Gerd Möllmann
2025-01-14 13:58 ` Eli Zaretskii
2025-01-14 17:33 ` martin rudalics
2025-01-14 19:25 ` Gerd Möllmann
2025-01-15 4:29 ` Gerd Möllmann
2025-01-15 8:41 ` martin rudalics
2025-01-15 8:58 ` Gerd Möllmann
2025-01-15 15:29 ` Eli Zaretskii
2025-01-15 15:38 ` Gerd Möllmann
2025-01-15 15:27 ` Eli Zaretskii
2025-01-15 17:01 ` martin rudalics
2025-01-15 17:29 ` Gerd Möllmann
2025-01-15 17:35 ` Gerd Möllmann
2025-01-15 19:43 ` Eli Zaretskii
2025-01-16 4:35 ` Gerd Möllmann
2025-01-16 8:16 ` Eli Zaretskii
2025-01-16 8:42 ` Gerd Möllmann
2025-01-16 9:47 ` Eli Zaretskii
2025-01-16 10:22 ` Gerd Möllmann
2025-01-16 11:24 ` Eli Zaretskii
2025-01-16 10:02 ` martin rudalics
2025-01-16 10:23 ` Gerd Möllmann
2025-01-16 10:50 ` martin rudalics
2025-01-16 10:55 ` Gerd Möllmann
2025-01-16 11:42 ` Eli Zaretskii
2025-01-16 12:15 ` Gerd Möllmann
2025-01-16 12:50 ` Eli Zaretskii
2025-01-16 13:41 ` Gerd Möllmann
2025-01-16 15:22 ` Eli Zaretskii
2025-01-16 15:46 ` Gerd Möllmann
2025-01-16 16:50 ` Eli Zaretskii
2025-01-16 18:00 ` martin rudalics
2025-01-16 19:05 ` Gerd Möllmann
2025-01-17 9:08 ` martin rudalics
2025-01-17 9:35 ` Gerd Möllmann
2025-01-17 12:29 ` Eli Zaretskii
2025-01-17 15:08 ` martin rudalics
2025-01-17 19:58 ` Eli Zaretskii
2025-01-18 9:04 ` martin rudalics
2025-01-18 11:40 ` Eli Zaretskii
2025-01-16 19:22 ` Eli Zaretskii
2025-01-16 19:32 ` Gerd Möllmann
2025-01-16 19:55 ` Eli Zaretskii
2025-01-16 21:03 ` Gerd Möllmann
2025-01-17 6:48 ` Eli Zaretskii
2025-01-17 7:50 ` Gerd Möllmann
2025-01-17 8:34 ` Eli Zaretskii
2025-01-17 8:50 ` Gerd Möllmann
2025-01-17 12:14 ` Eli Zaretskii
2025-01-17 13:21 ` Eli Zaretskii
2025-01-17 15:14 ` Gerd Möllmann
2025-01-17 9:09 ` martin rudalics
2025-01-17 12:44 ` Eli Zaretskii
2025-01-17 15:09 ` martin rudalics
2025-01-17 16:51 ` Eli Zaretskii
2025-01-17 18:25 ` martin rudalics
2025-01-17 9:09 ` martin rudalics
2025-01-17 12:40 ` Eli Zaretskii
2025-01-17 15:09 ` martin rudalics
2025-01-17 20:02 ` Eli Zaretskii
2025-01-18 9:04 ` martin rudalics
2025-01-18 11:53 ` Eli Zaretskii
2025-01-17 9:08 ` martin rudalics
2025-01-17 12:26 ` Eli Zaretskii
2025-01-17 15:08 ` martin rudalics
2025-01-17 19:56 ` Eli Zaretskii
2025-01-18 9:03 ` martin rudalics
2025-01-16 11:19 ` Eli Zaretskii
2025-01-14 20:29 ` Eli Zaretskii
2025-01-14 13:38 ` Eli Zaretskii
2025-01-05 6:46 ` Eli Zaretskii
2025-01-06 0:18 ` Jared Finder [this message]
2025-01-06 13:35 ` Eli Zaretskii
2025-01-08 9:56 ` martin rudalics
2025-01-08 10:29 ` Gerd Möllmann
2025-01-09 10:24 ` martin rudalics
2025-01-09 10:45 ` Gerd Möllmann
2025-01-11 10:13 ` martin rudalics
2025-01-11 12:52 ` Gerd Möllmann
2025-01-11 17:23 ` martin rudalics
2025-01-11 17:57 ` Gerd Möllmann
2025-01-12 5:26 ` Gerd Möllmann
2025-01-12 6:49 ` Gerd Möllmann
2025-01-12 7:36 ` Gerd Möllmann
2025-01-12 8:14 ` Eli Zaretskii
2025-01-12 8:27 ` martin rudalics
2025-01-12 8:59 ` Gerd Möllmann
2025-01-12 8:57 ` Gerd Möllmann
2025-01-12 8:22 ` martin rudalics
2025-01-12 9:03 ` Gerd Möllmann
2025-01-12 9:45 ` martin rudalics
2025-01-12 10:31 ` Gerd Möllmann
2025-01-14 9:11 ` martin rudalics
2025-01-14 9:25 ` Gerd Möllmann
2025-01-14 9:10 ` martin rudalics
2025-01-14 9:24 ` Gerd Möllmann
2025-01-11 10:51 ` Eli Zaretskii
2025-01-11 15:55 ` martin rudalics
2024-10-22 7:34 ` Dr. Arne Babenhauserheide
2024-10-22 7:49 ` Gerd Möllmann
2024-10-22 7:49 ` Eli Zaretskii
2024-10-22 8:01 ` Eli Zaretskii
2024-10-22 8:21 ` Gerd Möllmann
2024-10-22 8:57 ` Eli Zaretskii
2024-10-22 9:42 ` Eli Zaretskii
2024-10-22 10:23 ` Gerd Möllmann
2024-10-22 13:35 ` Eli Zaretskii
2024-10-22 13:43 ` Gerd Möllmann
2024-10-22 13:55 ` Eli Zaretskii
2024-10-22 14:02 ` Gerd Möllmann
2024-10-22 14:40 ` Eli Zaretskii
2024-10-22 19:19 ` Paul Eggert
2024-10-23 3:18 ` Gerd Möllmann
2024-10-22 10:43 ` Gerd Möllmann
2024-10-23 3:05 ` Feng Shu
2024-10-23 3:13 ` Gerd Möllmann
2024-10-23 3:25 ` Feng Shu
2024-10-23 3:36 ` Gerd Möllmann
2024-10-23 3:44 ` Feng Shu
2024-10-23 4:09 ` Gerd Möllmann
2024-10-23 4:40 ` Gerd Möllmann
2024-10-23 5:00 ` Gerd Möllmann
2024-10-23 7:49 ` Eli Zaretskii
2024-10-23 8:12 ` Gerd Möllmann
2024-10-23 11:04 ` Gerd Möllmann
2024-10-23 17:23 ` Eli Zaretskii
2024-10-23 17:52 ` Gerd Möllmann
2024-10-23 6:54 ` Feng Shu
2024-10-23 7:25 ` Gerd Möllmann
2024-10-23 7:28 ` Eli Zaretskii
2024-10-23 7:37 ` Gerd Möllmann
2024-10-23 7:52 ` Feng Shu
2024-10-23 8:07 ` Gerd Möllmann
2024-10-23 9:07 ` Feng Shu
2024-10-23 9:58 ` Gerd Möllmann
2024-10-23 7:11 ` Eli Zaretskii
2024-10-26 8:15 ` Gerd Möllmann
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e97881b17d2874e776ef3ca3ac2dfaf@finder.org \
--to=jared@finder.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=gerd.moellmann@gmail.com \
--cc=rudalics@gmx.at \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.