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: [PATCH] Add user content APIs for WebKit Xwidgets Date: Mon, 24 Oct 2022 08:30:29 +0800 Message-ID: <87zgdm3vx6.fsf@yahoo.com> References: <763B89A7-AF82-4AAB-A0E9-A04D9958CAE8@stanford.edu> <878rlianx4.fsf@yahoo.com> <9FF9464C-1369-423E-A581-A900D132845F@stanford.edu> <87zgdy97t1.fsf@yahoo.com> <63F00459-018C-4634-9B52-A89A3ED1AA36@stanford.edu> <0F1442C8-45E2-408C-B310-448B4A26496E@stanford.edu> <87ilklnxei.fsf@yahoo.com> <0583C9C0-9953-414E-9F51-2AEFDF225BD9@stanford.edu> <87edv8mlr5.fsf@yahoo.com> <264D17C0-1FD6-44BA-B8BE-28249374F7A2@stanford.edu> <877d10mfsw.fsf@yahoo.com> <874jvu6c3h.fsf@yahoo.com> <392D5A0E-AC2D-4582-8B81-777CB7C85D7A@stanford.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18521"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrew De Angelis , "emacs-devel@gnu.org" To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 24 05:23:17 2022 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 1omo3Y-0004ca-Rb for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Oct 2022 05:23:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omnbz-00037B-Hs; Sun, 23 Oct 2022 22:54: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 1omlMa-0002pI-Mm for emacs-devel@gnu.org; Sun, 23 Oct 2022 20:30:46 -0400 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omlMY-0001x4-AT for emacs-devel@gnu.org; Sun, 23 Oct 2022 20:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666571438; bh=+7btGqCSWF4Xt08UDbKQ54iuo9ErKzvKwoUud37V3fg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=KKsQD5dnSsPEpaAtj8WSmWmbnO7kXKXgfVSJE44TC7s4C0ERl5gdnzdScKy73wf1CmN9cXRhv5q6M5yTHMU/HLLfuZWMyMdF7TfAI9JHR7WDMcE+8iISmX76arnFM/qZDDujzQ5Loqy9blRBC4kR/SGs6c3UyDTdrqmqW9xZzbn7nNq8dT9Lq1kpjSOI13zYImrJ7fKxAdUUJlL7Z+Zss3YyLDoC3Mg8dolrfIZNrftCWyuuK6TXPNKjyWAflUUEKatTCkKQPQXmQhJDItIz0WvS7//kzud5jo5RcDQtA0JFTMvdCn7nTK1AmCGlwuws5JjNp7sAAu0crMolhSiRtA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666571438; bh=O5odPpRprl8Pt/Iqxj0hIZLDbheAjKg3LWgXFMv0jCr=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=nNgvSbUHd55ztwQQKCESd2tF/XMSjZRjNWRSmo8W9AVjAql5tVB3PK+tPjSmXnhSkN933CGUX+ITyr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pCZ8ThVM.o R.Ui2Q86fz0OS2Qhqmcnf9o5O4fZogbvgdk1883FIA X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Mon, 24 Oct 2022 00:30:38 +0000 Original-Received: by hermes--production-sg3-74fb94585-wlrr8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 98f976b153761f3fb7a8d45be350b3fa; Mon, 24 Oct 2022 00:30:35 +0000 (UTC) In-Reply-To: <392D5A0E-AC2D-4582-8B81-777CB7C85D7A@stanford.edu> (Qiantan Hong's message of "Sun, 23 Oct 2022 22:16:39 +0000") X-Mailer: WebService/1.1.20754 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.147; envelope-from=luangruo@yahoo.com; helo=sonic316-21.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.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298293 Archived-At: Qiantan Hong writes: > Applying to all related Xwidgets sound like a good idea. I think we should > formalize the "group of related Xwidgets" as some kind of object? Maybe > a record type implemented in Lisp, or a pseudo vector (which I don't know > much about how to implement). An alternative is to expose content manager > as a pseudovector, which will in fact have 1-to-1 correspondence with "related > group", but I like related group more because it feels like a nicer abstraction. I don't think that is necessary. There should at most be a function that returns a list of all related xwidgets. Pseudovector types are a limited resource. There can only be 64 at any given time, so it would be a good idea not to waste them on such trivialities.