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: Thu, 30 Dec 2010 08:26:06 -0800 Message-ID: <767F9254-9F49-469B-922B-A4D687FAB11F@mac.com> References: <3269D978-6F36-493B-91B2-FE9EC9A6DA17@mac.com> <3251C856-F33A-4757-940C-2A46C7BE667A@Web.DE> 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 1293726418 19468 80.91.229.12 (30 Dec 2010 16:26:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 16:26:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 30 17:26:52 2010 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 1PYLL1-0002rX-OH for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Dec 2010 17:26:51 +0100 Original-Received: from localhost ([127.0.0.1]:34090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYLL1-0008LH-5D for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Dec 2010 11:26:51 -0500 Original-Received: from [140.186.70.92] (port=37138 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYLKR-0008Jx-I3 for help-gnu-emacs@gnu.org; Thu, 30 Dec 2010 11:26:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYLKQ-0004Wo-9V for help-gnu-emacs@gnu.org; Thu, 30 Dec 2010 11:26:15 -0500 Original-Received: from asmtpout026.mac.com ([17.148.16.101]:56900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYLKQ-0004Wk-1a for help-gnu-emacs@gnu.org; Thu, 30 Dec 2010 11:26:14 -0500 Original-Received: from [192.168.1.8] (pool-173-50-157-237.ptldor.fios.verizon.net [173.50.157.237]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LE90003U1NIYQ70@asmtp026.mac.com> for help-gnu-emacs@gnu.org; Thu, 30 Dec 2010 08:26:07 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1012300046 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-12-30_08:2010-12-30, 2010-12-30, 1970-01-01 signatures=0 In-reply-to: <3251C856-F33A-4757-940C-2A46C7BE667A@Web.DE> X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) 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:77971 Archived-At: On Dec 30, 2010, at 2:01 AM, Peter Dyballa wrote: > > Am 30.12.2010 um 01:39 schrieb Perry Wagle: > >> For some reason, the middle mouse button *ABORTS* the search mode, and then pastes the word under the mouse. Why would you want that? > > > Because it's consistent with X11: or insert text. No, you are inserting the saved text into the search mode prompt, which is being *aborted* to provide the current behavior. > Consider changing isearch-mode-map to remap which has > > (define-key map [mouse-movement] nil) > ;; People expect to be able to paste with the mouse. > (define-key map [mouse-2] #'isearch-mouse-2) > (define-key map [down-mouse-2] nil) > > and which is defined in isearch.el. I will try that, thanks! -- Perry