help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch-whole-buffer?


From: Kevin Rodgers
Subject: Re: isearch-whole-buffer?
Date: Fri, 24 Mar 2006 09:09:10 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

xyblor wrote:
Is there a way to search the whole buffer while I type, like Firefox's
"find" command?

As it is now, C-s only searches the text after the point, and C-r
searches the text before the point. I think it would be more convenient
for me if C-s searched the whole text, without forcing me to press C-s
again to overwrap the search. Does anyone know of a function that would
accomplish this? Or maybe there's a variable I can change to get the
desired behavior? I'm using XEmacs 21.4.13 on Win32.

(defadvice isearch-forward (before beginning-of-buffer activate)
  "Move point to the beginning of the buffer."
  (goto-char (point-min)))

--
Kevin Rodgers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]