From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-capture: file+function
Date: Wed, 18 Aug 2010 18:28:08 +0530 [thread overview]
Message-ID: <814oesdqn3.fsf@gmail.com> (raw)
I have run into couple of issues with file+function templates. Let me
explain.
I have the following entry in org-capture-templates
(
("b" "Bookmarks" entry
(file+function "~/bookmark.org" point)
"** %c\n %i \n %?"))
The intention is to add a bookmark entry at the cursor position. This
entry gets triggered by an org-protocol://capture://b/... entry in the
browser
With the above setup I notice the following.
1. Entry doesn't get added at the cursor position.
For example, create an empty bookmark.org like this.
* Heading1
and position cursor at the end of the heading line.
Trigger a bookmark entry. Notice that the entry gets added *before*
the heading line.
2. Entry gets added with single '*' as opposed to '**' (Latter one was
what was advised)
IMHO, org-mode shouldn't override my advise when creating such
file+function entries.
To elaborate further,
When I am researching a topic, I create a new headline in the
bookmark.org and all subsequent bookmarks gets added to the cursor
position. When I move on to another topic, I create another heading and
position my cursor underneath it and all future bookmarks go under the
new topic.
I wonder whether this - "create entry at the target file at the current
cursor location" - is a common workflow for others. If yes, may be
having an escape sequence for this would be a good idea.
Jambunathan K.
next reply other threads:[~2010-08-18 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 12:58 Jambunathan K [this message]
2010-08-18 16:13 ` [BUG] org-capture: file+function Jambunathan K
2010-08-20 15:08 ` Carsten Dominik
2010-09-03 1:38 ` Bastien
2010-09-03 1:36 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=814oesdqn3.fsf@gmail.com \
--to=kjambunathan@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.