From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.help Subject: Re: middle mouse paste into isearch minibuffer Date: Tue, 25 Oct 2011 18:33:58 +0800 Message-ID: <87wrbtl5rd.fsf@gmail.com> References: <888C0416-F844-40E5-AC4D-CE9E15E81278@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1319538872 16478 80.91.229.12 (25 Oct 2011 10:34:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 10:34:32 +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 12:34:29 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 1RIeKx-0000EB-N9 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 12:34:27 +0200 Original-Received: from localhost ([::1]:35872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeKx-00042h-84 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 06:34:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeKo-00041Q-Iu for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:34:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIeKl-000502-Uy for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:34:17 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:53496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIeKl-0004zm-2n for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 06:34:15 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RIeKj-00008B-Ms for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 12:34:13 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Oct 2011 12:34:13 +0200 Original-Received: from xecycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Oct 2011 12:34:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 90 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:FkE0GRfFHbX4pzHtRLOo7ca5ykk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:82644 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Perry Wagle writes: > 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. So you want to search the word at point, right? Try C-s C-w. If you need more, just press C-w more. > 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. I suggest throwing away your mouse. Some hints: Use isearch extensively. Jump to somewhere with C-s (or C-r), and after you finished your edits there, jump back with C-u C-SPC =2D-- you may press it more if it failed. > > 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 > > > =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOppCWAAoJEI1xjsR3leWRUI8H/2FSoQnqCRthyQ4rIJdrXlw8 9E7mFpOMFM66fedTGR6+a+P2eB0Jg+QZlXzZsu64gCSLiF+bKZDd9twtnXmmMkko SEIYoqNAQCTaNMnt9YlARY1lFoE0Ub+t7l+QAI4elvWnqYRKEcfHAk7ulZxbkOdq S9Q4IVv1c0xHp5oKMDWEtLr7nlFG+PJU224ejYzHBbspyLiPFTl/FkPqv/9Qr+VG pFC9q64NEa1eZDEqECOqLXHs2rYs4D/t8IqITG64Qojl/DESRepOETV8AEw3ttWA EXrXkb8EDkG6CeeVIJc7zZMdpsmd+tQRA8KMYPo4zgbIlw47tvZ1oF+9JhfCVg8= =BKnr -----END PGP SIGNATURE----- --=-=-=--