unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18614: Fix gui selection on OSX
@ 2014-10-02 20:04 David Raynes
  2014-10-03  0:16 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: David Raynes @ 2014-10-02 20:04 UTC (permalink / raw)
  To: 18614

To reproduce: open ./nextstep/Emacs.app/Contents/MacOS/Emacs -q, hit
cmd-a to select all.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ce62957..98a299b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,6 @@
+2014-10-02  David Raynes  <rayners@gmail.com>
+       * term/ns-win.el: Add functions to ns frame, not x frame.
+
 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>

        * obsolete/lucid.el (read-number): Remove, redundant.
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 5889baf..b1d3a00 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -971,10 +971,10 @@ See the documentation of
`create-fontset-from-fontset-spec' for the format.")
                      (when gui-select-enable-clipboard
                        (ns-set-pasteboard text))))

-(gui-method-define gui-own-selection x #'ns-own-selection-internal)
-(gui-method-define gui-disown-selection x #'ns-disown-selection-internal)
-(gui-method-define gui-selection-owner-p x #'ns-selection-owner-p)
-(gui-method-define gui-get-selection x #'x-get-selection-internal) ;FIXME:name!
+(gui-method-define gui-own-selection ns #'ns-own-selection-internal)
+(gui-method-define gui-disown-selection ns #'ns-disown-selection-internal)
+(gui-method-define gui-selection-owner-p ns #'ns-selection-owner-p)
+(gui-method-define gui-get-selection ns #'x-get-selection-internal)
;FIXME:name!

 (provide 'ns-win)





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

* bug#18614: Fix gui selection on OSX
  2014-10-02 20:04 bug#18614: Fix gui selection on OSX David Raynes
@ 2014-10-03  0:16 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-10-03  0:16 UTC (permalink / raw)
  To: David Raynes; +Cc: 18614-done

> -(gui-method-define gui-own-selection x #'ns-own-selection-internal)
> -(gui-method-define gui-disown-selection x #'ns-disown-selection-internal)
> -(gui-method-define gui-selection-owner-p x #'ns-selection-owner-p)
> -(gui-method-define gui-get-selection x #'x-get-selection-internal) ;FIXME:name!
> +(gui-method-define gui-own-selection ns #'ns-own-selection-internal)
> +(gui-method-define gui-disown-selection ns #'ns-disown-selection-internal)
> +(gui-method-define gui-selection-owner-p ns #'ns-selection-owner-p)
> +(gui-method-define gui-get-selection ns #'x-get-selection-internal) ;FIXME:name!
 
Oops, thanks, installed,


        Stefan





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

end of thread, other threads:[~2014-10-03  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 20:04 bug#18614: Fix gui selection on OSX David Raynes
2014-10-03  0:16 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).