emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Easily go to some frequently accessed heading (narrowed to region)
Date: Wed, 02 Feb 2011 11:28:45 +0100	[thread overview]
Message-ID: <87lj1yd92a.fsf@gnu.org> (raw)
In-Reply-To: <4d487c86.5043ec0a.55ad.ffffaf99@mx.google.com> (Darlan Cavalcante Moreira's message of "Tue, 01 Feb 2011 18:34:58 -0300")

Hi Darlan,

Darlan Cavalcante Moreira <darcamo@gmail.com> 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

  parent reply	other threads:[~2011-02-02 14:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 21:34 Easily go to some frequently accessed heading (narrowed to region) Darlan Cavalcante Moreira
2011-02-02  7:30 ` Eric S Fraga
2011-02-02 14:11   ` Darlan Cavalcante Moreira
2011-02-02 15:52     ` Eric S Fraga
2011-02-02 20:35       ` Alan E. Davis
2011-02-03  2:14         ` Darlan Cavalcante Moreira
2011-02-03  9:27         ` Sébastien Vauban
2011-02-03  2:10       ` Darlan Cavalcante Moreira
2011-02-03 12:37         ` Eric S Fraga
2011-02-02 10:28 ` Bastien [this message]
2011-02-02 14:14   ` Darlan Cavalcante Moreira
2011-02-05 17:57 ` Bernt Hansen

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=87lj1yd92a.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.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).