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 ms5.migadu.com with LMTPS id KKd+EVTmt2IpawAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 06:53:40 +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 4MVmEVTmt2KiIAEAauVa8A (envelope-from ) for ; Sun, 26 Jun 2022 06:53:40 +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 B86A29F58 for ; Sun, 26 Jun 2022 06:53:39 +0200 (CEST) Received: from localhost ([::1]:48354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5KHC-0004tD-Km for larch@yhetil.org; Sun, 26 Jun 2022 00:53:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5KGL-0004m4-IJ for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:52:45 -0400 Received: from mail-oln040092069062.outbound.protection.outlook.com ([40.92.69.62]:47489 helo=EUR02-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5KGJ-0001WM-Q7 for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:52:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YjpT3XtDxtcxMEKRrNz8s8G/wDHykyfyKWdBH7mAzjbfhR3v42DnzhQ8HqYqkLiYTmJLd2YoKshPBVsWwYqR2CRQeXlPrGuI47H4W738G0dKy8WVMXNfsA8ErcLmPk/30xGoWun8FSRnNUTs5WrTRb91apbSoAzOHOZt1GNT+tQlXf/PeO8bjMdOvX6Dm20f4w25EDrmpyIPJwTHSn+QWgL1AusDFaE+7fATN1B7qSDfE+KGf0YFKCtipOyTnyW1Pn9sekuuXZHFGwzgMR/Xbf4/yy2xSPebWJ4lVPMHizMM/YMiqAa1WL6axVEDUmMyhmB5j5y+Q3EsqYJJOjV+WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MsaBlJuzpUxgLrpebekWFsGChiITA5MBHqVaMLt8duc=; b=dERiReFUexB6Bm20jPvnnoABRjKzMarl7AZGoPfg+7D9sgSkOUe9/EtPmNGzyH6zqtCJrKJptjXO+IRNl/Vt/AXtUhBkBDDGUTBqFwz5/XN4k4t9Cj096fzwI4ydxGqGfOnWYVr6b0TWy7bv1GUvq1JVCHxI2qfozBOr9tjti4lZnqV+MyXCJDfJHr3UFY0leIwuoRawk4ZkUiKPN6XiDsBl/zSaBg6/JcfZShtZLgBYmK0fmEWRb4AFXU6ST+cQpr/+My5XklUyJwEc2mMe1v0EPZ1kkVon15X43/yl+7AycZwkSuoYzTn14+tCrJJaLE87QdJmA18cmyTH9DxK4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MsaBlJuzpUxgLrpebekWFsGChiITA5MBHqVaMLt8duc=; b=Rn0S8L2aMq2Yo/b+9mypsF3qsYW8PP2MK+6o8EnIGTD+qkYPW8rUVDsPVwkn8GfeX1IrmXQ7pCiShcaDeLHhDhsULk+hwbXwRXOPa8tf+ZVmtGumayFOtJdXRq8oBki54XlkX3JXg0NHA3Uq8rrnrzVkufkXXICKRCuiCFEU/RF02wGiYjx++jjfAgXFeH5jLugHvZEeN6E3LLf8Eus3Ovbx7d/dbpIfPcIJaxUEyQuwXvGOtLglOm8s02rTDgToKNUGdKi8LKX+gRjNvyFSifI0YclQ8yZ7MqxIoev6wa+O6Vdpz8xsBdb+ZDhAGDfQG3iZD4/9sN7df/BMPGXdZg== Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM0PR09MB2625.eurprd09.prod.outlook.com (2603:10a6:208:e1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Sun, 26 Jun 2022 04:52:41 +0000 Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::1995:84ad:afa1:1f39]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::1995:84ad:afa1:1f39%7]) with mapi id 15.20.5373.018; Sun, 26 Jun 2022 04:52:41 +0000 From: Arthur Miller To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Proposal: 'executable' org-capture-templaes References: <87a6ay1enh.fsf@localhost> <87edzvdb44.fsf@localhost> <878rpu5qf4.fsf@localhost> <87zgi7357y.fsf@localhost> <875ykuslpx.fsf@localhost> <87h749urjv.fsf@localhost> <8735fs3ura.fsf@localhost> Date: Sun, 26 Jun 2022 06:52:40 +0200 In-Reply-To: <8735fs3ura.fsf@localhost> (Ihor Radchenko's message of "Sun, 26 Jun 2022 12:37:29 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Content-Type: text/plain X-TMN: [IL26mbH92hl1r+OrOwmfa6NXCWKhmeIV] X-ClientProxiedBy: GV3P280CA0042.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:9::34) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82k094qb53.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 387efc7d-d229-43ec-bb58-08da572fb3ac X-MS-TrafficTypeDiagnostic: AM0PR09MB2625:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O4cRJyegLpV+A6HLmd5JM0OrHbSjXrWKsGt4OjmEkUcSQDcXg1M7meWlgBrciMagxUL/RmI9GBtuXuz12uvVJxWX11eTCNsc9uLRVv/4KC0S4+QtsnoIqdK7ids+qZ6HalLTl1GyjGQYG+wYpYrZ7yNBjmdnDehnh0LL+eiOtvHwBgJgN91f9KUxTXR2ZMkmgEQcD8F58BnhZY1gp5x/EqrlV7JrtCU7LZ1k8MSMIJfS303iNATT7WWMocI1DveAPB9aFTG3hj5hw2Hn/IdlZFqfYWEv25zfI/3XN2iTLQC6rFsIjKx97GcMPkLoQQmMKgRmtP7IzKAoc0KRkhQuaLNHLEQ6aGxVoVGivHX9hgU1+MlmjIs+lQjurl8olKpBMPvvpDdSB2UrrHJQJLe4OHysRQo4wOq1rhXLxDS/xmPTQUsR4ftFy+tVu5c/3yG4vfnXY1TroLjN9p26imCoPjqHh9A79Sz1k/CZPk+//+oM3TioAqo+bTwEqghRkZdAp4us3/czUI/5dA2ZKN77U12BDwNcuXy5turkUnjaun/0pcvEIvJWx2P/2RqK4khD52VhRR6+h8TW0YIAaiq1YX2xUFMxs7hSsfeo29nD5Y6d8HQQ+cqSQUCgDkkYnWaY X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?a0F4dchd3pZPtnZy7WALd4YZiUFZoae5Z1AKwzGnc/4em3/4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A6YD72jbgHeSYpPS3g+Njs7qC3CSjFZ4mclj?= =?us-ascii?Q?s1ZY9ZeSwltAioDxW1vRrvwm6iRiDLC+KspkAoCAqtTcIiKeQWCFAOJ6kVAf?= =?us-ascii?Q?bivPc51B4ccwHCEBSR/pTnfo0OoIJ+5owCXeZxqE+/aHgZGHEEMjvqqg7BvN?= =?us-ascii?Q?fT7HOdg8xd2c7Ye0oG5Jg/c7cTZ4i7/tfhOR2Zu1QSuDJcCJxJmj1NIxsyKm?= =?us-ascii?Q?H9nEaJ5tEvZKSRlSXVUNxjdmv31JZ80/zTgRP5oQskeJeon9ebmX0ZIGap36?= =?us-ascii?Q?r61peB6WPDEXjzGkZDjtbEfuSDJA6WYvIl3SnrslPkvfavQRkJZ8q9hKdvkM?= =?us-ascii?Q?KtpPhOT8nxY+9AV4EwirrlJ8lXdnxPYPjieMhsoC1A=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 387efc7d-d229-43ec-bb58-08da572fb3ac X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2022 04:52:41.8367 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR09MB2625 Received-SPF: pass client-ip=40.92.69.62; envelope-from=arthur.miller@live.com; helo=EUR02-VE1-obe.outbound.protection.outlook.com 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656219219; 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=MsaBlJuzpUxgLrpebekWFsGChiITA5MBHqVaMLt8duc=; b=cuQPtvvlw5YDX8Ol7fPwMlzOGWZi+ifudi8hZZxKtX7W0ootAtgYuMeOkJKE4yuNz6Q/E5 FSWhth8VY7qpXkCRWlk05d5o/uyEkFsF+39nUWN7o302/Ug+kzMp1ERTCoXR0JCKb/U19U N8twHF04/69or6GDAj1OC6l8DKIT68tPsR5XH1O5Quiqf+PVUcsJEytaOkwTwHKhSCOU8E +xooZZXGY3p8tRqZ80vSgas/DQGf2+UDxzroS2KYnX1Se8GIlUbkPWMJIsstUrUZtUFiIV ss6ilAVRxN5VBD3ZyjAS/Q78pzszTt9g1qC2Dn2gEXrcnc8zPCDXpSAQqW3nyA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1656219219; a=rsa-sha256; cv=pass; b=oQ5Y/KE8GBTp7ctkhxBqyATHTWKKe6UBwdYJB4noAugbgiz25qhzSZL7CLXhqJuMd5LYyA +MZG0ECzikEgXDlb5AjC+Pzqq5ee/yyzQemWsKP5+9F9K74vxR62LZExL3Lp4rnRacES08 66Jd1smAxALyPmT8ijZNijjz2ghOtdToy2IBnlfTqKjjjgJ9Gqcj0PMcNX60DES86RVhhs CUeeGS4nkkm2lqKTiEZNEawWt1k4h44u/NCMJe8GVfKmxaNWLGlGvfFiuZXLK0NIlCsHQN qHf3UBbVJ5pXg3icIcjn08MuErxfa3Ox6NhK7d8eM/z5ZMlS1//Bh9HhhUp9Fg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=Rn0S8L2a; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=live.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: -4.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=Rn0S8L2a; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=live.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: B86A29F58 X-Spam-Score: -4.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: GknRpy90de5o Ihor Radchenko writes: > 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 Yepp, I understand. I'll think of it for the next patch. best regards /a