From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Mysterious differences in nsselect.m Date: Sat, 18 Oct 2014 18:16:53 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413670650 11552 80.91.229.3 (18 Oct 2014 22:17:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 22:17:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan D. , Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 19 00:17:21 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XfcJG-0002uS-QV for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2014 00:17:14 +0200 Original-Received: from localhost ([::1]:37896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfcJE-0003q1-8Z for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2014 18:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfcJ3-0003ei-PX for emacs-devel@gnu.org; Sat, 18 Oct 2014 18:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfcIw-0000Kh-AC for emacs-devel@gnu.org; Sat, 18 Oct 2014 18:17:01 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:40815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfcIw-0000Kb-6F for emacs-devel@gnu.org; Sat, 18 Oct 2014 18:16:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvEGAIDvNVNFxKjo/2dsb2JhbABZgwYBg0m5A4c6gRcXdIMCI08mGA0kAYgL0hkXjnqEPwSpGYFqg0wh X-IPAS-Result: AvEGAIDvNVNFxKjo/2dsb2JhbABZgwYBg0m5A4c6gRcXdIMCI08mGA0kAYgL0hkXjnqEPwSpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94542451" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Oct 2014 18:16:53 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 645886542; Sat, 18 Oct 2014 18:16:53 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175546 Archived-At: Could someone explain to me why we have both "ns-own-selection-internal" and "ns-store-selection-internal"? They both end up calling ns_string_to_pasteboard_internal, but one with a nil gtype and the other with a NSStringPboardType gtype, so it seems that in the case of ns-store-selection-internal we set the "pasteboard" for all selection types, where in the case of ns-own-selection-internal we only set the pasteboard for the NSStringPboardType type. FWIW, I don't know what it means to set a pasteboard for a particular selection type, nor to set it for all selection types. Would it be OK to drop ns-store-selection-internal and only use ns-own-selection-internal instead? Stefan