From: Juanma <juanma_bellon@yahoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Search for selected tex
Date: Sun, 15 Jun 2008 02:15:09 +0200 [thread overview]
Message-ID: <200806150215.10047.juanma_bellon@yahoo.es> (raw)
In-Reply-To: <87d4mk9ckv.fsf@thievol.homelinux.org>
On Saturday 14 June 2008, Thierry Volpiatto wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>
> > Lorenzo Isella wrote:
> >> Dear All,
> >> I would like to be able to select some text with C-space and then
> >> look for it inside the buffer.
<snip>
> >
> > There is some code for similar wishes in
> >
> > http://www.emacswiki.org/cgi-bin/wiki/SearchAtPoint
> >
> >
>
> You can also use isearch-forward like that:
> put the point at begining of text and then hit C-s C-w C-w C-w ....
> until you are at the end of text and then C-s C-s ...etc...
Or C-y to search for text between point and end of line, instead of taking
words one by one. Repeating C-y takes one more line at a time.
Or, kill or save the text to the kill ring and yank it for search with M-y
(i.e., after having pressed C-s).
Once you defined some text to search for, you can edit it, moving point to the
minibuffer with M-e.
See here: *info* (emacs)Isearch Yank (chapter 20.1.6)
Even more if you see the documentation of `isearch-forward'.
--
Juanma
"Having a smoking section in a restaurant is like
having a peeing section in a swimming pool."
-- Edward Burr
next prev parent reply other threads:[~2008-06-15 0:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-14 16:30 Search for selected tex Lorenzo Isella
2008-06-14 16:45 ` Lennart Borgman (gmail)
2008-06-14 17:00 ` Thierry Volpiatto
2008-06-15 0:15 ` Juanma [this message]
2008-06-14 17:03 ` Lorenzo Isella
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=200806150215.10047.juanma_bellon@yahoo.es \
--to=juanma_bellon@yahoo.es \
--cc=help-gnu-emacs@gnu.org \
/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.