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: Q: child frames on ttys Date: Wed, 21 Aug 2024 10:03:33 +0200 Message-ID: References: <86ikvz302s.fsf@gnu.org> <132fd5ff-bcdf-4d93-acab-186e52f80d9a@gmx.at> <26111134-1d5a-4ddb-ba4c-b0a5891cbe0a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25447"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 21 10:04:30 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 1sggKS-0006Tl-WB for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Aug 2024 10:04:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sggJn-00013j-03; Wed, 21 Aug 2024 04:03:47 -0400 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 1sggJg-00013O-4O for emacs-devel@gnu.org; Wed, 21 Aug 2024 04:03:42 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sggJd-0000hK-AQ; Wed, 21 Aug 2024 04:03:39 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a8666734767so83726766b.1; Wed, 21 Aug 2024 01:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724227415; x=1724832215; 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=golUXbI/yZ8+GERF0LHbXxgDx2rU6druhQyUUv03EnM=; b=Vy+4H78B2eXIHPhjzU12twwr3esb5b5x3IKKmja1ry6m67pabwzRaxYkLMr+fhQNld E+1CeNF+6Fwl1s7lgi5aseYWtV4XXPkYMLlG8Y5kojcaZm6fDqhGVwyjgkC4FrQWwaGy lokFIluVvtRjUU8hVQJSR9Ea0vJAQCvZPBmZxVFERIdP8JVMMU3oRUib5r6TrgjKo7pP pDQAFCW1Smf00U89iuOIqJ1SWEJkQvekfHDcmNsRXkeCmh9a3wj8ZMWWYZ63W1LInyMO 1UVRmQ8xeXct+Prqx3vPti+EC75MkZezwRQBpZcAvkM3ieTYlq2dKXlJt+jKAke6n9tU lS+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724227415; x=1724832215; 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=golUXbI/yZ8+GERF0LHbXxgDx2rU6druhQyUUv03EnM=; b=INZhWKdxCmpabd5X3TTGRcT1YnXLMBiQ8GvPTCnibDhkwnisKzkiiZg1rdRGbwMpcp tkKpzCnWdnt6UcbmwRC9vVzuFFaWmHZbuRzOQGQdecMFe7bhg/c7Pw12JYnkDFRnACXP DN6e9gydW4i96wnkyt04teFVa1KXsHvhfy+VEpQX3cyfMYHDSbpBNfes7O6suPFn5cAv p8MKR7dVPhIqIsDp/Nga1LmWGeLYMWrUG0GiNQeqTEnjiB8vAeEissTyFrWtfxOkogfH YlhoPIHFYu5t4lbv70NmT1xB/ZV/+EBJwcS1oxtJ+G1HHf8Em5+6fZJGVd9G6sRMR4dy FbTA== X-Forwarded-Encrypted: i=1; AJvYcCWtfUp6aQMtjl+BFz7LlJuobMzLuXDIggBOLsdGwymzzX2aGcdaPxMlJ1jzGDlfUfwV++Ixmz51kNy4bA==@gnu.org X-Gm-Message-State: AOJu0Yx7FXzVuFOL4lbKtKyBfTYzEL669RDiwJB5GE7+7HSCqWDEbYy8 E8VXCWmMGBr0pW4k2y3poAOkghtNBt8qmS/7MLTiGFME4/Az8A7YZ63VEA== X-Google-Smtp-Source: AGHT+IGUAThp5FAyJQUJ8qwld/XyCSlRxLT55s6hNCG4j0ChuaKFjKmtGOFypd3WpJC1pnuFUvsc5w== X-Received: by 2002:a17:907:9810:b0:a7a:b73f:7584 with SMTP id a640c23a62f3a-a866f35efa3mr116061166b.34.1724227415031; Wed, 21 Aug 2024 01:03:35 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3ae30.dip0.t-ipconnect.de. [79.227.174.48]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a838393564csm864146566b.128.2024.08.21.01.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:03:34 -0700 (PDT) In-Reply-To: <26111134-1d5a-4ddb-ba4c-b0a5891cbe0a@gmx.at> (martin rudalics's message of "Wed, 21 Aug 2024 09:55:35 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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, T_SCC_BODY_TEXT_LINE=-0.01 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:322993 Archived-At: martin rudalics writes: >> 4. Making a frame visible means making all children frames visible. > > With the obvious exception that a child frame whose visibility is off > should not be considered. IIUC most applications show child frames only > for a short period of time and make them invisible as soon as the user > reacts in some way or restarts typing. Thanks, that's true. > >> 6. Update: Build frame matrices for all windows visible on a terminal. >> Copy visible parts of child fraem desired glyphs to root frame >> desired glyphs. Then write to the screen. >> >> 7. After writing to the screen, copy visble parts of root frame >> current glyphs to current glyphs of children. > > What does the current glyph matrix of the root frame contain now? The > overwritten parts or the original ones? Or are the original parts > stashed away so they can be easily reused when the child frame is made > invisible? The curren matrix of the root frame must always reflect what is on the screen, so that we can decide what to output to the terminal to make the terminal display what the desired matrix says. IOW, the parts of the root frame's current matrix that were overwritten don't really interest anymore.