From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "john maclean" Newsgroups: gmane.emacs.help Subject: Re: Search for text Date: Wed, 26 Jul 2006 20:45:01 +0100 Message-ID: <4170c1720607261245p301e9cel83c0af4a129405be@mail.gmail.com> References: <85r708fi3v.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153943264 15470 80.91.229.2 (26 Jul 2006 19:47:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 19:47:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 26 21:47:42 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 1G5pL9-0004eW-Ik for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 21:46:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5pKc-0003Zp-Ut for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 15:46:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5pKS-0003Zh-VB for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 15:46:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5pKJ-0003Wd-3Y for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 15:46:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5pKI-0003WU-Du for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 15:45:50 -0400 Original-Received: from [66.249.92.169] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G5pLq-0000bZ-Fr for help-gnu-emacs@gnu.org; Wed, 26 Jul 2006 15:47:29 -0400 Original-Received: by ug-out-1314.google.com with SMTP id u2so1041678uge for ; Wed, 26 Jul 2006 12:45:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BErSmIGxd4nSk3nVvwOU3fsnkfOXGAc1oiSzU9I7KoMMIl/wvDPEDvcm/r1j5zfNcKiD7nxXOwTpUXSJIGpdCKIqsPh7dQ8dDK5WmSRM06PI05hc4a9YLKJPY1WdtjkTaXth4jY+RJh44U8vMg2t8me7JRsq42Zv4cLVx0Vq0tQ= Original-Received: by 10.78.170.17 with SMTP id s17mr3414849hue; Wed, 26 Jul 2006 12:45:01 -0700 (PDT) Original-Received: by 10.78.128.17 with HTTP; Wed, 26 Jul 2006 12:45:01 -0700 (PDT) Original-To: "Drew Adams" In-Reply-To: Content-Disposition: inline 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:36253 Archived-At: hrm, i think I'll stick to the vanilla emacs for a while until I know what I can do with the basic. It's always tempting for me to want to learn *everything*. [off topic but related: I'm using Jed also and C-s C-w does not work] On 26/07/06, Drew Adams wrote: > > 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. > > > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > -- John Maclean - 07739 171 531 MSc (DIC)