From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Raynes Newsgroups: gmane.emacs.bugs Subject: bug#18614: Fix gui selection on OSX Date: Thu, 2 Oct 2014 16:04:34 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1412280863 21138 80.91.229.3 (2 Oct 2014 20:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 20:14:23 +0000 (UTC) To: 18614@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 22:14:11 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XZmlM-00062Z-I4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 22:14:08 +0200 Original-Received: from localhost ([::1]:36322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmlM-0007rt-4S for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 16:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmlH-0007rd-Ps for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZmlG-0003F3-Nn for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:14:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmlG-0003Ez-KX for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZmlG-0002sO-9i for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Raynes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Oct 2014 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141228079210983 (code B ref -1); Thu, 02 Oct 2014 20:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2014 20:13:12 +0000 Original-Received: from localhost ([127.0.0.1]:59422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZmkR-0002r4-E4 for submit@debbugs.gnu.org; Thu, 02 Oct 2014 16:13:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51381) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZmcA-0002ce-A0 for submit@debbugs.gnu.org; Thu, 02 Oct 2014 16:04:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZmc9-00087L-5u for submit@debbugs.gnu.org; Thu, 02 Oct 2014 16:04:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmc9-00087H-2n for submit@debbugs.gnu.org; Thu, 02 Oct 2014 16:04:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmc8-0005bO-4E for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:04:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZmc7-000875-4E for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:04:36 -0400 Original-Received: from mail-vc0-x231.google.com ([2607:f8b0:400c:c03::231]:38572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZmc7-00086w-0G for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 16:04:35 -0400 Original-Received: by mail-vc0-f177.google.com with SMTP id hq11so1924673vcb.36 for ; Thu, 02 Oct 2014 13:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AtKV182RdVpM2lcZ7qcvY3Pl1GywDPZwK3LLO0euvhQ=; b=Z2e84sLOjJYECKf9dUIyf0OTZBEmkXrsvrW1H+rnPFUGIGiTghPo6Rtv0dXQicKo45 qL7vKEvWdjERNsGiGBvqhzd00cgipf9e7CzXud6yboAQj8M3ZF5TJcBf1oO/yACpJgTK AxNh1/VVltSPr+IhygPO8pnqaBdNW3fRkaPIvYCKbg19y4DGKYF8UX2foBc0Cw9xYYLQ 89ZhlJC7YW7hgqo1VvcLFaMmMHrc5XCnNqH2UK3Zklw1j81UboqPUsE2SC5//A1RvjMB pukKA2jYB98NFoJudfiW/NHQ2xc0HS1fuT2wpldN1eC1C3/UEAHd0iqomlDjs6Ed0G1v rM0A== X-Received: by 10.52.166.2 with SMTP id zc2mr613251vdb.4.1412280274091; Thu, 02 Oct 2014 13:04:34 -0700 (PDT) Original-Received: by 10.31.190.149 with HTTP; Thu, 2 Oct 2014 13:04:34 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 02 Oct 2014 16:13:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94047 Archived-At: 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 + * term/ns-win.el: Add functions to ns frame, not x frame. + 2014-10-02 Stefan Monnier * 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)