From: 노정태 <basil83@gmail.com>
To: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: Search files in a folder
Date: Mon, 13 Sep 2010 13:09:58 +0900 [thread overview]
Message-ID: <AANLkTi=Vz4ufYxXbqCgz2puRhpiUSaJtXt+-p9ovyXDt@mail.gmail.com> (raw)
In-Reply-To: <874oduqul6.fsf@archdesk.localdomain>
[-- Attachment #1.1: Type: text/plain, Size: 1508 bytes --]
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 <mdl@imapmail.org>
> Eric S Fraga <ucecesf@ucl.ac.uk> writes:
>
> > On Mon, 13 Sep 2010 04:11:48 +0900, 노정태 <basil83@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.
> `----
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2196 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-09-13 4:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-12 19:11 Search files in a folder 노정태
2010-09-12 19:31 ` Eric S Fraga
2010-09-12 20:29 ` suvayu ali
2010-09-13 1:51 ` Matt Lundin
2010-09-13 4:09 ` 노정태 [this message]
2010-09-13 4:22 ` suvayu ali
2010-09-13 7:15 ` 노정태
2010-09-13 16:19 ` Matt Lundin
2010-09-14 16:06 ` 노정태
2010-09-20 8:31 ` Bastien
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=Vz4ufYxXbqCgz2puRhpiUSaJtXt+-p9ovyXDt@mail.gmail.com' \
--to=basil83@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).