From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: "Final" version of tty child frames Date: Wed, 11 Dec 2024 10:39:02 +0100 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33143"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Jared Finder , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 11 10:39:40 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 1tLJC0-0008Vm-Lf for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 10:39:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLJBb-0003JY-0d; Wed, 11 Dec 2024 04:39:15 -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 1tLJBW-0003Ho-Bo for emacs-devel@gnu.org; Wed, 11 Dec 2024 04:39:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLJBU-0003OC-LO; Wed, 11 Dec 2024 04:39:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1733909943; x=1734514743; i=rudalics@gmx.at; bh=RO5NwBSXeoHsDTIUSWYkaNXDymAl6X8+eiu0FQeqC2o=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=ltZVllxKLJFdDL3sQ2575l4gx3lgWUm7rBM/HdJhngyQS3QPDk5YR56mgXBiL+gX PDxhWFeZMYiqg14URMXKMLtIZJEbq9YrmzurWz5uLBnPfVjwDNp9LiNCfhw+AA2II FpeWmXl/qzcM4D6lBm4S/od/H5b1T2BDodA7Z3Cohmx+LzDS5rR1KTpolH1e9lDb/ 35BTPKRL91Cfua7T9gWXHhInvURL49grmno2jxxJPSgDYdv4uUoF7pz6sC1RiJ5tb l5bUWkLaAwDk7I+1MRWmqdkMuSSyQ1HJdhEurlIGC4KhHu+FShRFqbSOtQwQGk3Sk EeRnKUIFzPWK7lmkwQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.97.12]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MuDc7-1tbaRu31vJ-012HFQ; Wed, 11 Dec 2024 10:39:03 +0100 Content-Language: en-US In-Reply-To: <276414b03c24964aaeb9e43e8dba5e77@finder.org> X-Provags-ID: V03:K1:zC4Wh8QsUpb1fuEnd5y4IF7El+TxaMf3flUWWXQs/RLP72lv8wR VUzuPst953xhPEGjiCrK38J/QyzNpDXH8OLajzxnKJ7BovoTnMVUgtnQPFKM9CaerfAD4Dh qV71UPHNRBedX41sVXjP4wSTSMBq0hllcAjkQOq3f4a5gyblsQq3BmUs8heuOJ4tkwh9gDM u5a5/p89XVgaM9eN7eEVw== UI-OutboundReport: notjunk:1;M01:P0:lClLGBnYaDI=;9KzoEziK8nR9mmheH8vqjXmCrVw ATo4ZguWcUJHXnVYcxZWSCsiLrcWnEF23tvc89yhCwHqQEm6BoU1+6mnQlpGC6ldgb6p3zskr bEiIbn5uT3LK+8vsaEI+MUhE1zY/1JKO3MvPRi094M6ZFFJRzU72R24tB9mNObaRR8/Gmcq2l Hl+qBtO2aG6GwRZCGfvqA3NfpskjBcoGlSiW1T8QAGXOlIsootY+VJF0+Kvhhwlc6rJvFAuKC prIyNuT140lGbNfbE1VUc1Iikbjl33t24ccpZHj4NgJUVJ4Lf5V6/RawkKieuTsEShbgUURuu EbB+r0dqgrZV6WPhf2v+/3gCfJczjg9nOf43PTPIgtF4vMrO089j6GO11a7GzhpHqizmd8rzD Ckk8xsqlK+FcJeYC6EMh4ii5AsIfNXXWbmjSlU/z1Cpx9nI1D8ERXTyTbU4IEdgfgHmg0/VOq 7hXApcoWMYAyheFmim0gpZmNmogKV7GEUOYhESV/XRlUZmvuiKCZm9YRieXiWhAlVTRqsJpts mZupV8YYG/uOqX+1CNvhYdcSSoqyE2fyQqZeqzCCmWThiFq6lofG9pq+WW5dky56gasolgrUE T6wuzBNCL+Gz0lX2yhIa9nf/IIHuY6NJAy3OdtX0uE7C6kk9nr0YBzHDlE57/I0YhOzRT1XFh rBCa6IlYt+WNKHrVcv+XoQraNWoqijnGhNCtT051nH24opEzm/J4cHRuJXaekJ+Hyxf+smPxp QYHmohqDpjGZkRD4ZT9/EDdQKQDcdDEiGU9zmRRwISY3oAKdkKBuZXFwFnC0fU3k4qbzbsl3 Received-SPF: pass client-ip=212.227.15.15; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:326336 Archived-At: > 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. IIUC I use something similar to the mini-frame package and it's already quite hairy to make the minibuffer frame pop up and automatically get input focus. The input focus thing will be hard to implement on ttys. > 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. Is the cursor in the normal window or in the posframe window? > 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. Do you mean that you do _not_ want to alter text in the child frame? 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. martin