From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jared Finder Newsgroups: gmane.emacs.devel Subject: Re: "Final" version of tty child frames Date: Sat, 04 Jan 2025 14:09:55 -0800 Message-ID: References: <86wmi0g0x6.fsf@gnu.org> <11a86987cce9fe0a257c3fa58703dc33@finder.org> <86wmgl6jzv.fsf@gnu.org> <092cb755eee3a9b5e06d15c0b07e90b1@finder.org> <276414b03c24964aaeb9e43e8dba5e77@finder.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , gerd.moellmann@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 04 23:10:34 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUCLp-0007bx-Ap for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jan 2025 23:10:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUCLK-0002tE-80; Sat, 04 Jan 2025 17:10:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUCLH-0002sx-OL for emacs-devel@gnu.org; Sat, 04 Jan 2025 17:10:00 -0500 Original-Received: from greenhill.hpalace.com ([192.155.80.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUCLG-000489-8Y; Sat, 04 Jan 2025 17:09:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1736028596; bh=o2OnEd5VENEtk7IUwsva4drp6W6ANG30Qzez808YTIM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OOSgAthXvhXd1ysX3warUwCqUBtYbncZdOB7O0Pv/07mzoOz1X0RsLJZg2mDoNOFh D4EMUGsbl3BLTdkdVRgOCHF4cmAIyC1SCqD4IO6GJJwbyf7KzLMHh4TyJ/u3JAieU+ xHvQHq/Y/YL9LAZuNfL7MD/svJ1Zb73Kb+Y9CxVs1XO8A+1T2stUtPgnBC78ZbdVA9 V6d8Kkz6RDpIJ6k8yTTSLLxhp+NQbKvR5buzcEbV/MNHb72Tr3DC/UEMdEyvv+bwPH RdnFbpqduVgV3+wi/FBbGAVTzVGOuDoO0WyBSvmE8/ccla0TRjaFt5rO05GIajoot1 LyiL/yC3SyL3A== Original-Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id F3A431C6B; Sat, 4 Jan 2025 22:09:55 +0000 (UTC) In-Reply-To: X-Sender: jared@finder.org Received-SPF: pass client-ip=192.155.80.58; envelope-from=jared@finder.org; helo=greenhill.hpalace.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327690 Archived-At: On 2024-12-11 01:39, martin rudalics wrote: > If you have the time, please also try to look into two issues I raised > earlier: > > Two further things I noticed: When point in the parent frame is > effectively hidden by the child frame, its cursor sometimes appears > at > the right of the child frame and sometimes it's not shown. I have > not > understood the underlying principle for this behavior. Also when the > selected region in the parent frame is active, its overlay covers the > child frame. That's ugly. 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. -- MJF