unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to mark and search text in less keystrokes ?
@ 2008-10-02 13:12 Christiano Farina Haesbaert
  2008-10-02 14:07 ` Mathias Dahl
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Christiano Farina Haesbaert @ 2008-10-02 13:12 UTC (permalink / raw)
  To: help-gnu-emacs

I saw my boss doing the following in vi the other day and it seemed
quite useful, suppose:

You are editing a buffer, and your pointer is at the word
myfunc(a,b),

How can I search for the occurences of the word myfunc at the same
buffer AND mark my position where I was, so I can iterate through the
results and get back to my original spot at any time.

For now I'm using C^s and "typing" the word ( I know it's lame ), and
when I want to get back I loop thought until I'm back at the original
spot.

Please if I didn't make myself clear I can try to explain better.

Another thing, is it possible to iterate through all function calls of
myfunc in a directory ?
Currently I gave a grep, that tries to match the patter of myfunc
call, but is kinda clumsy.

obs: As you can see I'm not an Emacs wizard, it's just my second
month.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-10-02 21:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 13:12 How to mark and search text in less keystrokes ? Christiano Farina Haesbaert
2008-10-02 14:07 ` Mathias Dahl
2008-10-02 14:28 ` Lennart Borgman (gmail)
2008-10-02 15:42   ` Drew Adams
2008-10-02 21:32     ` Nikolaj Schumacher
2008-10-02 21:46       ` Drew Adams
     [not found]   ` <mailman.53.1222962172.25473.help-gnu-emacs@gnu.org>
2008-10-02 17:31     ` Christiano Farina Haesbaert
2008-10-02 18:04       ` Christiano Farina Haesbaert
2008-10-02 14:29 ` Parker, Matthew
     [not found] ` <mailman.44.1222957709.25473.help-gnu-emacs@gnu.org>
2008-10-02 14:57   ` Christiano Farina Haesbaert
2008-10-02 15:41     ` Andreas Politz
2008-10-02 15:37 ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).