all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Mysterious differences in nsselect.m
@ 2014-10-18 22:16 Stefan Monnier
  2014-10-19  8:13 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-10-18 22:16 UTC (permalink / raw)
  To: Jan D., Adrian Robert; +Cc: emacs-devel


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-21 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-18 22:16 Mysterious differences in nsselect.m Stefan Monnier
2014-10-19  8:13 ` Jan Djärv
2014-10-19  9:59   ` Adrian Robert
2014-10-21 13:28   ` Stefan Monnier
2014-10-21 19:01     ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.