From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Hellmann Subject: Re: org-mode, grep and folding issue Date: Sat, 5 Dec 2009 11:25:58 -0500 Message-ID: <356CAC89-E3C3-4A4E-99D6-DFA870194E35@gmail.com> References: <39143.98166.qm@web45108.mail.sp1.yahoo.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGxSQ-0006oZ-9l for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 11:26:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGxSL-0006kX-P3 for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 11:26:06 -0500 Received: from [199.232.76.173] (port=48224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGxSL-0006kM-Lo for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 11:26:01 -0500 Received: from mail-yx0-f191.google.com ([209.85.210.191]:45106) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGxSL-00048M-Gg for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 11:26:01 -0500 Received: by yxe29 with SMTP id 29so8764046yxe.14 for ; Sat, 05 Dec 2009 08:26:00 -0800 (PST) In-Reply-To: <39143.98166.qm@web45108.mail.sp1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Good Bad Cc: Emacs Org-mode On Dec 5, 2009, at 10:22 AM, Good Bad wrote: > My notes are scattered across various org files. So I use grep > (usually M-x lgrep and M-x rgrep) to search my notes. When I click > one of the grep results (in the *grep* buffer), it leads to where > the match is, but often the corresponding line is hidden because it > is inside a folded heading in an org file. In that case, I need to > press (org-shifttab) to cycle through global visibility > levels to start editing the line. Is there a way to not have to > press ? If all of the files are being added to your agenda, you can search with "C-c a s " and the agenda view will show your results. Doug