From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: SVG widget in GNU Emacs Date: Wed, 27 Oct 2021 20:25:14 +0800 Message-ID: <87pmrqr6xh.fsf@yahoo.com> References: <87bl3kcrpl.fsf@yahoo.com> <83ilxrc2ys.fsf@gnu.org> <875ytrc168.fsf@yahoo.com> <83a6j3c092.fsf@gnu.org> <87wnm7al92.fsf@yahoo.com> <835ytrbx8s.fsf@gnu.org> <874k92sstk.fsf@yahoo.com> <83mtmuwtv7.fsf@gnu.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="13153"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: ak@akirakyle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 14:34:41 2021 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 1mfi8e-0003GN-C7 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 14:34:40 +0200 Original-Received: from localhost ([::1]:57096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfi8c-0005O3-Oq for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 08:34:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfhzs-00060m-Fm for emacs-devel@gnu.org; Wed, 27 Oct 2021 08:25:36 -0400 Original-Received: from sonic316-20.consmr.mail.ne1.yahoo.com ([66.163.187.146]:32814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfhzo-0004sh-Gd for emacs-devel@gnu.org; Wed, 27 Oct 2021 08:25:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635337528; bh=4I2+ERebkayFMPb2VH800TYppQU5TqrUJnYb5ETtAR4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=sUaf2UbZW7lk2Wsc8jnQp+FnG6FHWLWpMuTUbSS5weegNfRNngWspH3mZHuMLKAariiDTCqqPCtvoXAhZRpo9R5mkDb7gJzQk7c71TWn/hj7Aj6NO+G9zv3g4hjdw/ZpuwFH3M7V+/ESoQGDf0WPFfE/j1dd4rBxpqGtgydTCzQu2jLyNtuhvb2aW6GGn7SVUH0D7OnfTbWziedqmtU12uInsc00iN6d/8jzTWb1JCAzy8rSaFuIirQCoEYJVsqZA/kVKlfdq0WJvvZ63jiwE/UoZXJfeqUAMhqXZN+r5fjldAijtE4nhNL2QIp/dWgL3TW9Mv+izQ9Dp5tFULf0zA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635337528; bh=Irm9c5esZX6jBXdts65DFSpoW1+XHA/sAMuiYP11IRF=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=DNF0NVw4H4n1ny2ANxqas3X2L4CZDP5lnDEZSvZBOQQyJ3APmPffjCWt8N4VlE7xd/K62AlRupLlwkrYjNXA8TRnO1+PrLK0gHtKnJPxxrQea1bw56j0SSQ/9Sin44Q9rjRATZkXhQlzOdOiQ5NvgqLs8N9TV9XtTGz8qWuvs30yXOMzNS8J3IkkHcpQleijS+/A84G5zLx8E5ivsWgrObnh2aD/cqr6Sf2q8Q6mG2f6xCwcpsJmPovUz+irCTLP7UTUhxIVcgc+1ymWslARquOwSleQ7mLuk1a4p+PpShzKMkg1YJRAGXxBpDGh/uqH7vOCpVwnEA8UZF2fCM6tBg== X-YMail-OSG: bat7waYVM1nQv3sr3z8.DK7PlQsObDIzlxSSVfqb.c3H.3YHTbLww_xtoKoT7Jw ggZN86JVfepl5sZatVvxqMyDkzRMqt5Ecu.HGyvEqZnC9OWKpCWXZdwM6KrS0ednnR7xRMQMW_CT qbir6N0GwvoowTSGECRVHwXahAw2uLsF.JzNzVoh_TR1Su.B3R3vkGuNia.7wAcxd7qY1KAGqWba NJ4b9r8CZaTH4irllThOe7zvXpvPryAiGiYWNtnbxNNNX95DgesErzUteHhYGEMy97Z4mIecfYJd bfX.02NQ9TXSApgQJg6AzKNg_qHDG.x7s6Q8QOQHqJzzQOmygdLSovB0bH6lYyfx2PwrCuux4K5G Y3akLgsLMwInOswP_TiTz_5sMShbx0kfxRseKL_oxJTzGob5v.bSRQsmz3s064A0gLhxnPmzTDzK Tb7PEilGvNkah.UTXH46bWPT5Bc_A4VhWhGvthrpEjOztSVl5pUK3.6XPAqlfMa2gmFLPZiqNItW 7O0K0e.FdL3nMA.Ft4Mf2KjVfDca6qK1.XItXsekxwg2C5EtutJ8bQz4UlkLNAZliufx7C3wcBe2 WxEj6dZycCe5mvesjxNkX4JcSlTnUjOPS5nU6DLK.x.5j3ri8vfppj5K46c60crJl3MtCV7jUypJ cmqq_3aZgsn_xPHtr5QHKkOr6LY9QB3AfT51poYCV33ZvnYQ30ZoJlA3u.iKOnxWbHnrXfF5H7ZK qBam1RhDG5Y0GgRm0lvosJ0VThrd2GCkhe879RihFlbRbOe8RTXaFheteqat1OUWzbrHJPN7GejQ .YyOm9go7XuJ1begrVF1Btf7HvReKw7nYxQgnKoK8k X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 27 Oct 2021 12:25:28 +0000 Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f6f11b8fff97e2abeec63cf94f76954c; Wed, 27 Oct 2021 12:25:21 +0000 (UTC) In-Reply-To: <83mtmuwtv7.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 27 Oct 2021 15:10:52 +0300") X-Mailer: WebService/1.1.19198 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.146; envelope-from=luangruo@yahoo.com; helo=sonic316-20.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:277948 Archived-At: Eli Zaretskii writes: >> I understand what the problem in this area is. But I'd rather have the >> existing and (mostly) working xwidgets feature fixed than to waste time >> implementing a new one. > If the technology on which xwidgets are based is being deprecated, let > alone a dead end, that time will not go wasted. I don't agree with the statement that they're a dead end, as offscreen rendering is not deprecated in GTK 3, which will be with us for the foreseeable future. The changes introduced with GTK 4 are not relevant for GTK 3 (and are of a more fundamental nature that put not just offscreen rendering, but even the use of Cairo in danger). Fundamentally, NS xwidgets work the same way as GTK xwidgets, by displaying in an offscreen window, and then copying the contents of said offscreen window to widgets that are created for each displayed xwidget. That NS xwidgets (based on the same principles as GTK xwidgets), in Akira's words, work better, shows there are no fundamental barriers between briding GTK's rendering model and Emacs's display model. Thanks.