From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Search like VIM Date: Tue, 23 Jan 2007 17:44:23 +0100 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <873b61puag.fsf@baldur.tsdh.de> References: <1169567192.591194.292790@k78g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169574080 20548 80.91.229.12 (23 Jan 2007 17:41:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 17:41:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 18:41:18 2007 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.50) id 1H9Pe0-0007GA-L3 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 18:41:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9Pe0-0002f2-5y for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 12:41:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!elk.ncren.net!NNTP.WPI.EDU!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: dslb-084-063-057-144.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1169570665 7444 84.63.57.144 (23 Jan 2007 16:44:25 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Tue, 23 Jan 2007 16:44:25 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWVlFmseNrkqmgzeif v9JYdoX7Ctb5AAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABqUlE QVQ4y8WTy3KkMAxFVQT2Iz/2QOAD3CZ7jNV7YNr//ysjmWcqlUWyGVU11dzjK9myAPwm4P8A963D /TCV06dDeURzkQug8fFm8OYAIT5afRI/DAfQNbzcvhnn/Ud1gD/wTl7rvFHvNc7Fo2GgFJTRe8dA ay/gCV121NAZJto50TlhB0VgQFD4QCwNTMWAZgRCUCOUaMTCMGYHjvBihwC2xYmIoh+It2BZgozR Qo6K6he3oc1g5oTYjRsp4c1ha6BgwG8BSUCZH4SkoApgZigbnEaRBG+rignUDNUQROLiBCwh8dpJ istayMcfQDgrXEN9wB47kM3BwsXNDfjjv7SEi3wBuVfY7UQ6xQeRoNzdhiZeThugh5x/A9gEosHn 3ub+xtCc40OH6ocg8jVXelssj8+TKO+G73a/kRtgk0ySzMk9VYwhSEKDcvcXCFPgIW1aZVYey3AB 3fZpSctqU/FMf68a5rkWfaqWNbV1vya6QN83tWVPpeq6mpcTPNaEKfVpndXcV+kCtufsaeYsrKa0 niDZVi02Wf6lpb05cthffufLTxyfi/wD4S56Bxo/ZasAAAAmelRYdENvbW1lbnQAAHjacy5KTSxJ TVEozyzJUAjJSFVw9/QNAABS5wcjkMtlcAAAABp6VFh0SlBFRy1Db2xvcnNwYWNlAAB42jMCAAAz ADMRFn5jAAAAJ3pUWHRKUEVHLVNhbXBsaW5nLWZhY3RvcnMAAHjaM6ow0jGsMARhABGDAulkDxti AAAAAElFTkSuQmCC User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:u8YAlzPTX4daZywj3ZsZm4kGB1c= Original-Xref: shelby.stanford.edu gnu.emacs.help:144952 Original-To: help-gnu-emacs@gnu.org 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:40557 Archived-At: Hi, you want ,----[ C-h k C-s ] | C-s runs the command isearch-forward | which is an interactive compiled Lisp function in `isearch.el'. | It is bound to C-s, . | (isearch-forward &optional REGEXP-P NO-RECURSIVE-EDIT) | | Do incremental search forward. | With a prefix argument, do an incremental regular expression search instead. | | As you type characters, they add to the search string and are found. | The following non-printing keys are bound in `isearch-mode-map'. | | [...] `---- and ,----[ C-h k C-r ] | C-r runs the command isearch-backward | which is an interactive compiled Lisp function in `isearch.el'. | It is bound to C-r, . | (isearch-backward &optional REGEXP-P NO-RECURSIVE-EDIT) | | Do incremental search backward. | With a prefix argument, do a regular expression search instead. | See C-s for more information. `---- This highlights all matches when searching. If you want the highlighting permanently, try ,----[ C-h f highlight-regexp RET ] | highlight-regexp is an alias for `hi-lock-face-buffer' in `hi-lock.el'. | It is bound to . | (highlight-regexp REGEXP &optional FACE) | | Set face of each match of REGEXP to FACE. | | Interactively, prompt for REGEXP then FACE. Buffer-local history | list maintained for regexps, global history maintained for faces. | Use M-n and M-p to retrieve next or previous history item. | (See info node `Minibuffer History'.) `---- Regards, Tassilo -- A morning without coffee is like something without something else.