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.help Subject: Re: Running with both PGTK and an X toolkit? Date: Sat, 11 Mar 2023 10:08:34 +0200 Message-ID: <83cz5fyakd.fsf@gnu.org> References: <87pm9ghg28.fsf@catern.com> <87y1o4f9z1.fsf@yahoo.com> <87mt4kgll1.fsf@catern.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5494"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 11 09:09:25 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1pauI8-0001DU-SF for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Mar 2023 09:09:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pauHk-0000O1-FQ; Sat, 11 Mar 2023 03:09:02 -0500 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 1pauHf-0000Me-33 for help-gnu-emacs@gnu.org; Sat, 11 Mar 2023 03:08:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pauHZ-00074P-K3 for help-gnu-emacs@gnu.org; Sat, 11 Mar 2023 03:08:54 -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=0Ac9o4ZmtjMWDKWyFWSeQq1gi1vPK2M90s5Kgk9FRMI=; b=GldcouaAlkpY Ily5Dq/buyLCnBGIqrCFqTWmJHwq6RRKk50n46ZjABtxhKmA921aFGxSvVAbyml2JfIVsSLvh62T1 4J1LAHWQekWPRa6u9zoltE9ubgV49GC2xk5Rjc+ELvjpcSJRquBu4bQPy9PONzZNFPdehfPuMdVG/ jDYp+JrCc+cIrw6QkHHGDxObDwwYSE4G2ujmkXNQ38ufJHqKPMs6VGJsl3+YSUMJuNJoDgPSY4UyQ HE+iK+XBytumbBwWRfP2tjcTI1cK439PBDGhKgk7bL5jWw4Q85ttZeAOQPjCsBKZYzes0rXkD20Qg AtxuFNZxx/ohmWUA15B1Hg==; Original-Received: from [87.69.77.57] (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 1pauHY-0004Fj-Uw for help-gnu-emacs@gnu.org; Sat, 11 Mar 2023 03:08:49 -0500 In-Reply-To: <87mt4kgll1.fsf@catern.com> (message from Spencer Baugh on Sat, 11 Mar 2023 00:47:55 +0000 (UTC)) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142980 Archived-At: > From: Spencer Baugh > Date: Sat, 11 Mar 2023 00:47:55 +0000 (UTC) > Cc: help-gnu-emacs@gnu.org > > Is this a change which would be interesting to upstream? I'm hesitant > to embark on it if not... Yes, we are definitely interested. > Also, are there any smaller component changes which would be interesting > upstream? Yes, these changes can be made piecemeal. We already did similar changes in the past, like converting the x_*, w32_*, and ns_* functions into platform-independent gui_* functions. The trick is to make this safely, because there's a possibility of never reaching the end goal, due to Life(TM) or whatever, and so too deep changes that increase complexity but are not taken to their projected goal are a burden we should avoid. Small changes, which make it easier to parameterize the implicit window-system dependencies and make them explicit, and thus move us towards the goal, without introducing unneeded complexities, is the way to go.