From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Too much pita to paste into incremental regex search Date: Sun, 22 Jan 2012 21:58:34 -0800 Message-ID: References: <87aa5fbale.fsf@newsguy.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 1327298347 22195 80.91.229.12 (23 Jan 2012 05:59:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 05:59:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'suvayu ali'" , "'Harry Putnam'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 23 06:59:03 2012 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 1RpCvm-0005zK-Kr for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jan 2012 06:59:02 +0100 Original-Received: from localhost ([::1]:58957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpCvg-0006Db-Ve for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jan 2012 00:58:56 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpCvc-0006DW-GX for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpCva-0004C3-Vm for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:52 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:41807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpCva-0004Bz-Qx for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:50 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0N5wkjM026297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 05:58:46 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0N5wiYG021902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 05:58:45 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0N5wio4021994; Sun, 22 Jan 2012 23:58:44 -0600 Original-Received: from dradamslap1 (/10.159.39.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 22 Jan 2012 21:58:43 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczZiJ2d22XCM/RPRL+1wnIRSkWc6QACmjEA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4F1CF717.0041,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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:83540 Archived-At: > > difficult to impossible to copy/paste to the prompt. > > As soon as you move the mouse, the prompt disappears. > > > > There must be some handier way to do that? > > M-e That's good advice - #1. Here are some other answers that might also help: 2. Use `M-y' (`C-y' in Emacs 24) to yank the last kill into the search string. 3. Use Isearch+, which has option `isearchp-mouse-2-flag' (default = `t'): Non-nil means clicking `mouse-2' during Isearch yanks the selection. In that case, you can select text with the mouse, then hit `C-s' to search for it. If the value is nil, yank only if the `mouse-2' click is in the echo area. If not in the echo area, invoke whatever `mouse-2' is bound to outside of Isearch. 4. Isearch+ also lets you hit `C-M-y' to yank the secondary selection into the search string.