From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8CutDkiTw2VLRwEA62LTzQ:P1 (envelope-from ) for ; Wed, 07 Feb 2024 15:27:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8CutDkiTw2VLRwEA62LTzQ (envelope-from ) for ; Wed, 07 Feb 2024 15:27:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Uwi0fbfu; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707316040; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2813opy1FjsbAdYZhifWyPpZ6CT0pQr9B34aAlplldk=; b=RJym3bVGCHvnJq7xY1rR0jDjt46Lf2Ar9apSLWiSuA5yPENN0KJ+iq3hPw9tL7KfBeyqNe uHfZZ8SU+44sOJsVCQ5YPrqu5xy1J/CDkHUSIw8CdCB2eI6WHeqvaaofsa0f4yH2tZcC/n BhElMWdiuz6V3iWJGLY1cMfv09A+GGLXBiOXWsuiRoYvw+ZH9L8F9v1Qi4f1Qj32An9OEV tmFNl/dLbGyWuM5lpL35fWkdm5v7lWScoXF4tt20dkWNcIjtevQN4h+Sy2Fak7OjOKHGjm 6+yePr15rY8/8eGIOtJKkqBGEO6AlBUgTOxEEetllMRqYCqKclge0csGNTNc9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Uwi0fbfu; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707316040; a=rsa-sha256; cv=none; b=N3uhCC/7vNxxggaCnggM7tL0TSRBxSPDMaoGY/pnM96pNake+bDhauwI3HtaiQejVUm2Yh Uh4MH8a8nakYjO9BpAUCLFQZmd1a4BZ13VmLL/rsQjS3opgwZD1mBFN6lYKu475ayHY5iL 6u6zdMrEQ4DI2atp5AEAKwC+Sp9+Fc83R5xGwCchupSDZwhVRWtUgV2vRAQa5aISp2+yG0 GMmw1basLcVS3xckkpwOGvneRSJ5YszJRUoR73tsh1uPOKB5RxSdy3QvwLEiw4mT0FBNBS 5tdX4Xm1xL3oTlmYkxWMdFhdW2KHm1doaJTNMpSkXq/yPF1KAf3A9czsEtiMjA== 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 97E9F45B3B for ; Wed, 7 Feb 2024 15:27:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXisY-0007Jc-II; Wed, 07 Feb 2024 09:26:22 -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 1rXisX-0007IF-Em for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 09:26:21 -0500 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXisV-0003pR-KC for emacs-orgmode@gnu.org; Wed, 07 Feb 2024 09:26:21 -0500 Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-42a31b90edcso3384961cf.0 for ; Wed, 07 Feb 2024 06:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707315978; x=1707920778; darn=gnu.org; h=mime-version:message-id:user-agent:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=2813opy1FjsbAdYZhifWyPpZ6CT0pQr9B34aAlplldk=; b=Uwi0fbfupc8noNU2JLHRtOJYK3cjPOKQtY+0OtJD8Pl1MVPsL2DHRgMAC90Sd7VhDL gE5vLRPcZ21IdNUZuR2c6w0/Ai35UQEP72RjNrgRD3Q3AakOnz8/cn1NVvpAzrIO9ey6 7MLRYSY/Q4+115w3Ivg8/XlGIFVmNzXaPJPXU+dKUmL/rhd8tPMXwlN9aMVmPlD18On8 7ZishSU1qppf+ACqlakLv+2x4rLsmj0VQC8UEPAgnZYTBv/QIXUHbUYtjxQnu6QGo8/q J9ftO+VkuZaxiNQXommcd01NCjJU+HrZne1OyRQzteVx4Q4FSY5jBVI9cFrI8SL1iWOf fN/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707315978; x=1707920778; h=mime-version:message-id:user-agent:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2813opy1FjsbAdYZhifWyPpZ6CT0pQr9B34aAlplldk=; b=GTDLWt58SZ+i52xUpfh9YLZamOLpVbpHTUSYOoYe3dzZ0P9RAqUlLlJeAyVrB7+mcE oVQ4j96WSDlhPK3v4m2xTlDJwR7VTIfv5f24MVV9vaViV24nCqfBD9gVNMw06B6DnsQZ Qqx0VyF3dFEabJofX752DkJti4zsBcsfaeyTai7NQKiC0rD83Dzldg1IccrnUX01rA2/ ePranDC9QKgeS1QBz8v1/lJVBwOggsqCN3w7CJ/Sg2rexMZ7pfy0pO0VmLfSHWv/ZhnY nYLWpKOF9Rd2kP2KYPnKzxIiY9NtQUf8MXZzHJKGAoqUomX8cLvcTe8rMZ2W9lfiMD+/ KW9g== X-Gm-Message-State: AOJu0YyrONyWUxHwx1znXkmEHmLBB4sbRT/v3kh4WA2NEZnSCTRFzMOS Msy9LHmvcl9Wb9rBeZQynlqWVIFp6vIchDas+6dLD0pGcejWiPNsxrVKKlz+f5I= X-Google-Smtp-Source: AGHT+IH72RoOsiCvTXjk0O14qzMi4EAYnZRmeIALHzrIWBF/dNg/KT1CrqrYpgo6eOY9KL3SyTv81w== X-Received: by 2002:a05:622a:488:b0:42a:4a36:d195 with SMTP id p8-20020a05622a048800b0042a4a36d195mr6621350qtx.20.1707315977677; Wed, 07 Feb 2024 06:26:17 -0800 (PST) Received: from lenovoGen2Sil ([104.39.200.237]) by smtp.gmail.com with ESMTPSA id 20-20020ac85714000000b0042837900d7bsm557361qtw.11.2024.02.07.06.26.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:26:17 -0800 (PST) From: Justin Silverman To: emacs-orgmode@gnu.org Subject: [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)] Date: Wed, 07 Feb 2024 09:23:24 -0500 User-agent: mu4e 1.10.8; emacs 29.2 Message-ID: <87zfwccpvs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=jsilve24@gmail.com; helo=mail-qt1-x82b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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-Spam-Score: -7.28 X-Migadu-Queue-Id: 97E9F45B3B X-Spam-Score: -7.28 X-Migadu-Scanner: mx11.migadu.com X-TUID: kG6DoLjBQajc --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ 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 ("mp" "meeting psu" entry (file+olp+datetree "~/Dropbox/org/meetings_psu.org" "foo") "* MEETING %u with %? :MEETING:\n " :jump-to-captured t :tree-type month) Thanks! Justin Emacs : GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40, cairo version 1.18.0) Package: Org mode version 9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/) --==-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don=E2=80=99t know how to make a good report?= See

https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


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 =E2=80=9C~/Dr= opbox/org/mtx-michelle.org=E2=80=9D)

(=E2=80=9Cmp=E2=80=9D =E2=80=9Cmeeting psu=E2=80=9D entry (file+olp+datetre= e =E2=80=9C~/Dropbox/org/meetings_psu.org=E2=80=9D)
=E2=80=9C* MEETING %u with %? :MEETING:=E2=80=9D
:jump-to-captured t
:tree-type month)

Org no longer allows the third argument in (file+olp+datetree =E2=80=9C~/Dr= opbox/org/meetings_psu.org=E2=80=9D) to be omitted. Everything works if I e= mbed the datetree under a headline =E2=80=9Cfoo=E2=80=9D and make the captu= re template

(=E2=80=9Cmp=E2=80=9D =E2=80=9Cmeeting psu=E2=80=9D entry (file+olp+datetre= e =E2=80=9C~/Dropbox/org/meetings_psu.org=E2=80=9D =E2=80=9Cfoo=E2=80=9D) =E2=80=9C* MEETING %u with %? :MEETING:=E2=80=9D
:jump-to-captured t
:tree-type month)

Thanks!
Justin

Emacs : GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40= , cairo version 1.18.0)
Package: Org mode version 9.7-pre (release_9.6.18-1145-g10d286 @ home/jd= s6696.emacs.d/straight/build/org/)

--==-=-=-- --=-=-=--