From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mPAJMeGXw2UoZQEAe85BDQ:P1 (envelope-from ) for ; Wed, 07 Feb 2024 15:46:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mPAJMeGXw2UoZQEAe85BDQ (envelope-from ) for ; Wed, 07 Feb 2024 15:46:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=idVlb4JS; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707317217; a=rsa-sha256; cv=none; b=pq5dMXDG4cQ2pwpHVuicteC5e1YiWItCeHk/TmD6enBV1TYC5nnBDD97btOUyQXZoZ1zpD 7PHx9wT6fwcTWqRBJewbpWVElJ4bB66OGRoY2fS83jlH9X7E0Mq2UXc4z5/rIKXO5O3eLK +AJDYOXuJE0k6zngLlHcs9M2+AlzhyXMkk1JgXv7/r+NzgvoGaDlxnzeRGTtZ5KQCH8Xhe Bj8gGWl47Eyna7KoEcCm424ijwofhGR5+9mNisk+TmKHLG12JRE3IZ/EUQN0OZU+rwJ0lO J6NqmxXbqmtdwQsQ5NhLRZef1xl6Twxu3Gd7fgMCrd5PYO+iNoGwHK4hdBJ9NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=idVlb4JS; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707317217; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6S4c1ibHoASmiYH2cdfv4fsw6rwTDrplfgoEmuvOSDo=; b=BjiGv0yVoilCazZw8eaMi9cw+T8ak4uaCP1JIXfXMV6JtjEVHh5SMEaaGC0fv1jjj9bJqI vBbgcvbcgp2pihC3BQwke3g5gcUaJEko5QT1JbEt8nVrI+qbpD7kRPhsPJ1BNXHFW+xkpp ZhlaQEINiey+5AuxhTaWJ4jzY+o5HGo+ZmeOwuVQIPd6DBsHZnvwXhxkYa0VpFeOw2pXb7 tI/fqFzdjSUnUHPvuIGohndUatLwqbRTb7zTf8YE8105JGxVMsy8oYYwnBL+riyCbZv34W MHSa0myknYjdkgnX2/yLufVHmrwIDXLOf4x94Fh4zfMh9PuP91vXhWyX3P0kCQ== 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 63D506AF16 for ; Wed, 7 Feb 2024 15:46:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXjBV-00036z-Hl; Wed, 07 Feb 2024 09:45:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXjBU-00036J-T9 for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 09:45:56 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXjBP-0000Px-Gh for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 09:45:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 666FC240027 for ; Wed, 7 Feb 2024 15:45:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707317147; bh=4gD7nmw6WcfRJnoRHrddzBW4/fd4hoIyReSQYSnSTFs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=idVlb4JSOkmDf2Qh/G5p2pTBPzbIOm79YBL1CeccH520SQBZS0NR+GZuuuVKhn8tT okZ2xJHuJH/hQDS++ze/wm+89gtW19NBcYQOkXzI5u+y+EU5n50mY8Gsq1SxN1oyXw es4lL2OiyI3a513yubcP5GG9nfU8Dx9DBEfpyTEC3npqRaBWK2QWZyTEdpNx3akUpY 4T8stX3aNZ45Gg0+g2jJ1GdgG4DZsMZVJMvz84eA9nbcWVufV4idwaoG35WQXwd9yw SFz2k7i1Ysm2assd8zovgW/rBBIlbR9gQjadCIyeAX/Inp9vzpAkEndTezASAx3jYY +OoySNi6HYN0g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TVNG23mtjz9rxL; Wed, 7 Feb 2024 15:45:46 +0100 (CET) From: Ihor Radchenko To: Justin Silverman Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)] In-Reply-To: <87zfwccpvs.fsf@gmail.com> References: <87zfwccpvs.fsf@gmail.com> Date: Wed, 07 Feb 2024 14:49:16 +0000 Message-ID: <87h6ik49eb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.15 X-Migadu-Queue-Id: 63D506AF16 X-Migadu-Spam-Score: -7.15 X-TUID: 58LfWDAkr2qT Justin Silverman writes: > I have been using the same capture templates for years now without problem. Recently updated org and noticed a new bug. > > Example: the following capture template now produces an error: > let: Invalid capture target specification: (file+olp+datetree "~/Dropbox/org/mtx-michelle.org") > > ("mp" "meeting psu" entry (file+olp+datetree "~/Dropbox/org/meetings_psu.org") > "* MEETING %u with %? :MEETING:\n " > :jump-to-captured t > :tree-type month) > Org no longer allows the third argument in (file+olp+datetree "~/Dropbox/org/meetings_psu.org") to be omitted. Everything works if I embed the datetree under a headline "foo" and make the capture template Duplicate of https://list.orgmode.org/878r3xfm90.fsf@localhost/T/#t Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at