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 13:38:36 +0800 Message-ID: <87r0yx4w83.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> <87zgdm3vx6.fsf@yahoo.com> <186D6762-A6AC-4753-9C3B-DBD482EB7C82@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="16867"; 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 07:56:39 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 1omqRz-00049U-M0 for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Oct 2022 07:56:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omqAz-0001Uv-NT; Mon, 24 Oct 2022 01:39:05 -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 1omqAo-0001Qk-VC for emacs-devel@gnu.org; Mon, 24 Oct 2022 01:39:00 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omqAm-0007aD-Kl for emacs-devel@gnu.org; Mon, 24 Oct 2022 01:38:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666589928; bh=8vGMVsUM02H1qAIp3W7h/fkvNGS6ClKDbJo29BH8MGI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=b+iUuL5sIjlgOMKJokbqWgHopPdhSFTFw+G6ye4iWL/v9tFBupczWoi9poMV/7tkiUZZxp3Qu7LbFTtRf+4qs3p4ZyF+hqcY9LhhBLTyjsiguci0+oj7pbFjv0SJQCtGVjcGDZQLrankmIxtfUKo5rL0zPMgrotZMovK46RUCumR2H3P3gwXqvQzNRz+Vck+szNYBNQZAenCsZKHjDss76cawYCmZXtiQ8QD4pqLvUTbSWyZ64V+MT4p9wy0gKcpY/PLeVL9sRqoAfPWzI46tisxE/5/5YuF5iMMwCfFV644TT4HfdnQwsWkxQqsuTz0xBW61mwP6/8P1CTdIiz5kg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666589928; bh=41ftdQ218G2V88KXj0TSw+31zngpV1OZtwe0wrsvgfa=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=knAd9aHhhlqcoS7OPpCpKg7fm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fznJBmNVcYVA6Z08IAHABww7ixHGz4k0ytp28Ij3bOn.n4snwDEg4Blo3xVIxpMskYp3pe 4tkgHl0ZNNE9.4uFgvRQIhWXbovjE73hc5R7vxd9_L X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Mon, 24 Oct 2022 05:38:48 +0000 Original-Received: by hermes--production-sg3-74fb94585-qwwf8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c55f55128f283caa94c0a188e0ae2974; Mon, 24 Oct 2022 05:38:42 +0000 (UTC) In-Reply-To: <186D6762-A6AC-4753-9C3B-DBD482EB7C82@stanford.edu> (Qiantan Hong's message of "Mon, 24 Oct 2022 04:17:09 +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.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.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, 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:298334 Archived-At: Qiantan Hong writes: > Currently, I store the ALIST of handlers on xwidget-plist. If we're > going to have it for groups of related Xwidgets, what is the best > place to store it? On the xwidget-plist of the head xwidget? In a C data structure (not the plist!) attached to the "head" xwidget. It does not have to be accessible to Lisp. > Or we should add another slot and provide xwidget-group-plist and > set-xwidget-group-plist, which will only have non-NULL value on the > head xwidget and is migrated automatically? What slot? I don't think it has to be exposed to Lisp at all. It's just an implementation detail, after all.