From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Easily go to some frequently accessed heading (narrowed to region) Date: Wed, 02 Feb 2011 11:14:32 -0300 Message-ID: <4d4966cb.0644970a.6f50.0418@mx.google.com> References: <4d487c86.5043ec0a.55ad.ffffaf99@mx.google.com> <87lj1yd92a.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=35269 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkdVm-0001zq-40 for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkdTi-0006O7-54 for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:14:39 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:46950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkdTi-0006NG-2Z for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:14:38 -0500 Received: by gxk5 with SMTP id 5so3737503gxk.0 for ; Wed, 02 Feb 2011 06:14:37 -0800 (PST) In-Reply-To: <87lj1yd92a.fsf@gnu.org> 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: Bastien Cc: Orgmode Mailing List Thanks Bastien, This is almost what I wanted and although I'm not a lisp hacker I think I should be able to start from this and google my way to what I want. -- Darlan At Wed, 02 Feb 2011 11:28:45 +0100, Bastien wrote: > > Hi Darlan, > > Darlan Cavalcante Moreira writes: > > > I have a main .org file where I put almost everything. There is a > > "Projects" headline where each subheading is a different project. During > > the day I need to go to the Projects headline and open one of the its > > subheadings when I want and add/read something in that project. I know I > > can use a capture template to add something to one of the projects, but > > that does not work (or does it?) when I just want to read or modify > > something. > > Maybe some dummy function like that? > > (defun my-find-org-heading nil > "Find a heading." > (interactive) > (find-file "~/org/my.org") > (goto-char (point-min)) > (search-forward "* Your heading") > (org-narrow-to-subtree)) > > -- > Bastien