all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <ecinmn@peoplepc.com>
Subject: Re: isearch-whole-buffer?
Date: Sat, 25 Mar 2006 20:56:07 GMT	[thread overview]
Message-ID: <H7iVf.10151$k75.3774@newsread3.news.atl.earthlink.net> (raw)
In-Reply-To: eoidnQEUW5yMErjZnZ2dnUVZ_v6dnZ2d@mcgill.ca


"xyblor" <fake@invalid.email> wrote in message
news:eoidnQEUW5yMErjZnZ2dnUVZ_v6dnZ2d@mcgill.ca...
> 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.

I'm having trouble imagining why C-s  xxxxxxxxxx... and then C-s again to
force wrapping to the beginning of the buffer doesn't work for you. Even
if the search string (xxxxxx...) is very long, you don't have to backspace
to the beginning to return to the mark. You can just C-x C-x. No?

Ed

  reply	other threads:[~2006-03-25 20:56 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     ` isearch-whole-buffer? xyblor
2006-03-25 20:56       ` B. T. Raven [this message]
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='H7iVf.10151$k75.3774@newsread3.news.atl.earthlink.net' \
    --to=ecinmn@peoplepc.com \
    /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.