From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: Scrolling text erases the search highlight Date: Tue, 13 Jul 2010 15:38:13 +0200 Message-ID: References: <4C3B0AE2.3060507@sdesigns.eu> <4C3C24DA.6080303@sdesigns.eu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1279028944 19707 80.91.229.12 (13 Jul 2010 13:49:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 13:49:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Gabriel TEIXEIRA Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 13 15:49:03 2010 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.69) (envelope-from ) id 1OYfqs-0000oQ-4C for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 15:49:02 +0200 Original-Received: from localhost ([127.0.0.1]:58993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYfoh-0001rm-Sx for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 09:46:35 -0400 Original-Received: from [140.186.70.92] (port=55505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYfnz-0001no-6z for help-gnu-emacs@gnu.org; Tue, 13 Jul 2010 09:45:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYfnx-0003h4-IT for help-gnu-emacs@gnu.org; Tue, 13 Jul 2010 09:45:51 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:50579) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYfnx-0003gp-ER for help-gnu-emacs@gnu.org; Tue, 13 Jul 2010 09:45:49 -0400 Original-Received: by wyj26 with SMTP id 26so4818810wyj.0 for ; Tue, 13 Jul 2010 06:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=S89wAMfQ2D86wsPAfXBzFLRW5zmUF/Jc0Sr4giFxzhc=; b=x9W3g+LdRmwnnTzKlnyQLZxkfXLsjrJ0YNWmz/sBpjO0Oujo2dnQE0l7s2adwOrXH1 Kcv3dmbftiNvau/HfOadpMu6R/QfTid1NXyK6AyLYlvFUqg6e6WiNiRHADq+6d3CRfc3 Pw7X+dBFGRD6ypLV4a6ZYR4ymB4BTlx7DUB2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=N7nCxS6BDFYq4h6Q2AGWyR1HpLP+oHbdohPN6y9YZ2Aihsad9R1+y7RkWNBIQl7cIT V4HRqR5stJnnNATeB/75pZOsBVcIsI+voflLzOyWNsggQHrtuznJXsI3DAKVXfF9Fs66 r1ICa6pbLq7qmXjDRWO1OwDt7xh9ZURT+9mEM= Original-Received: by 10.216.178.213 with SMTP id f63mr10220280wem.98.1279028324230; Tue, 13 Jul 2010 06:38:44 -0700 (PDT) Original-Received: by 10.216.182.135 with HTTP; Tue, 13 Jul 2010 06:38:13 -0700 (PDT) In-Reply-To: <4C3C24DA.6080303@sdesigns.eu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:74184 Archived-At: 2010/7/13 Gabriel TEIXEIRA : > On 13/07/2010 09:14, Deniz Dogan wrote: > >> 2010/7/12 Qiang Guo: >> >>> >>> You may want to check variable 'isearch-allow-scroll' >>> >>> >>> >> >> This is a good suggestion. But you may also want to know about "M-s o". >> >> M-s o runs the command occur, which is an interactive compiled Lisp >> function in `replace.el'. >> >> It is bound to M-s o. >> >> (occur REGEXP&optional NLINES) >> >> Show all lines in the current buffer containing a match for REGEXP. >> This function can not handle matches that span more than one line. >> >> > > Thanks for the answers and sorry for the multiple messages, the M-s o is > > very useful, but the isearch-allow-scroll doesn't work very well with me. It > will conserve the search if I do C-l or C-v, but won't if I use the mouse > scroll wheel or if I use the arrow keys to move the cursor (which are the > way I scroll the screen mostly). I want something that works similar to the > Linux man search, the vim or the gedit, that conserves the highlight as long > as the search is erased. Any other suggestions? > > > For what it's worth, scrolling using the mouse works fine using: GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600) of 2010-07-12 on 3249CTO -- Deniz Dogan