From: No Wayman <iarchivedmywholelife@gmail.com>
To: emacs-orgmode@gnu.org
Cc: emacs-orgmode-request@gnu.org
Subject: Re: org-capture at point
Date: Wed, 30 Sep 2020 01:24:18 -0400 [thread overview]
Message-ID: <87lfgrdegt.fsf@gmail.com> (raw)
In-Reply-To: <mailman.57.1601395229.29559.emacs-orgmode@gnu.org>
> Since org-plus-contrib 20200920, I'm no longer able to get
> org-capture to insert a template at the point. Instead, it seems
> to place the entry at the appropriate heading level, above the
> current heading. Looking at the help page, perhaps it's this
> behavior:
>
> This happens with both a custom interactive function that calls
> (org-capture 0), and by using a zero prefix.
>
> I'm not able to get this functionality to work:
> "When called with a ‘C-0’ (zero) prefix, insert a template at
> point."
I can confirm this behavior.
Looks like it was introduced with:
f5573e6a0 org-capture.el: Fix heading's level when inserting a
template "here"
I tested by running the following:
#+begin_src emacs-lisp :lexical t
(dotimes (n 3)
(let ((org-capture-templates
`(( "e" "test"
entry
(file "/temp/null.org")
,(format "* %d" n)
:immediate-finish t
:no-save t))))
(goto-char (point-max))
(org-capture 0 "e")))
#+end_src
with Org built from f5573e6a0 output is:
* 1
* 2
* 0
prior to f5573e6a0 (tested on b79fef1da) output is:
* 0
* 1
* 2
next parent reply other threads:[~2020-09-30 5:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.57.1601395229.29559.emacs-orgmode@gnu.org>
2020-09-30 5:24 ` No Wayman [this message]
2020-10-02 18:46 ` org-capture at point No Wayman
2020-10-03 6:36 ` Kyle Meyer
2020-09-29 12:11 david wen riccardi-zhu
2020-10-03 6:45 ` Kyle Meyer
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=87lfgrdegt.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=emacs-orgmode-request@gnu.org \
--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).