From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: "Final" version of tty child frames Date: Sun, 05 Jan 2025 04:48:47 +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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24957"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: martin rudalics , Eli Zaretskii , emacs-devel@gnu.org To: Jared Finder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 05 04:49:46 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 1tUHe6-0006MR-MR for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jan 2025 04:49:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUHdH-00031R-8a; Sat, 04 Jan 2025 22:48:55 -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 1tUHdF-00031G-NO for emacs-devel@gnu.org; Sat, 04 Jan 2025 22:48:53 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUHdE-0002EZ-73; Sat, 04 Jan 2025 22:48:53 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4361f664af5so151552355e9.1; Sat, 04 Jan 2025 19:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736048930; x=1736653730; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=NL767dUnA1ZrVTYlZ+pc2UoWl94tqtqClafRkQXcb3k=; b=PHWnpnlxw5IdGskZ/tDaVyRUN06QsTOyRuj1ZSuUud0bXMBu/WMdmy4+SxexgXfUd7 ZOD0URtCNC6Ffjf6HopJC4NctuFSVwo1dg4oI5QyS252ND/jG/jhz2z6qAltgWBHz0Zr ZGJQ5CGDeXCP3KI3GocMTWMq+UcER4pYRoHtwAX2tHibkMeWpQQGvMsdGBRdhj/qHMNp z4FXBPlD7x6g7cJtfThLxjjyDYfozM0FWPC9KReeSl9NU/PXfvOT+6GSKAFfKmfmskTj bCMBkbZNaxq9Ikgya/41Q+WyX/cqz1jPg6+PXXDUEUR5xCfFE7iP7RE6mMLoD4XuaLSh Lxqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736048930; x=1736653730; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NL767dUnA1ZrVTYlZ+pc2UoWl94tqtqClafRkQXcb3k=; b=YBtdejpd5Q9YDjcu5opRQIeP7iZaqxJs4/DYU870fPh2fk7JUlJtELGeBKsTizR7j8 TzcT1/GCeIvLgRHNivDzyvLXLYJTC2xvCMBKgYo5qFGxbG+wNyFYtR1FvQkVRBshDuyy nurSVuyXFy/cjyjMaOMhCnE+EFQzgtuSLhX9vRpmkqATH6HHffcTrjTPTN3tWphGFiau lK4hXyaT+0psGIFeMAW+rrxiMGqt5UW0quNlqo44YxvQVRo/6ut8KILIIC1EMKQWIXcX f9KbES3sqpDEu0ZDKYLUJoSygt9o0dPD6bpBvK0QOQS0Bpyxkp7EB46dpzyg81jg6Aag GGWA== X-Forwarded-Encrypted: i=1; AJvYcCVh/Gs4ansPPIRdTnb1KlGxjZg2dhmCZwjLvdAxYPeEYgnvNDFCvI3NCc40ftDUmBftDmkr@gnu.org, AJvYcCXDx6VWsoD1fxAVAAH5Q7BUe/xL7Latn5E1gNZAwZR/l+NDufE2uyBZwsjW4r8mnZtgRaRGlKmt3cQiF/Q=@gnu.org X-Gm-Message-State: AOJu0YwxVau/b/OD3qwBjT6g28DGjrk/vn7JjxslH0Fw6CZfBNl+mASh kRXoBOBs7Gk0P80w9an2+e5fah2C8+0uCX/MGqK6MbdfevK3kSWgvt6E4g== X-Gm-Gg: ASbGncurDvNWrIYu9veCla315REIwYVtwxbm4NX9xT4++os9zTaqwVTE4abg7vFkdzr ZAgPTD+ElkcGVs057jgWiAVyNGwD0Zj33/rAWnN+u/4zyAWsrd7T3e+HWVrYv8GWTk8Nb/LDgs2 AR5MsJ61XtiUxR/HliH+9F/JKg/3WKM4pdVDBDylqryw0mvb5Q+0WeCH6lzIdgAaNHDmZKZ4TuE jgzXhh7eVjhDXSyNCtUSMpQeUVjVEuCV8FGi4ortS8bBoITRNipBtwiw7SjhaUQ4IBf8jptmq+n XGpJq+O8QrzZXnsda5BSfX4SjJxcSQ6dHEQurSV+pBC70F+QkVC/lLu02C5QiEzSiQ== X-Google-Smtp-Source: AGHT+IGj0oZFnDh1C7hv2xidq5kV69CBH14uOy0T7F2TOCPoG3wsiB9BZ288s5tcGwvC2iJG1/6z0A== X-Received: by 2002:a05:6000:186d:b0:385:f0c9:4b66 with SMTP id ffacd0b85a97d-38a221fa022mr52704095f8f.33.1736048929539; Sat, 04 Jan 2025 19:48:49 -0800 (PST) Original-Received: from pro2 (p200300e0b747500078d774d9859911e7.dip0.t-ipconnect.de. [2003:e0:b747:5000:78d7:74d9:8599:11e7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a6ab1sm45701983f8f.87.2025.01.04.19.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2025 19:48:48 -0800 (PST) In-Reply-To: (Jared Finder's message of "Sat, 04 Jan 2025 14:09:55 -0800") Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32c.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:327699 Archived-At: Jared Finder writes: > 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. I think you want to take a look at dispnew.c, functions combine_updates_for_frame, and there at this part /* If a child is displayed, and the cursor is displayed in another frame, the child might lay above the cursor, so that it appears to "shine through" the child. Avoid that because it's confusing. */ if (topmost_child) terminal_cursor_magic (root, topmost_child); flush_terminal (root