From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#69525: 30.0.50; MacOS: New warnings on stderr Date: Fri, 26 Jul 2024 20:36:57 +0100 Message-ID: References: <86a5nfnuxl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33138"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69525@debbugs.gnu.org, Eli Zaretskii To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 26 21:38:13 2024 Return-path: Envelope-to: geb-bug-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 1sXQlY-0008S2-Ut for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 21:38:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXQlH-0000mC-Vg; Fri, 26 Jul 2024 15:37:56 -0400 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 1sXQlG-0000m0-0t for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 15:37:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXQlF-0002yY-G6 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 15:37:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXQlO-00043p-43 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2024 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69525 X-GNU-PR-Package: emacs Original-Received: via spool by 69525-submit@debbugs.gnu.org id=B69525.172202263715549 (code B ref 69525); Fri, 26 Jul 2024 19:38:02 +0000 Original-Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 19:37:17 +0000 Original-Received: from localhost ([127.0.0.1]:40090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQkf-00042j-1F for submit@debbugs.gnu.org; Fri, 26 Jul 2024 15:37:17 -0400 Original-Received: from dane.soverin.net ([185.233.34.150]:48183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQkb-00042S-Ni for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 15:37:16 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4WVygZ5sB1zCP; Fri, 26 Jul 2024 19:36:58 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4WVygZ3vtkz6W; Fri, 26 Jul 2024 19:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722022618; bh=brzT9SHzqC+EYQq1J18ovPCNAMmnhHTn/vfKiboOhoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gNpIbh+qwVgItSoBAADpxMrsJeLRM0I9Eru29yvzi3ePIiRX8BAMKSRerYf+FmV1u 1pZswgClWfgRFM7UX41/yDnLOXCZEpsJvelbOlliKCOLxu+NFDtniA7yHNe9preEBD 5QdexhSmbtvKvb7uPDwBZE/vVNbPIPQhBoIc6l8BG3Ng47KR0bbfozov6XHKI6VVfD bw/wPQCpwdYxb/4R4m73RbY7vW7GUWIXIy8t64BQ+YLoXB+MhdRKq0W3RNWOJ04OCy O+Rl0Df4AWteLSeif89njh5zZzK9MCIngaPkWac8mwg0BERZ3DgVPD58q4lQAUYvsY 1iq2J4UGiX5Zw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sXQkM-00000001Zxh-01S0; Fri, 26 Jul 2024 20:36:58 +0100 Mail-Followup-To: Alan Third , Gerd =?UTF-8?Q?M=C3=B6llmann?= , 69525@debbugs.gnu.org, Eli Zaretskii Content-Disposition: inline In-Reply-To: X-Spampanel-Class: ham X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289383 Archived-At: On Fri, Jul 26, 2024 at 09:24:36PM +0200, Gerd Möllmann wrote: > Alan Third writes: > > > > >> Apple's documentation says > >> > >> Important > >> > >> NSTextInput protocol is slated for deprecation. Please use the > >> NSTextInputClient protocol instead. > >> > >> I guess that's the reason for the warning, and we should switch to using > >> NSTextInputClient. > > > > Looks that way. AFAICT NSTextInputClient should be available on all > > versions of macOS we support and also in GNUstep, although it can be > > hard to tell which versions of GNUstep support what. > > > > Some of these functions are just used for normal input, but many of > > them are used exclusively for macOS input methods. > > I find Apple's documentation of the protocol pretty bad, to say the > least, and examples seem to be lacking completely. Don't know if I can > pull that off. Yeah, I was trying to work out what the actual differences are between them and I suspect they're fairly minimal, but I don't know how we should handle insertText:replacementRange: vs the current insertText:, for example. The new one takes a range and the old one doesn't. IMO it's none of the window system's business where we insert the text, so do we just ignore it? That might cause issues if we're dealing with the language input stuff, so we might need to fiddle with that a bit (it was mostly contributed by someone who actually used it). I would agree that Apple's documentation is abysmal. AFAICT most new features are exclusively documented in WWDC talks, so if you're not immersed in the Apple eco-system it can be very hard to keep track of what's changed. I assume that's some sort of marketing ploy. -- Alan Third