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: Search for text Date: Wed, 26 Jul 2006 10:20:10 -0700 Message-ID: References: <85r708fi3v.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153934552 17774 80.91.229.2 (26 Jul 2006 17:22:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 17:22:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 26 19:22:28 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G5n5N-0001x2-PJ for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 19:22:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5n5N-0002Zn-5V for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 13:22:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5n59-0002Wd-NL for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 13:22:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5n56-0002RJ-AQ for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 13:22:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5n56-0002Qs-4n for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 13:22:00 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G5n6e-0002AA-F2 for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 13:23:38 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k6O38N13009423 for ; Wed, 26 Jul 2006 12:21:54 -0500 Original-Received: from dradams-lap.us.oracle.com by rcsmt250.oracle.com with ESMTP id 1649013901153934410; Wed, 26 Jul 2006 11:20:10 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <85r708fi3v.fsf@lola.goethe.zz> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE 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:36248 Archived-At: > Basic stuff here. Sorry if this has been asked before:- > - Can one search for text at the location of the point? If a point is > within word "foo" I'd like to C-s so that I dont have to > enter that word when promted for a search term C-s C-w > - I'd like to be able to search for say ^[a-g] with regular > expressions. Can any one point me to the location of the info doc? C-u C-s ^[a-g] Alternatively: `C-M-s' (then `C-s' for subsequent searches of the same pattern). > - Finally I'd like to have all matching terms stay highlighted a bit > longer. C-s does highlight terms, but as soon as I C-v to look down > the page it's gone. M-x customize-variable RET lazy-highlight-cleanup RET BTW, if you don't mind venturing beyond vanilla Emacs, you might also like to try the crazy searching available with Icicles. This tells the story, with screenshots: http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Search_Enhancements#IciclesS earchCommands.