From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wCfjL6nit2K+NgEAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 06:38:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aPTmL6nit2Lq/wAA9RJhRA (envelope-from ) for ; Sun, 26 Jun 2022 06:38:01 +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 5B3AE2CB0E for ; Sun, 26 Jun 2022 06:38:01 +0200 (CEST) Received: from localhost ([::1]:38954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5K24-0006HI-H3 for larch@yhetil.org; Sun, 26 Jun 2022 00:38:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5K0f-0006Et-Nb for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:36:47 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:36716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5K0Q-0007X4-Ew for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:36:29 -0400 Received: by mail-qv1-xf35.google.com with SMTP id 59so10467610qvb.3 for ; Sat, 25 Jun 2022 21:36:17 -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=rvaSvmaKnWqqCgNBOnNGquvWqZbVLuGe+HB5jpSRDNU=; b=oUZp0n789XDzgOO3As0YDvCoNSll9hT9kka7/Tk1TfF9vXEPrzoK45Yv2GP2BYkwpu 9ZAjRJPS1B1eYoOvREDF/79OoFpSQKPiS7ezJZbjE3VOnS1Jq/CkjJdF+BhN6XrjymiS Lmj+FxTu7Kivt/zl6DBTtLRj/rUe029KfAiFDE7DjF9ZtZ36GWTrKdKSesUt/wr5a7KC 6nGkiwocH13lhjRtv1trNN6w1lGprm7MRQtOD0pMs4jmeoCSDNz+IRfm0SgK9k8AXiXj 4G9YE5ix7/yVTg/Gdww9+8+VtOwncx8MPMtgcHwtN3jl6EzPpP01DNzXmm8KmncbqLZ9 4xAQ== 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=rvaSvmaKnWqqCgNBOnNGquvWqZbVLuGe+HB5jpSRDNU=; b=rUY1QPUoQD2J7CnkPGdcqSqKmY97KkxaOT+NqISmomZ8R/VTmkOkYBx77ZKUdVN9FI Nlw73EsaC8J2icVeZCr3id3i4Cxuu5jt1G5+RSQF3MyF79yJGs1Ps93/YkO0PXeB4IU6 1Z33LJJPQN9ZyQzG350tPOU+3SIvmxZrxV7rXcJvI3Vxtq8IvKL2cmPF2NkziaRMbByZ Q7LvR9Mgt7LpwQ4D4IaT+OF3sJQZ3y6nPgZF3Gu39cFWIiZ8NuhliIw4YEuGfpN1i/Zp mTGws2O75Ja7cWqYYUMn6talPCbgdwwZhR7aQ2JchXNzg5d+QCwkFhRzO0PJ2vuAGepa g41A== X-Gm-Message-State: AJIora/rgJDpsKxBoEkqIs5wlWxv4FvF1CrQblqNJosUJ/mQ3JEMDgRN q6jxnnROO3uiJip1ULPx9OM= X-Google-Smtp-Source: AGRyM1uHnPiERnxFPDDGyu8AA1lLhRS7uIY1czgBfUcp5iKLN7+rFzy4zSJJtRwMb4VqLgIUHFRHzQ== X-Received: by 2002:a0c:ef0d:0:b0:470:4656:faf2 with SMTP id t13-20020a0cef0d000000b004704656faf2mr4812375qvr.16.1656218176426; Sat, 25 Jun 2022 21:36:16 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id hj5-20020a05622a620500b00304fe5247bfsm4328410qtb.36.2022.06.25.21.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 21:36:15 -0700 (PDT) From: Ihor Radchenko To: Arthur Miller Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Proposal: 'executable' org-capture-templaes In-Reply-To: References: <87fskrobiw.fsf@localhost> <87a6ay1enh.fsf@localhost> <87edzvdb44.fsf@localhost> <878rpu5qf4.fsf@localhost> <87zgi7357y.fsf@localhost> <875ykuslpx.fsf@localhost> <87h749urjv.fsf@localhost> Date: Sun, 26 Jun 2022 12:37:29 +0800 Message-ID: <8735fs3ura.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf35.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, 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" 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=1656218281; 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=rvaSvmaKnWqqCgNBOnNGquvWqZbVLuGe+HB5jpSRDNU=; b=MCDgv5o+j5Vw0vC7MHkCidFdnZYd4rfC7IGlgGejAEvB6lcAuc+ms1aujf+7fLbbg+DzLc Q1kRoreltVv3emcX2Zzu/Ijj8MyG92kpmxH8q+xUdl/v2NuZK8ztWIjJNKoXa3V++1VSNy 7PuEdgEqhaB2zQcJC4UdYmSXIUMRHazWGwuGDLWRQxaPUwCIaBnqPi6tuWPujCUKfg5ude gINQy4odKT02JgvwxlZjr6IKlwHY5fXBrgmOWC6JQIxleGBrNBO6uarIN3IpHPstCjiSYa nTon/yX8B/k408nIzc1UYhBabsgAFA2ZF48iRC8AtA8XhXY6cpyRG2fCnk7x/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656218281; a=rsa-sha256; cv=none; b=lLlHM20ZlOnjIpBMe3AYti/jAvJzomM6bcdss+O3nB0+2WOCwyR5GACh6j3SYvazDXe3VM D2dPZdsDkD7griTsH7UxQnyOlozC9hYJB59OgbNkJ+UtulqXPs2bv6pnhYOjW0dtZvpXh/ mfSYAWCac3mlRlsrUFLDzgadjdVfk82mHNdZuVe7/H7sdjbIXKqP+SxH/iRdEZcKt720Kz zgoPkP/JP629kbakDzw99VDw6lo33zQC4F8NCIavWnnee9k9gmv/nMo2rG3DEROEJ/BNAq Jrc5PMoco60PBKw0PktIem0MdPvT/6CvKt0k1YqlYzlMcAB7cfeQOAluUSLH2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oUZp0n78; dmarc=pass (policy=none) header.from=gmail.com; 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: -6.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oUZp0n78; dmarc=pass (policy=none) header.from=gmail.com; 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: 5B3AE2CB0E X-Spam-Score: -6.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: +GLq+vf0gQBi Arthur Miller writes: > Ihor Radchenko writes: > >> Arthur Miller writes: >> >>> I have reworked a bit org-capture, but I haven't yet worked on org-agenda >>> restrictions and other details. >> >> I do not think that you need to prioritize re-creating >> org-capture/org-agenda/etc The main point is making sure that org-select >> provides the required functionality. > > That is just my way to test if it provides features needed, and how they > would reflect on real use-case such as org-capture and org-agenda. It is > just for demo purpose so to say. Demo is fine. However, since you are already asking about comments on the elisp parts, docstrings would be helpful to understand the code. Without docstrings and following the conventions, it is much harder to read the code. Best, Ihor