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: Tue, 10 Dec 2024 23:31:59 -0800 Message-ID: <276414b03c24964aaeb9e43e8dba5e77@finder.org> References: <86wmi0g0x6.fsf@gnu.org> <11a86987cce9fe0a257c3fa58703dc33@finder.org> <86wmgl6jzv.fsf@gnu.org> <092cb755eee3a9b5e06d15c0b07e90b1@finder.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org, rudalics@gmx.at To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 11 08:33:08 2024 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 1tLHDX-0003fl-Rv for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 08:33:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLHCc-0007bM-2Y; Wed, 11 Dec 2024 02:32:10 -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 1tLHCa-0007b7-4l for emacs-devel@gnu.org; Wed, 11 Dec 2024 02:32:08 -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 1tLHCT-0006qU-Ky; Wed, 11 Dec 2024 02:32:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1733902319; bh=6MckoFpzZm0iaLLYfGBOgrYdc189e4rXp9dTGjn7yms=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ba7yrLTVHaNj92B95e7HB9oD+TL/6tVpbKPrs34fT0UcnY9MgB6x5/ibgznch8h1I k29YCaaI3uW1u6ZI9C9WtX+gMW+KDE3oKOlHMEpg/icShmzCcCfN29G8NXKvK87U6w bn6FXN+irHZ0xDR/g2W1oWkblsO/C2tLhtY9U97BcH7WqjrHakTGcCPfziGq1QOkNH wFT79sv80/EYrL19pcBKwlSg18IudFdwFoedXzZqpwsVnams+s5RpVmZ5UBPbuI6Ou GnWCWfb4dF2CL07czz52ssx+eYHLx05EDuj1sGj8ezqibpyDZbkpddGc6qKT1t7dSQ xNnUXdDaRbgGw== Original-Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 20671133B; Wed, 11 Dec 2024 07:31:59 +0000 (UTC) In-Reply-To: <092cb755eee3a9b5e06d15c0b07e90b1@finder.org> 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:326330 Archived-At: On 2024-12-04 19:49, Jared Finder wrote: > On 2024-11-30 03:25, Eli Zaretskii wrote: >>> Date: Sun, 27 Oct 2024 21:35:29 -0700 >>> From: Jared Finder >>> Cc: Gerd Möllmann , >>> emacs-devel@gnu.org, martin rudalics >>> >>> On 2024-10-21 22:29, Eli Zaretskii wrote: >>> >> From: Gerd Möllmann >>> >> Date: Tue, 22 Oct 2024 06:46:15 +0200 >>> >> >>> >> I have (re-)created the scratch/tty-child-frames branch today, which >>> >> contains the code for child frames on ttys, based on a recent master. >>> > >>> > Thanks. >>> > >>> >> Disclaimer: As I mentioned already in other contexts, I don't want to >>> >> be the maintainer of anything, for personal reasons. >>> > >>> > We have difficulty working with "fire and forget" contributions of >>> > this size and complexity. Maybe Jared (CC'ed) could take a look and >>> > clean up the branch, to prepare it for landing. Or someone else with >>> > interest in this stuff (Martin?). >>> >>> I'm happy to be considered here and would be interested in helping >>> out, >>> but it would have to wait. I'm extremely busy at my job for the next >>> month or so and unfortunately do not have time to take a contribution >>> such as this to completion. >>> >>> I'll check back in when my time clears up. I would certainly be >>> interested in helping here if needed. I am certainly interested in >>> making TTY Emacs more functional in general. >> >> Jared, if you have time now, please take a look at this branch. From >> where I stand, once it works well with xt-mouse, we can land this >> feature on master. > > Yup, I'll start looking into this starting this weekend. Spent time just playing with child frames to get familiar with things. A few bugs I noticed: There's something in the C code that makes this branch not work with the mini-frame package (https://github.com/muffinmad/emacs-mini-frame). The package works fine in graphical mode. I'm using posframe for iteration. There's a minor thing where the cursor position is inconsistent when at the end of a line with a posframe on it in the tty. Maybe that's intentional? It's kinda confusing to me. There's also a major thing where I can click on the child frame in the tty and then my cursor is actually in the child frame and I can just alter the text there. That behavior is inconsistent with the behavior on graphical displays and something I can investigate. -- MJF