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: Making `xwidget-event' a special event Date: Fri, 19 Nov 2021 20:15:51 +0800 Message-ID: <87wnl4mjd4.fsf@yahoo.com> References: <87wnl4mjd4.fsf.ref@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18783"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 19 13:17:06 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 1mo2pG-0004cG-Ce for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 13:17:06 +0100 Original-Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo2pE-0000N3-N8 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 07:17:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo2oN-00086y-Ns for emacs-devel@gnu.org; Fri, 19 Nov 2021 07:16:12 -0500 Original-Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]:44959) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mo2oJ-0007t0-Qt for emacs-devel@gnu.org; Fri, 19 Nov 2021 07:16:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637324161; bh=bRpdQHHSSnlhFPMLpKatRZC+sOIgMzrEZQFfp3GnS2g=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=XqctgqfXYX6SaR01rJLdMrijBzamoOlXhAaruDOm+nkzAhIv/cYCWGwcnsJ3b0PmWp2EoAU1s4X5qoZq6fl03uTkVvOdie6FT9YyAIhItT05a03atZ1jJJ1BqMIaNypiO02ZN6TSYOhEGAwvCjKr/o31SWcMDGZUUVO5kRNjlw2GlBy8RSBTNPm6Yxm8kMJqerAAZ2bXPbFlPkCxLqTdHzBAqbGd0wxYQAyCfiTI9pAQdrr1zTfykObrNIdaPGP7MRG2YGVUPWhyTRTq0xyZULnrexNwvTYcJeuaKXi7U+YcYhffMiLvIwfHOZnCBa/OAYcGBYStMNmlDjYa3f3AXA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637324161; bh=wMDc3ReY1EY7n8Y/SD0HjI5ioe5KeVMTaKwIf5qgJ3D=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=uDMN+T/CZMX5DQBP7J8ngpUCh8tq/9Z77sMTOFottHaeITYWVCbHsO5EZXursTM89WEw6tvrWD/fSYHQ4ij4mEuMQn8CwrTzFoakgI8gCMJYp9eHNijd4R/LqtkEC9ybHhLPGs4erE4Pl8ct46rctBKjN5Ut2xNinok+zufOOj8OhB9LvXfJl+2PTvTpWRYWkne4AXcSjZOyfaPVtpd3c3zTc95xmL9VtCakGYtTHE1SMKe1asgCqTfCDg1grxEQ26kjxzpeeash6fbL86Zh66GePx0AFbIad2CoBAgPUkT/e68fwFj/MHj4Wtg6FchSVOgBhaBjtBV4plowGExDlg== X-YMail-OSG: kv4_I2MVM1ny8UnZpnKVLu0qraLFXyBmVfaRL7PnFyotrn9CHWhZzVO8Jq3wfOJ 40H1IfJyltFC0hed1PP4YUpBAvg4OSgC7sqGdlV.0hhDMqkFfMKzu29L2UYIApB1iJ_Ztr2F_8Nt fDE_.CGCApyD8pVLSFL4fW9ZRTVqyUpPMDlBIMcNaDsC7_z_zCRSO_kVNmLuf3v.RU6HzdtfVNSd q9T0Rh_eM3H.tYnboZM7LIbmBVKhTgw6TriMy.gD8KfGcB1_M19S0VnPpyEwjahLthBoCregp8hi _DEN5ezU6XOFFUpCEDznVuP1oUs5jfSPxGUZiaev_P8bHQ7o09d0DZM.OvDz1tjevUvuukPlXr.c yEKUrooMAuCSOUZNAUO2GxYWAd77oXQOMiC17XoRA43xEQIVCLT85XvUK_47aj7qqTtHlcmypkMy 6MHvBG.1CIwl7KxOZ.S_cNLVITc_YPts1.p61wg8omexrjglrWji5zwXouFuKGEgvSXvSUaQYya0 RlL5VImPjjKM3KVmjaj2N.ihXZySgEIPSdyGGLUIyRLFV42f_cCFNbdYz1XWF09d3W_S55DATNvm ckm0gy8eE5BWk2nJ1bgNDbGBmsSBLEyXrqXrQqCAcPDiFRp1uHnYU_baJmnt.tY68HCCprHxBI5K PU1QrEqcE4yRyzJmTb33Ebi7aroHYnub6yWMiSv45_ds3XyJvXe5zsNboPhvteH1BgMGJZbuBi6M u9fXuIhBECZTE5wd7L0Gyaa4EWSIwoCKCXLJzOAYEfGJTK5HUop8piA_iaYYAZo89PlHl8_Xekz1 4fy23BEJaIVGPmDndqPJSEtdj1O_YFofH9XICseoEL X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Fri, 19 Nov 2021 12:16:01 +0000 Original-Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 24e20e3d339d8df941953b2950369aea; Fri, 19 Nov 2021 12:15:55 +0000 (UTC) X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.31; envelope-from=luangruo@yahoo.com; helo=sonic313-56.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: , 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:279745 Archived-At: I would like to make `xwidget-event' and `xwidget-display-event' special events. This is because `xwidget-event' should never be grouped into key sequences or echo, or the xwidget.el machinery could be confused. For instance, if the user hits `C-x' and then immediately afterwards a "load-finished" xwidget event is sent, xwidget-webkit will not receive the "load-finished" xwidget event, which causes it to keep displaying a loading indicator regardless of whether or not the load has actually completed. Users are supposed to use the `callback' property of the xwidget to handle xwidget events anyway. This hasn't been documented though, and this deficiency in the documentation also exists in Emacs 28, so perhaps the documentation there needs to be updated as well? It also doesn't make sense to put an xwidget-event in a keyboard macro or in unread-command-events. Does this look OK? If so, I'll make this change ASAP. (Also, where would this change be best documented?) Thanks.