all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: xyblor <fake@invalid.email>
Subject: Re: isearch-whole-buffer?
Date: Sat, 25 Mar 2006 13:42:34 -0500	[thread overview]
Message-ID: <eoidnQEUW5yMErjZnZ2dnUVZ_v6dnZ2d@mcgill.ca> (raw)
In-Reply-To: <mailman.19.1143219602.14013.help-gnu-emacs@gnu.org>

Kevin Rodgers wrote:
> Kevin Rodgers wrote:
> 
>> xyblor wrote:
>>
>>> Is there a way to search the whole buffer while I type, like Firefox's
>>> "find" command?
>
> (defadvice isearch-forward (before beginning-of-buffer activate)
>   "Move point to the beginning of the buffer; leave mark at previous 
> position."
>   (beginning-of-buffer))

Thanks for the suggestion; I didn't know about this whole "advice" 
concept. As you pointed out, this solution messes with the point in 
such a way that C-g does not get you back to where you were before the 
search, and I don't think I can live with that.

  parent reply	other threads:[~2006-03-25 18:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 15:10 isearch-whole-buffer? xyblor
2006-03-24 16:09 ` isearch-whole-buffer? Kevin Rodgers
2006-03-24 16:58   ` isearch-whole-buffer? Kevin Rodgers
     [not found]   ` <mailman.19.1143219602.14013.help-gnu-emacs@gnu.org>
2006-03-25 18:42     ` xyblor [this message]
2006-03-25 20:56       ` isearch-whole-buffer? B. T. Raven
2006-03-25 22:48         ` isearch-whole-buffer? xyblor
2006-03-25 23:34           ` isearch-whole-buffer? Vin Shelton
2006-03-26  2:07           ` isearch-whole-buffer? Miles Bader
2006-03-26 10:42           ` isearch-whole-buffer? Peter Dyballa
2006-03-26  1:02 ` isearch-whole-buffer? Johan Bockgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eoidnQEUW5yMErjZnZ2dnUVZ_v6dnZ2d@mcgill.ca \
    --to=fake@invalid.email \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.