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

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

Re: Search for text


From: john maclean
Subject: Re: Search for text
Date: Wed, 26 Jul 2006 20:45:01 +0100

hrm, i think I'll stick to the vanilla emacs for a while until I know
what I can do with the basic. It's always tempting for me to want to
learn *everything*.
[off topic but related: I'm using Jed also and C-s C-w does not work]

On 26/07/06, Drew Adams <drew.adams@oracle.com> wrote:
    > Basic stuff  here. Sorry if this has been asked before:-
    > - Can one search for text at the location of the point? If a point is
    > within word "foo" I'd like to C-s <something> so that I dont have to
    > enter that word when promted for a search term

    C-s C-w

    > - I'd like to be able to search for say ^[a-g] with regular
    > expressions. Can any one point me to the location of the info doc?

    C-u C-s ^[a-g]

Alternatively: `C-M-s' (then `C-s' for subsequent searches of the same
pattern).

    > - Finally I'd like to have all matching terms stay highlighted a bit
    > longer. C-s does highlight terms, but as soon as I C-v to look down
    > the page it's gone.

    M-x customize-variable RET lazy-highlight-cleanup RET

BTW, if you don't mind venturing beyond vanilla Emacs, you might also like
to try the crazy searching available with Icicles. This tells the story,
with screenshots:
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Search_Enhancements#IciclesS
earchCommands.



_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs



--
John Maclean  - 07739 171 531
MSc (DIC)




reply via email to

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