Thank you everyone.

I learned I could do it with grep, but I don't know how to use grep
properly.

Isn't there no way to search files which are not agenda file?

Sincerely, Jeongtae

2010/9/13 Matt Lundin <m...@imapmail.org>

> Eric S Fraga <ucec...@ucl.ac.uk> writes:
>
> > On Mon, 13 Sep 2010 04:11:48 +0900, 노정태 <basi...@gmail.com> wrote:
> >
> >> I want to search org files in my /org folder.
> >> But I can't find a command to search files wholly.
> >> C-c a s (org-search-view) does search only with headline.
> >> I can't search the contents of my org files with just one command.
> >>
> >> Does Org-mode have the function what I'm looking for?
> >
> > maybe org-mode does not but of course emacs does: M-x grep RET
> > or M-x occur RET
> >
>
> These work just fine. Org-mode also has a built-in interface to emacs'
> multi-occur function --- it searches for (and displays) all lines
> containing a given regexp in one's agenda files.[1]
>
> Simply type:
>
> C-c a / [regexp]
>
> E.g.
>
> C-c a / \(org\|org-\)mode
>
>
> Best,
> Matt
>
> Footnotes:
>
> [1] (info "(org) Agenda dispatcher")
>
> ,----
> | `/'
> |      Search for a regular expression in all agenda files and
> |      additionally in the files listed in
> |      `org-agenda-text-search-extra-files'.  This uses the Emacs command
> |      `multi-occur'.  A prefix argument can be used to specify the
> |      number of context lines for each match, default is 1.
> `----
>
>
>
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to