From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: PGTK-related misconceptions Date: Wed, 20 Apr 2022 00:48:43 -0400 Message-ID: References: <87lew7qdtj.fsf@yahoo.com> <877d7lmmz9.fsf@gmail.com> <8999b324ff34f311f829644947337beb@webmail.orcon.net.nz> <87mtghw4xz.fsf@athena.silentflame.com> <2a3a06b390fceb0badf0e4d8aabc34a6@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6750"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Sean Whitton , "Dirk-Jan C. Binnema" , emacs-devel@gnu.org To: Phil Sainty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 20 06:49:36 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 1nh2HX-0001eW-My for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Apr 2022 06:49:35 +0200 Original-Received: from localhost ([::1]:60848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nh2HW-0001xc-8b for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Apr 2022 00:49:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh2Go-0001HZ-Qe for emacs-devel@gnu.org; Wed, 20 Apr 2022 00:48:50 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh2Gl-0003m5-VY for emacs-devel@gnu.org; Wed, 20 Apr 2022 00:48:49 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id BD11C10018C; Wed, 20 Apr 2022 00:48:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8C1E010011A; Wed, 20 Apr 2022 00:48:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1650430124; bh=icltUNaZEtRHlVM/5rCtGgp4TZYAk9Okyw0XgDnO6is=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hyf8XsGsPs5HrmcpokWA937lfgCJYYFNFPeShpDdu8cF06MMEbr88NHw7l9X6OF2f v199YuATjqcJ3U+3VVsZ5To5L7QCcS08zLFsGf8n2xRVx1mSrBYWCPPXGhlp/i4jEg CTGINmWqJVSuTw5azK+gvWEtLYvzXP0neUqM3ceCuAi5nYJH9p310WzWh+f8rK3fyT umEPidyNsm90pe8Ri16FtEdlzuau77IAztptJz3BlAap8OirNV4aYdE7fx2zt1oGWL 9y1Bi3GA3uIC6nA5P102/z8NprDey/yyc/WYqxYo3e6Yw2VVa24tgQbuC2K0beflDR X1WHiFaUL1UpQ== Original-Received: from alfajor (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3B4D212029D; Wed, 20 Apr 2022 00:48:44 -0400 (EDT) In-Reply-To: <2a3a06b390fceb0badf0e4d8aabc34a6@webmail.orcon.net.nz> (Phil Sainty's message of "Wed, 20 Apr 2022 15:29:28 +1200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:288691 Archived-At: > I imagine one could mostly circumvent the "remember to use the right one" > issue by automatically setting PATH based on which system you were using > at that time, so that "emacs" was always going to be the correct emacs. Ideally, it should be possible to build a single Emacs executable that can simultaneously open frames on a tty, on an X server (some using GNUstep and others using Lucid), and on a Wayland server. It would/will require a fair bit of code changes, but AFAIK almost all of it should be "simple/repetitive": it shouldn't require any fundamental change. Stefan