From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: option to let isearch select the search target (in transient mark mode) Date: Tue, 10 Jul 2007 23:05:26 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1184123147 7501 80.91.229.12 (11 Jul 2007 03:05:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2007 03:05:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 11 05:05:45 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8SW4-0005pf-U7 for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2007 05:05:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8SW4-0001Ij-Ib for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 23:05:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8SVk-0001AW-LE for emacs-devel@gnu.org; Tue, 10 Jul 2007 23:05:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8SVj-0001A8-UR for emacs-devel@gnu.org; Tue, 10 Jul 2007 23:05:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8SVj-00019z-Js for emacs-devel@gnu.org; Tue, 10 Jul 2007 23:05:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8SVi-0004WP-Gr for emacs-devel@gnu.org; Tue, 10 Jul 2007 23:05:03 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I8SW6-0002sl-Kx; Tue, 10 Jul 2007 23:05:26 -0400 In-reply-to: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74625 Archived-At: How about adding this to Isearch: Depending on the value of an option, `isearch-set-region-flag', Isearch leaves the region active around the search target when you stop searching with `RET'. This is only for Transient Mark mode; if that mode is not on, then this does nothing. I don't think it is needed. You can type C-@ C-r C-r to put the region around the match that was just found.