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.devel Subject: Re: master 7e3c2b5: Allow NS to handle non-text clipboard contents Date: Thu, 25 Nov 2021 21:07:39 +0000 Message-ID: References: <20211124104224.5126.85421@vcs0.savannah.gnu.org> <20211124104225.EF9AC207EF@vcs0.savannah.gnu.org> <87r1b4ihsz.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 22:09:21 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 1mqLzc-0002pQ-D9 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 22:09:20 +0100 Original-Received: from localhost ([::1]:54582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqLzb-0000w4-CF for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 16:09:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqLyF-0008RI-S0 for emacs-devel@gnu.org; Thu, 25 Nov 2021 16:07:55 -0500 Original-Received: from [2a01:4f8:fff0:65::8:228] (port=40805 helo=outbound.soverin.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqLyD-00036A-4o for emacs-devel@gnu.org; Thu, 25 Nov 2021 16:07:55 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 44933292; Thu, 25 Nov 2021 21:07:42 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1637874461; bh=4Fb/FlcQuC+zHPSEk8UY8C25EZPFG4vY3VhiIZRXkjE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lSQ7ClVWb64kLgdCHBsP+W7Z61GLqnby8MYrciU7WgQG4/BQBm5VeLg2E4QUY9fBE nxajXVOPLGNLlxAOVJckO9tqD3R+RR5OrKHKSCW1elOqxWdfeOKqm4az3jAtvre+KC IQnTvqjxQorWsP9ywOqY0kfIy3nWwHu8RvNZTyWVLXdLGk7GmJs428t5tgFiLHZl1K pfgQwOkUq/RjVlRGIz1ajCuj2tV0D1GEpN/Fy0xqfBq6BDiwQDXRvbjT7psEs4qsOi zpgpyIhBPS4EEZyZi1cmuzgM5QWDRsOaXZ4k2H1/eLyTeHLiOoNU2ILdiiJQJsLv/V T+U1V94Wib27Q== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mqLxz-000kUI-9L; Thu, 25 Nov 2021 21:07:39 +0000 Mail-Followup-To: Alan Third , Michael Albinus , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87r1b4ihsz.fsf@gmx.de> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:fff0:65::8:228 (failed) Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:280180 Archived-At: On Thu, Nov 25, 2021 at 12:41:16PM +0100, Michael Albinus wrote: > alan@idiocy.org (Alan Third) writes: > > > branch: master > > commit 7e3c2b553fede9feeeb755dfeba875fece0c2f63 > > Author: Alan Third > > Commit: Alan Third > > > > Allow NS to handle non-text clipboard contents > > > > * src/nsselect.m (ns_get_foreign_selection): Handle non-plain text > > clipboard entries. > > (ns_string_from_pasteboard): Remove EOL conversion. > > (syms_of_nsselect): Define QTARGETS. > > --- > > src/nsselect.m | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- > > 1 file changed, 77 insertions(+), 3 deletions(-) > > This breaks on emba, see . *sigh* I'm looking forward to the day when we can use Objective C features from this millennium in GCC. I've pushed a change that I hope fixes this. -- Alan Third