emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Capture while Buffer is narrowed to subtree
Date: Thu, 17 Feb 2011 13:45:08 +0000 (UTC)	[thread overview]
Message-ID: <87aahuu7ea.fsf@mean.albasani.net> (raw)

Hi,

I've been working on a large subtree of my main orgfile while it was
narrowed [C-x n s]. While doing so, I wanted to capture some information
which usually ends up under "* Inbox" at the bottom of that file. This
time, the information ended up in the narrowed buffer with a new "*
Inbox" added. I only noticed after a while that my captured TODOs were
not where I expected them to be.

I know why this is happening (I guess :) but I was wondering if this was
intended behaviour. If so, maybe a footnote should be added to the
manual that hints at possible side effects of `C-x n s'?

Memnon

capture template
#+begin_src emacs-lisp
  (setq 
   org-capture-templates 
   '(("t" "Todo" entry (file+headline "~/life/organizer.org" "Inbox") "* TODO %?\n  %U\n  %i\n  %a")
      ("o" "Someday" entry (file+headline "~/life/organizer.org" "Inbox") "* SOMEDAY %?\n  %U\n  %i\n  %a")
      ("a" "Appointment" entry (file+headline "~/life/organizer.org" "Inbox") "* APPT %?\n  %^T\n  %U\n  %i\n  %a")
      ("b" "Bookmark" entry (file+headline "~/life/bookmarks.org" "Inbox") "* %a %?\n  %u")
      ...))
#+end_src

Org-mode version 7.4

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian

             reply	other threads:[~2011-02-17 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 13:45 Memnon Anon [this message]
2011-02-18 15:51 ` Capture while Buffer is narrowed to subtree Christopher Allan Webber
2011-03-06 13:11 ` 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=87aahuu7ea.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.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).