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: Touchscreen support Date: Wed, 22 Dec 2021 12:39:22 +0800 Message-ID: <87tuf1s16t.fsf@yahoo.com> References: <87czlxkntg.fsf.ref@yahoo.com> <87czlxkntg.fsf@yahoo.com> <87mtkziwhi.fsf@yahoo.com> <87wnk3h0hn.fsf@yahoo.com> <87o85fgx4x.fsf@yahoo.com> <8735mqh5tp.fsf@yahoo.com> <875yrj3m84.fsf@yahoo.com> <87ilviy3pv.fsf@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="27222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 22 05:41:02 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 1mztQy-0006sM-A1 for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Dec 2021 05:41:00 +0100 Original-Received: from localhost ([::1]:49278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mztQw-0003uN-Jr for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 23:40:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mztPc-0003C0-Bp for emacs-devel@gnu.org; Tue, 21 Dec 2021 23:39:36 -0500 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:36133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mztPa-0001Ig-Bi for emacs-devel@gnu.org; Tue, 21 Dec 2021 23:39:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640147972; bh=CZMT+jPUy6jSqY9IIkMBBVQ5w7Xj/v/RhljL9UrKNLM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=M+jYcqpVwhl8RB/oUGSPDX4HHST1F7cJZsajXz6hUuwZMXr6CdRkhFk37aGX3OvuJpdykSbqKIF0efxwaqIcKirNglooO9GJIkuRzUtVEiLpfFJemC24rzNEKOR0E6jfNdc6ucKGBIHOB9ZN0XI8IN4d/Vflp+IeV4h9TRPJ4ebCHum9kThfENjadbUD0gXI94k43Iigd6GT4qK4ByDocFsnKk2WdxIJ9wY7wNFOeALzrOIOyeVsdPXsL3FhmEOXIMM/joc4nOD5RAlKlH3OcsPF2MRrA/SnC/HBU1bHc1Wg2G9ZKs/qnjw9N7EUPWhyEMABkMyZSavZYVJB4wwVng== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640147972; bh=BxrzMmWWGb4U53W1ai0CdqIc1Fagif4P9nkbA3bBxSE=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AP7Z2iA4qOAlyBV0nljSWi6vrHVDpXM6GnRZMK+FbULCIv3z7wWdJXKt8CUNADfpF1VEb5SGe1Ac2eh/mB0x+laFxEWAXYIBpPSY7ML+1/nmOZff5MwnIVmqzd4+Y9uFEcPtANdvNn05W5ShVxnTNPAvFz7awWVw7xK90LPwx1NENQwn0e8LGvZlWCCs0SAHFXPTVge7BL2X8jDMIzQGM5k/bpuhAEKtqyPkEckk0LTCweHa55akmI1tRIr4cAqvli6ZtG6+t1cphGeinTQub8liR3f0SfaVd3cJ4fP3ABDuMCRFVbfuMrqpmo/OC8WH72yOYMxNpEvoed25N1BPzA== X-YMail-OSG: Ry2lnDwVM1m_tQjnh0rdByUwQFN0pVAm5zVII2Q1_0WXdj5LekTht8fra9_tDeO uD4Vw365DYF3nJ9NH3ZhcaOZemZnHgaGWgBIZXtZ9tWxtccKQrHct92zeHH258VzHqFyCmO.ssx4 VOftvftUaFthGwb2hQoc0pPOvMy03kKIORGxgDL93HWBZOxxQ9zB9j6vaPr0MXYEkSEa2SbPz3Gl FOteiDN1aPJK2tN3gfG4khtbhigAd8OVTO4legMMhRlOvsXOUQaAWZNJ2Z.rctnh96V8PN19fdbH 0ALp3sDzbkb8VGRG.l8d.nxnP_AaX9YdThgfiR.uf8wv49913Uu5C6sMBJuUyj0OtzfT6LpNEo1x yE7I5LH0eeBuYMiloSopvX9hNsRHGWtkaScTarpeZHu33O5EKRXEGBFMFdjaG314eLc2NmRl_paW urfU64QF3YktTaHcwgiNsfyMeikCaLWwSBhMssZFfsLweywP37E3FydbOuQHnSCdip8pmZHe01TW 4FpAyWzj3NVvXx5PUj8PesnTXNKSDqfoxMWOZQw9EWDyaAPKMhwPy5J.hG_5eQF3KmwSlSmJLJmT F6_7SJmBSpHoHHRzxNEB.zidLdtsTD3PlwCZJhtE.xaJToNmIsfWpp35FVorwajJjDhKLaByMMEd 8eG3wWGT_Ndndqciw9KmSwgDytsAVLOEADCL1DF4q8s3hM2EVaO6ADUvjCDD23XU3neeqYzSHHXR KcmnPbLPFLGR.UhHK13IRX4Xo_aAJVL.ImVuomd.zFcRPzZ2J9LCsC5uldQDLU.1TeM4E5OzuVHq 2ay6_9HpAxj3WAAWfafnRRIi5VrNeGVzX38mCNtFfb X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Wed, 22 Dec 2021 04:39:32 +0000 Original-Received: by kubenode502.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e5f6a3d2e36795c6e01954dad37aceb9; Wed, 22 Dec 2021 04:39:27 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Tue, 21 Dec 2021 23:16:20 -0500") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.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=unavailable 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:282677 Archived-At: Richard Stallman writes: > > For example, programs in GTK+ aren't supposed to create windows or > > widgets manually anymore. Instead, GTK provides a system to create > > "applications", which run in the background and respond to requests to > > open files or to display a default window, and it also provides an > > XML-based format for describing the layout of widgets and windows. > 1. You say "anymore", so I wonder what that refers to. Is this a > change that was made in GTK+ since we started using it in Emacs? Do > you have a rough idea of when that change was made? It was made a few years ago, but I forgot when precisely. > 2. Is it possible for Emacs to work with that new method? Yes, but that would require very large changes. For instance, Lisp code wouldn't be able to create frames anymore, that task instead being delegated to GTK+. > This is amazing. Applications are not supposed to support dynamic > menus at all??? Yes. > 3. Surely Emacs is not the only system that handles user-defined > menus. How do the others work with GTK or with GNOME? The GTK developers have decided that those applications are undesirable, so they are not supported anymore. > Is it possible for an application to submit a new XML file to specify > modified menus? Yes, but it's a hack that doesn't work very well (i.e. you cannot define several kinds of radio buttons) and is slow. This is why I defined a custom menu bar widget that tries to imitate the look of the built-in widget in my (WIP) port of Emacs to GTK 4, instead of working around its deliberate limitations. Thanks.