From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: select and META key Date: Sun, 01 Apr 2007 10:00:09 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1175436186 24322 80.91.229.12 (1 Apr 2007 14:03:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Apr 2007 14:03:06 +0000 (UTC) Cc: alinsoar@voila.fr, herberteuler@hotmail.com, emacs-devel@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 01 16:03:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HY0e8-0002HI-7f for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 16:03:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HY0h3-00018x-7g for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 10:06:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HY0gQ-0008VL-KT for emacs-devel@gnu.org; Sun, 01 Apr 2007 10:05:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HY0gP-0008Sy-Fk for emacs-devel@gnu.org; Sun, 01 Apr 2007 10:05:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HY0gO-0008SZ-W9 for emacs-devel@gnu.org; Sun, 01 Apr 2007 10:05:25 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HY0dT-0003xj-50 for emacs-devel@gnu.org; Sun, 01 Apr 2007 10:02:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HY0bJ-0006ti-Ab; Sun, 01 Apr 2007 10:00:09 -0400 In-reply-to: (herberteuler@hotmail.com) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68886 Archived-At: Would someone please check this for correctness? If it is correct, please install it. Then please report and ack. (From herberteuler.) *** mouse.el.~1.241.8.44.~ 2007-03-19 09:11:41.000000000 +0800 --- mouse.el 2007-03-28 11:26:41.000000000 +0800 *************** *** 1522,1528 **** (with-current-buffer (window-buffer (posn-window posn)) (if (numberp (posn-point posn)) (setq beg (posn-point posn))) ! (move-overlay mouse-secondary-overlay beg (posn-point end))))) (defun mouse-drag-secondary (start-event) "Set the secondary selection to the text that the mouse is dragged over. --- 1522,1532 ---- (with-current-buffer (window-buffer (posn-window posn)) (if (numberp (posn-point posn)) (setq beg (posn-point posn))) ! (move-overlay mouse-secondary-overlay beg (posn-point end)) ! (x-set-selection ! 'SECONDARY ! (buffer-substring (overlay-start mouse-secondary-overlay) ! (overlay-end mouse-secondary-overlay)))))) (defun mouse-drag-secondary (start-event) "Set the secondary selection to the text that the mouse is dragged over.