From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cG2SCJFwoWJkbQEAbAwnHQ (envelope-from ) for ; Thu, 09 Jun 2022 06:01:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SC2IB5FwoWLZMQEAG6o9tA (envelope-from ) for ; Thu, 09 Jun 2022 06:01:21 +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 ADA77A9E3 for ; Thu, 9 Jun 2022 06:01:20 +0200 (CEST) Received: from localhost ([::1]:56294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz9MF-0005pQ-9v for larch@yhetil.org; Thu, 09 Jun 2022 00:01:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz9L5-0005p3-67 for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 00:00:07 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:50836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz9L3-0002IF-GB for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 00:00:06 -0400 Received: by mail-pj1-x1035.google.com with SMTP id e24so20365357pjt.0 for ; Wed, 08 Jun 2022 21:00:04 -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=r0+TmUgIJFvekcr2juJSixWpJo8pz2EF9OoDn7f60vM=; b=nu0bDUg/JCRwz5CqNomtAV96LgjLd5iNUvCBYHeAjq5hkH14hwEwftuxjRPtEZB9sy F2HDn2IjFMpCWZOMbd8d4YecOLeT1drAxVi2G9gZhpOXEneSxfQeWvKbDjUd4fSTHe0k VdK2VbufS40IKFG4LzP+Lb1mi8zMPloXLcQV//hAME9b/5FL1YLxFMlIx1p++sdHEiPF ZQLIXBF59zM8TUEMUxLkTtHN93w9f4o03RhplXzN6yvl6ppnXovHpywh710+NdnQgaUJ qTcSvNZ2AUTn9QRuwhG//6HWXtym4cVYA1lNt0fycuDJB+NFKzJq7+WsAmyE+3SNRWAs ZthA== 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=r0+TmUgIJFvekcr2juJSixWpJo8pz2EF9OoDn7f60vM=; b=U2sjs287a6/fX8kWWhIxqeReguQ6fqdl7v4EABD5fBzA3AMDBWMOqlPKoFxkD5lzSt 9jAiKSYvjabEHNWGDMXgnSmJQACcmlvpR4VG24kJEk4SL+lBXMikRYdhPeHuXXvyTfrK iHrZ54IQiyXjG7zGxKb4s/ahfgbDwQwg8lCw2kihnAEkXHcJhR1ew4ICOsLO0b39AAJJ Gx0HXpfyjcC0/gGcn4aXSWQslsNZjQLdQPPjwkzUxZlOWZf5z/JE5TgvSPIy18LSI+mC 1HUSQS14X//1S20+MWP2NgfqqrfUriVz+AzwA7Z6MwqzD5C7WkrOY/9/N2ONovSyIC6t ZG4g== X-Gm-Message-State: AOAM5326GQIxcXO8eWMffpsfTqHcwGvdzSJD/+pYYq8MSHxaGU7xgyVW z2tUiVW4eZCOdWGjx8/jwaIFVDqsgc7a6Q== X-Google-Smtp-Source: ABdhPJxUDrqJ2RGyHTXIHHJ3ThB5qjaDVfNki3UIZ3uKhVx4QdHneUwnJ4caRobIIMdlBRY3fcq/dg== X-Received: by 2002:a17:902:ce06:b0:15f:a51a:cdec with SMTP id k6-20020a170902ce0600b0015fa51acdecmr37056768plg.53.1654747203658; Wed, 08 Jun 2022 21:00:03 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id iw10-20020a170903044a00b0016188a4005asm15625572plb.122.2022.06.08.21.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 21:00:02 -0700 (PDT) From: Ihor Radchenko To: Tim Cross Cc: emacs-orgmode@gnu.org Subject: Re: Proposal: 'executable' org-capture-templaes In-Reply-To: <87a6ametw7.fsf@gmail.com> References: <87mtf3tui1.fsf@localhost> <87pmjyco0x.fsf@localhost> <87fskrobiw.fsf@localhost> <87a6ay1enh.fsf@localhost> <87zgisvuu5.fsf@localhost> <87sfoi1xde.fsf@gmail.com> <87ilpbs4tw.fsf@localhost> <87a6ametw7.fsf@gmail.com> Date: Thu, 09 Jun 2022 12:00:41 +0800 Message-ID: <87ilpazdsm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.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=1654747280; 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=r0+TmUgIJFvekcr2juJSixWpJo8pz2EF9OoDn7f60vM=; b=rE/L5Wn+EChahNftnOFxxMEIf7UftQYLv+xgzw3dd9iw6kgfjBDrR54LZ0ypl7KovnB77N fWMPdZuYX6iGzh+ehyT4OcNM2bLCbRMUWerzPRwOAlFVq1U8EPEtIJRoyOYGQl3TVpqmzV rxUQ1V1EQkTh0KwjvlePpScJGlhLwtJOgieafyyq+KOT7PAw87MDHKRwdZWSBfqeeD9GnE JBoHyOOBKTa/GxrPnsQxbUcQfUY8Q19zEL+qP2WkdxoQrFic3qChHFpl1/IqLhkwoQ1URD w+UOK+CAMeOqVlbfxRVHxkK2ldUgRZdXBsTcUQqXCnHZax8cGP9Z+mXjugNkyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654747280; a=rsa-sha256; cv=none; b=N6CBlIrFZAGR+LbJ5XLKEgRV1O18jrpQbrAEqnJ3W2K+UkxpqdK2stCrMdGNL2FYYIyc7i JSAkZURvOKGbnG1JhqaWj0gNkDB5OLjU2ZEEu0PFyGqKeB2b1IqjEpOm45QtPuqKt0TqeI 3Yg/Pes1WpuUy5HW43sBlNVPrpaa7M7MpV0dYWhI74edBeJ3JAStx0YUmKk1jzo4emyDZb MFDQUab3t1BPP39cgjEagDJ6W9St2odIHFv2WJDzqW/yNkbk//5HiAlP2vLC5MfkUj1+iI cykJDloO8Ks6kfdWY/HPVO/Ob3gavl39aL5RwWfV3udW4NT8gNDtKfBs28NO8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="nu0bDUg/"; 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: -8.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="nu0bDUg/"; 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: ADA77A9E3 X-Spam-Score: -8.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: qPkf1HPx7Y+j Tim Cross writes: > I think I totally get where your coming from and I agree with all > points. However, I don't quite get exactly what Arthur is proposing at a > concrete level. > > Overall, I guess my main concern is that this is one of those areas > where it looks deceptively easy to improve and it is only once you get > down into the weeds and start to see all the competing perspectives, you > realise how much more complicated it actually is. You may or may not be right. It is not important in this case. We can just let Arthur try and help him in the process. If he manages to go through all the obstacles and develop something equivalent to our existing menus (no need for anything more powerful or "generic"), we can use it. Let's not discourage him by imaginary difficulties, which may or may not appear. At the end, our existing menu code combined is not even that large. So, developing equivalent should not be prohibitively hard. (I am not talking about full-fledged menu library here. Arthur clearly stated that it is not his intention). Best, Ihor