From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: asac Newsgroups: gmane.emacs.help Subject: Re: Does gnu emacs have the equivalent of Xemacs mouse-track-insert Date: Fri, 12 Mar 2010 04:59:12 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <413dd07f-52c3-40f3-b083-031ad862ab08@q15g2000yqj.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273054183 20335 80.91.229.12 (5 May 2010 10:09:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 10:09:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 12:09:42 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9bXw-0000Pz-L5 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 12:09:40 +0200 Original-Received: from localhost ([127.0.0.1]:41249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9bXv-0005zQ-V4 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 06:09:40 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!g28g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 192.91.60.10 Original-X-Trace: posting.google.com 1268398752 1419 127.0.0.1 (12 Mar 2010 12:59:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 12 Mar 2010 12:59:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g28g2000yqh.googlegroups.com; posting-host=192.91.60.10; posting-account=0yZsqAoAAABV2gvqADbqWfaNv5efC3Gs User-Agent: G2/1.0 X-HTTP-Via: 1.1 proxyeu01 (NetCache NetApp/6.0.5) X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 GTB6 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177438 X-Mailman-Approved-At: Tue, 04 May 2010 16:46:16 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73344 Archived-At: On Mar 12, 11:31=A0am, Jos=E9 A. Romero L. wrote: > On 12 Mar, 11:10, asac wrote:> Hi, > (...) > > step1: place the cursor when you want to paste/yank the text > > step2: ctrl-double click on left button on the text you want to copy/ > > paste and you will get it where you initially placed the cursor. > > (...) > > This can be achieved in GNU Emacs using the secondary selection: > step0: do (setq mouse-yank-at-point t), > step1: place the cursor where you want to yank the test, > step2: M-leftclick on the beginning of the text want to copy, then > =A0 =A0 =A0 =A0M-rightclick on the end *OR* M-drag over that area, > step3: M-centerclick to paste. > > Cheers, > -- > Jos=E9 A. Romero L. > escherdragon at gmail > "We who cut mere stones must always be envisioning cathedrals." > (Quarry worker's creed) Jose, thanks for the reply ... but, 1. the (setq mouse-yank-at-point t) effect remains permanent for the buffer and then I can no more paste with middle-button at a pointed location. This means I need to left click first to have the cursor where I want to paste the text, then middle click. 2. On my linux host, somehow (keyboard shortcut settings?), so the M- leftclick selects the window that I am working on, so when sliding, the window is getting moved instead of selcting the text on which I slide the mouse. 3. So I tested with ESC-leftclick and this partially works when emacs is invoked with -nw, but it does not work in the window based. So even if I solve the shortcut issue, the first setq required in your procedure is changing the way copy/paste is done in the buffer, so it is not a procedure I can follow ... but, Thanks a lot for your answer, I now know I would probably need to look at the way secondary selections work. Regards, Alex.