From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RXybAv14QGLBgAEAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 16:47:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4O77Ofx4QGIOCQEAauVa8A (envelope-from ) for ; Sun, 27 Mar 2022 16:47:24 +0200 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 90C5EAD7D for ; Sun, 27 Mar 2022 16:47:24 +0200 (CEST) Received: from localhost ([::1]:47896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYUAs-0004pq-TQ for larch@yhetil.org; Sun, 27 Mar 2022 10:47:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYU9o-0004pf-Uk for emacs-orgmode@gnu.org; Sun, 27 Mar 2022 10:46:16 -0400 Received: from [2607:f8b0:4864:20::629] (port=46620 helo=mail-pl1-x629.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYU9n-0007un-1D for emacs-orgmode@gnu.org; Sun, 27 Mar 2022 10:46:16 -0400 Received: by mail-pl1-x629.google.com with SMTP id w4so12665582ply.13 for ; Sun, 27 Mar 2022 07:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=pNau85yiNgmpt9H/eN8vb2aUJYf1Pc7q31ELS7ljY1Y=; b=LxzoGg6vioEdnak3/DjDPwJJSdIGo2ChadvM1WwaWny/V2U5IV39Rs4SrCLqLOVuL+ NOMWaKgC1s8Nk/0lV5TZ2lTUg0SDit7tj5JtZboN63eLMrLaBkjJzeTsEpUST1K83bqP Gkg+kNG3x2ZNQ3ZcKLE0rLbCoFb/eDax1WnQWotJBs+q2zrAj7tL2PPtFnaYKJnVHfJi 2XBs30a7jKIUqUg4jjUnvwmQTR198cf70toBWPX5kvLEcYXtHsEk2yC4ZBt+M5N3hOgA HrISPLrGi8qcIjywHDdiviyPyY2JaYUZbXJJURODPZbJAEypEGgmOXvnHdQDL0wFcUAS iTDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=pNau85yiNgmpt9H/eN8vb2aUJYf1Pc7q31ELS7ljY1Y=; b=nkDrX8roDnZkZPWlOcrjqO+gXOTHjBQSv+P1lCI6DPAjQ7y6su9ob9Ixe/c20OlGUe T7Jo6x+fkU1xb+m8md3Hfg7JF1E43FrMiehP5zqASr/PgQp9Rga+qs/T29kQ0I7nF+LK zm2dXpmhMyRmD/fX0xqvLl7gjlOiaFDSlk/KgIHT1eXsENl45/LJ8BT7GZskEbciBSzu zcA4P7eF0tHUkxrvEb3+6AIQESp5rT7BXmc+gGNVwepT6IVa8kliNDAJmEbxl6DoBuOL yLKpMficuAT3cRV3mTcTvAHBtHqK7otSu1sW3jxAqmOkvto0yW49mL6POzTDSVCcA3s4 18gg== X-Gm-Message-State: AOAM532y2MFf36qlBXxK3HfzcnnJLhphl9zUq4DKlkeuqKy+vQHbd3zn IDyrGdHYule5rcJBpG9mL0Y= X-Google-Smtp-Source: ABdhPJxbiiTbw3HEM3pYFhDSRpeBHC812kJs9jSrGv3FYTBKn1At6ty4BVJv0jJifhnE0Kkx8fHD3g== X-Received: by 2002:a17:90a:3ea6:b0:1c7:1bdd:a31c with SMTP id k35-20020a17090a3ea600b001c71bdda31cmr24416476pjc.36.1648392372998; Sun, 27 Mar 2022 07:46:12 -0700 (PDT) Received: from localhost ([45.128.72.3]) by smtp.gmail.com with ESMTPSA id 73-20020a62194c000000b004fab3b767ccsm13789061pfz.216.2022.03.27.07.46.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 07:46:12 -0700 (PDT) From: Ihor Radchenko To: No Wayman Subject: Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax) In-Reply-To: <87k0chyv2y.fsf@localhost> References: <87wo66t8i7.fsf@gmail.com> <87y2qlgq33.fsf@nicolasgoaziou.fr> <87d07wkbkz.fsf@gmail.com> <87czihdiyy.fsf@localhost> <875yo8u5kj.fsf@nicolasgoaziou.fr> <87bkxzd5wc.fsf@localhost> <87wngkk4vc.fsf@nicolasgoaziou.fr> <87sfr8gk00.fsf@gmail.com> <87k0chyv2y.fsf@localhost> Date: Sun, 27 Mar 2022 22:46:34 +0800 Message-ID: <87bkxrlagl.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::629 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=yantar92@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: emacs-orgmode@gnu.org, Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648392444; 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=pNau85yiNgmpt9H/eN8vb2aUJYf1Pc7q31ELS7ljY1Y=; b=M4jMycSpJ1m0BvWbn9CbTNJxhGwz8nt5Y7eaA5bpUX3MvOoNk1FaP605TJQ0i1/mYvD1Li UiIsrbxOi822RZTZP3ZYdBlzrvQF2NrOVcC8N+PXdOiaNVK8uKbVEwEV8FDXuqpdu2534d znBc9RAeCZSKXjmYOsR255e3S3qarPdo/vvKvrmRZllkzRmY5PnpWn2yxWyrE2WdScu4+f wm9UiQ7MUkFtNlIrgE/eQJhwmcoFHeeIZZPwRUAyHNAKLbFc9tlk9CcgqYjJG9szWhiXPr q0drgt4GTeYQ2xxs3mrAs0FzIHKqK7/qFpF848Oo6PIYNdqP1r1tOFsu+NAv6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648392444; a=rsa-sha256; cv=none; b=iipSiARoW+D+rfCUIcC39gYe+ZXVATYuHqyNOHPnZ/GfEv3dym4OzISyYxLnoeGuKPDgAX OaYf5f39EYZGfiH17K1IzWfXs7TuwnaqVZvTPTOW8YOVghQjGWKsq1+I3+NMs7p/3xt4Fg unTHx0QErazNesPEbA1PU0uJ77QvbVsau9Aonn9tjf/aF+XDWGcPuHN18VfpDP09BTCj6R cWnIvYbbpaeZfaeRKeZRzJmUb8gqRRq+VF5Cll+3q5Q5y0pkWN86OwOBi9F7BfhWMy5Htw vrmvIUUKEmVwB5DuQX59KC1gTSk2gk3EeKH1bUwnvlQS853kwrJgLePQmrsxAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LxzoGg6v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 5.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LxzoGg6v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 90C5EAD7D X-Spam-Score: 5.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: gKpnORfM7VQf Ihor Radchenko writes: > 2. Extend the alist with new options, like ${keyword} expansion, hooks, > contexts, children, etc Maybe in a sequence of patches. For reference, someone proposed a patch to extend org-capture-templates and support per-template hooks: https://list.orgmode.org/orgmode/20220206140551.1263130-1-herr.valentin.mann@gmail.com/ Best, Ihor