From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making `xwidget-event' a special event Date: Fri, 19 Nov 2021 14:47:39 +0200 Message-ID: <83o86guxas.fsf@gnu.org> References: <87wnl4mjd4.fsf.ref@yahoo.com> <87wnl4mjd4.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 19 13:57:49 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 1mo3Sf-0007sb-3c for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 13:57:49 +0100 Original-Received: from localhost ([::1]:36794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo3Se-0002TS-4J for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 07:57:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3Iy-0007Zg-EO for emacs-devel@gnu.org; Fri, 19 Nov 2021 07:47:48 -0500 Original-Received: from [2001:470:142:3::e] (port=51272 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3Iq-00051v-Uq; Fri, 19 Nov 2021 07:47:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/96eX1ZevXpkfk4g5JuqyPRwNOK3Mr24ahi7yaJxKL0=; b=JeNB0zqLkZ/5 rvy9AxrkqHZWOCnNt24YrzVaSx+OWzeGzD387q6RZfUej5Uy0jEA6wZlqu8sOf0IEnm58M4BXl/GV SumX+esMp+QFFzYRMpIx5I/oNHeiqMAz//69K8fmmFnbqtHaU8xn6P92nDIqfbl/c7zUn5N64bFCL Pnxfbtc0X1BFifOkwvo0gox/P3045JZNJTTtSavzne1Lk/8lP2AdY/gknhVe6BcT/ImyFsOFYxmbg ChVhVJnmTcHvI9MACNHTEcTyyIfjGbOH1+/PwVmtVXb05nbbFpT8Hi5WKAJxkQPHHBUiMdzGrL7cb 9JHiVCIe9Nl6NcjQEpEjKQ==; Original-Received: from [87.69.77.57] (port=2096 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3Iq-0004rL-75; Fri, 19 Nov 2021 07:47:40 -0500 In-Reply-To: <87wnl4mjd4.fsf@yahoo.com> (message from Po Lu on Fri, 19 Nov 2021 20:15:51 +0800) 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:279748 Archived-At: > From: Po Lu > Date: Fri, 19 Nov 2021 20:15:51 +0800 > > 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. Are we sure all the idiosyncrasies of processing special events will never run afoul of what Lisp programs and users want to do with the xwidget events?