From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kGFIAq0WdF/uQwAA0tVLHw (envelope-from ) for ; Wed, 30 Sep 2020 05:25:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0Oi3OawWdF83YwAAbx9fmQ (envelope-from ) for ; Wed, 30 Sep 2020 05:25:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8AECB9401BC for ; Wed, 30 Sep 2020 05:25:00 +0000 (UTC) Received: from localhost ([::1]:41152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNUbq-0004Dt-QT for larch@yhetil.org; Wed, 30 Sep 2020 01:24:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNUbI-0004DR-Em; Wed, 30 Sep 2020 01:24:24 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:39283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNUbG-00044z-QB; Wed, 30 Sep 2020 01:24:24 -0400 Received: by mail-qt1-x82a.google.com with SMTP id d1so299215qtr.6; Tue, 29 Sep 2020 22:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=S+MO/8Lg2q5/Gupx8ND/26ygOr0Lc5VeRkn3a1HVA70=; b=TtUVdpGEFsaGox8//xsSPAas1BFDldcAle9y/g3urv1YxyIB7XrA/xctLPJyuJFN/L o3ftsCjtvCBv5MYTi3H1tw8Tdq4aWBnxtkju00QbRSZ7byrteJqvjK6YzbR/NRqAf7f2 Mb36SHm5MOngiER8pMglP481QDF53VdHGpX4v45GjXihWgu4UffSupD9DEtNdNzkpqRV R6HQJL+hNuiC0BcWr3gwSBzY6blIoy8jPQJXcqBx4f/mbevk+xkaNUNoFJXTRTNQq9o9 13mC5d7m1AyYZ7PkllCLP8z0CaXwhZCe3UpmBeAysXoVR+kEvutr4fPBkFd9PbzBt1nl 4Sdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=S+MO/8Lg2q5/Gupx8ND/26ygOr0Lc5VeRkn3a1HVA70=; b=fwqDwhDToJKwzuQbru5cEf/faaJbwF5ls00fGFJ6V3cEtyEIBEr+sq/W4cKNZn2U/F ulpwmmwZMqB/5j/PeoaWhOLSZXrGw6ZmO2862AztkJa2/GcOuTdbxMmdxQ94GIiZvsmx Q9b6uidrgyOzywZmQdqoogepui3AT6c/tLGZekpD+e/7kuc4XdrZpju0sMfLx0lyslMW ml483Orvkqa3XKqNZheZSA+k3MY7MSk10a/3IayelqOOS+jjnL/1KHxnN0LtL2ez9oLi T0hY4IjVe2urJwTtD0KaDdmocd+64AS3PQFqvbKMixACRAInz56iRjvmWy2lb2ZWYHmM iPkg== X-Gm-Message-State: AOAM533cW+pTX28Hvd+kUGU0Ik44kSJyQPa6Bv6dIlGbptV6DMpBHly2 IScJe4bUJJkRts6o2o7105oVMxcHo96yzg== X-Google-Smtp-Source: ABdhPJzHShr6Z2wyQjxKGoampuqLLiUH9spXIacm1GjhjXeDfaDQwkaq647Wq/3/Ao2NLJEuSJGgCA== X-Received: by 2002:ac8:4e49:: with SMTP id e9mr546083qtw.334.1601443460649; Tue, 29 Sep 2020 22:24:20 -0700 (PDT) Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id b9sm1021512qta.39.2020.09.29.22.24.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 22:24:19 -0700 (PDT) References: User-agent: mu4e 1.5.5; emacs 28.0.50 From: No Wayman To: emacs-orgmode@gnu.org Cc: emacs-orgmode-request@gnu.org Subject: Re: org-capture at point In-reply-to: Date: Wed, 30 Sep 2020 01:24:18 -0400 Message-ID: <87lfgrdegt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x82a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=TtUVdpGE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: LBskx6+NUhdA > 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 =E2=80=98C-0=E2=80=99 (zero) prefix, insert a templat= e at > point." I can confirm this behavior. Looks like it was introduced with: f5573e6a0 org-capture.el: Fix heading's level when inserting a=20 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