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: middle mouse paste into isearch minibuffer Date: Mon, 24 Oct 2011 22:38:12 -0700 Message-ID: <888C0416-F844-40E5-AC4D-CE9E15E81278@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 1319521111 29625 80.91.229.12 (25 Oct 2011 05:38:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 05:38:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 07:38:27 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIZiT-0004Gt-Va for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 07:38:26 +0200 Original-Received: from localhost ([::1]:52217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIZiS-00015o-Q9 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 01:38:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIZiN-00015Y-5a for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 01:38:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIZiL-00048s-C8 for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 01:38:19 -0400 Original-Received: from nk11p99mm-asmtpout005.mac.com ([17.158.233.226]:64982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIZiL-00048d-6X for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 01:38:17 -0400 Original-Received: from tuple.ftrdhcpuser.net (static-50-43-56-158.bvtn.or.frontiernet.net [50.43.56.158]) by nk11p03mm-asmtp995.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LTL00DU8WZPFV80@nk11p03mm-asmtp995.mac.com> for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 05:38:14 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-10-25_01:2011-10-25, 2011-10-25, 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 scancount=1 engine=6.0.2-1012030000 definitions=main-1110240395 X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.158.233.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82640 Archived-At: I have a number of tools (like proof general) that I need to use, so I really need to switch from years of xemacs to emacs. But. Using isearch on highlighted regions of text is way too clumsy in emacs. In xemacs, if I double-mouse-1 over some words with my right hand on the mouse, and press control s with my left hand, then I can press middle mouse with my right hand, which is still on the mouse, to paste into the minibuffer. In emacs, if I do the same, the isearch in the minibuffer IS ABORTED and the highlighted region is pasted wherever the mouse happens to be now. In emacs, ESC y is wrong because it takes too long, requires both hands for me to do accurately, and requires I take my right hand off the mouse, and return it. In emacs, moving the mouse cursor into the minibuffer and then mouse-2'ing is wrong because it takes too long and is too hard to do rapidly. In this situation, all keyboard events are already going to the minibuffer. Having an option for people like me to have it also trap mouse buttons seems like a good thing, especially with gesture mice making the one-button mouse metaphor even more completely obsolete. It IS aborting the isearch, so purity arguments don't hold here. This is a human factors issue, and emacs is losing. I've tried a couple times to have this conversation, and most people say "don't use the mouse". Well, if the mouse is treated by emacs (and not xemacs, for example), its no wonder that emacs people don't use the mouse. Its been rendered useless. I want to make my mouse useful. I use it a lot. And I use the above idiom a lot. Apparently, I'm going to have to do this myself, unless someone else sees my light this time. What's the best way to do it? I have the feeling I'm fighting the foundations of emacs to try to funnel mouse button events into the minibuffer. Thanks for whatever help, hints, and guidance you can give me! -- Perry