From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Wagle Newsgroups: gmane.emacs.help Subject: Re: my search/paste idiom not supported in emacs Date: Tue, 08 Feb 2011 19:33:40 -0800 Message-ID: References: <27ED27CE-8CAC-45AC-A1E1-8253FF9580DD@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1297222452 3450 80.91.229.12 (9 Feb 2011 03:34:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 03:34:12 +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 Feb 09 04:34:06 2011 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 1Pn0og-0005k0-4n for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Feb 2011 04:34:06 +0100 Original-Received: from localhost ([127.0.0.1]:34123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn0of-00076x-Np for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2011 22:34:05 -0500 Original-Received: from [140.186.70.92] (port=50697 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn0oL-00076o-Ci for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 22:33:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn0oJ-0001ky-PX for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 22:33:45 -0500 Original-Received: from asmtpout030.mac.com ([17.148.16.105]:54001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn0oJ-0001ki-LL for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 22:33:43 -0500 Original-Received: from tuple.home (pool-173-50-157-237.ptldor.fios.verizon.net [173.50.157.237]) by asmtp030.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LGB00JH8Z85QW20@asmtp030.mac.com> for help-gnu-emacs@gnu.org; Tue, 08 Feb 2011 19:33:42 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-09_01:2011-02-09, 2011-02-09, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=4 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102080182 In-reply-to: <27ED27CE-8CAC-45AC-A1E1-8253FF9580DD@mac.com> X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.148.16.105 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:79042 Archived-At: I'm starting now to work seriously on fixing this, and re-reading the previous responses, I'm not sure I was clear on the situation, and people didn't understand why there was a problem. So me fixing it wouldn't stick. Let me try again in hopes of achieving agreement: In emacs, I double click on a word with mouse-1. This highlights it. If I then mouse-2, its pasted at the mouse cursor. No problem. But if I double click on a word, highlighting it, and press control-S, this starts a "dialog" at the bottom of the screen where *what you type is captured* to give it text to search for. But if you then press mouse-2, the search mode is *aborted*, and the highlighted text is pasted at the mouse cursor. I think the highlighted text should be pasted in the dialog at the bottom of the screen, which is already capturing keyboard events. Xemacs does it that way, and has been doing it for over a decade, and its very quick and natural. Does anyone think emacs should work as it does now? Why would you want to have it abort the search mode? Why not capture mouse events the same as keyboard events? Am I making more sense now? -- Perry On Jan 5, 2011, at 12:56 AM, Perry Wagle wrote: > Its now http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7787 > > Thanks! > > -- Perry > > > On Jan 2, 2011, at 8:36 PM, Stefan Monnier wrote: > >>> In xemacs, if I double click on a word, the word is highlighted. If I then >>> press control-s for search, and click the middle mouse button *without >>> moving the mouse*, I will paste that word into the search string, and all >>> is good. >> >> I recommend you M-x report-emacs-bug (which is also used for feature >> requests). It seems reasonable to give mouse-2 the meaning of "insert >> in the search string" rather than "insert in the current buffer". >> >> >> Stefan > >