>> 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.
`----