From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KAo6OW4FN2K1HQAAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 11:43:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yKLNNW4FN2JCogAAauVa8A (envelope-from ) for ; Sun, 20 Mar 2022 11:43:58 +0100 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 8B14636D7B for ; Sun, 20 Mar 2022 11:43:58 +0100 (CET) Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVt2T-0000JL-OF for larch@yhetil.org; Sun, 20 Mar 2022 06:43:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVt1e-0000Iy-It; Sun, 20 Mar 2022 06:43:06 -0400 Received: from [2607:f8b0:4864:20::634] (port=45590 helo=mail-pl1-x634.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVt1c-0008KP-VD; Sun, 20 Mar 2022 06:43:06 -0400 Received: by mail-pl1-x634.google.com with SMTP id k6so3271283plg.12; Sun, 20 Mar 2022 03:42:59 -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=nTVuXwVUODtUMECGHew6OI7P45daCM9coTKcuydDyxo=; b=fqjHpXTYxBCjz3y9f4zBeH6HvJpLuKdzanqM5GU7pj7jWkcZRi9/LBWZ+d+ZDjSU94 2esMbTGldzfqpGUXaQNn3FVOYcdobJaN7UrnV6qvWBk+3Ubs2t0y6Sir4LkdnhvGJG5F kmC/jy8UJ7yz5yyhOESIVEx4vnnL66N6H3OhuZOkwEcaCODXGSh07a9iYHD1Q0oncU06 A1p8n9Ht2pGkKche5YroFnll5b3a4BgSmnxvAhuNSHE/xKSeHxoxs6HahzAi5VQG/ChW jZzs0bv3AelUZ7MfDq3++1Y3GkAGI1P5r1qjWnd2imyj5SovRXuYPyh8IP4Fs8NiQCo8 X3Vw== 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=nTVuXwVUODtUMECGHew6OI7P45daCM9coTKcuydDyxo=; b=XKbiY4gN/RrSbGXO+t92E123jxqlScok5yg4g6VxozyYozrzb6Jwa4o8z8oTRwbE8F cEpvMVnm02AuX3kPrSzBFbIz+kU/vZnNBlOwnlKgFg2ZExWkjAARoQAA3d4G7ryAhV3v uWdUu1wpN+lGbVqlpB6gyY4rzo6JYWqb7eSxMBGtgBzhJW//JA//TsDY23B9etqj/tVU vmix5HqSedm3Tf+Z6pgQbt8JxU++BnftS4ogUiWFB2QiwyU1+CNbejOd8B4YpOwLX1Rd S3xKMut3LbIB7ZQHPKf7dzNZZq6GE3sEvorygrxzSP05Ak15W+A9ktys7y9yXZud9r+Z adMg== X-Gm-Message-State: AOAM5331+HZ1ryc1trWbVQWZamoVXes5eZN1x0jVTBY3hBl59I8FP17V dtB1ceRkHPg795LexSMUgHA= X-Google-Smtp-Source: ABdhPJxRAurXHa8yr3UOBXZC2w6ERNFDHFYq+fgzIYLxfuP02/PHx+pilZBnkKhnXu00H+TIIFD00Q== X-Received: by 2002:a17:902:6a89:b0:153:7213:3841 with SMTP id n9-20020a1709026a8900b0015372133841mr7911499plk.74.1647772978678; Sun, 20 Mar 2022 03:42:58 -0700 (PDT) Received: from localhost ([45.128.72.3]) by smtp.gmail.com with ESMTPSA id y16-20020a637d10000000b00381268f2c6fsm12017946pgc.4.2022.03.20.03.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Mar 2022 03:42:58 -0700 (PDT) From: Ihor Radchenko To: No Wayman Subject: Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture (Valentin Herrmann) In-Reply-To: <87tud8qydf.fsf@gmail.com> References: <87a6f1no7e.fsf@gmail.com> <87h798vfxd.fsf@localhost> <87tud8qydf.fsf@gmail.com> Date: Sun, 20 Mar 2022 18:43:26 +0800 Message-ID: <877d8oewfl.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::634 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=yantar92@gmail.com; helo=mail-pl1-x634.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-request@gnu.org, emacs-orgmode@gnu.org 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=1647773038; 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=nTVuXwVUODtUMECGHew6OI7P45daCM9coTKcuydDyxo=; b=Up+8tkRYYFWXQaDYbkdyuwBeUZDB3/JJOsC9KzGrMZ3SjWvnrRxRHDyYaNccm3NUrgOl/s 2bxZzOL0hh+CLfBUWQ9ebdHfcZzZBuUJeohhkfGR8MFsa2FCPypSlwdVOlAWrx1DQp9i+B AkhlQB8gV7iXU2Pre3jJrBClTgy1c1dAO6aZEbQgumsweJhNgQ4TewN3Kq8GCUqmxcdMP+ TuoDnaH5KZ4Rm3APU5944YC0121E7IEARTiiqrgOVstctrmYsbNCJc+oxglog+DsKixt0h 1+5nfRyMux/vYCdwm1phBD96uOLBbvdIZ5nANP99WAFQgct4ZvxkGqrV88N7JA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647773038; a=rsa-sha256; cv=none; b=F+G3+KqXCaH/Xfp9TqEpSUHKYCff/33cxQWc855Azdvr1MhVA845rs9jOEmPLy5z4Y4Re+ qN2AslCrAytuS9mamMXVsPOTHeWG2tnla8OZbygFiKtROx/SBBowJTVjAXIKaGeE6kyv23 4K6XZ9BV23cDDLMlgj5N2rxX5AKF73Jpx76xFaILyS620vuqtYT83RBMRPq9Z1yNgI8YdU 7/kVIRQtCnG0k/nx/WLyU/cBweEckjW8XEgnKxcYRBWzff4iBarWU521rQ29LOQaRsVhR6 ktdfNMhnNulMIwKqevwnEk2AnNH4iTz3ujcnCjftVL4dBgD6XfXPjE4YDFWLeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fqjHpXTY; 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: 4.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fqjHpXTY; 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: 8B14636D7B X-Spam-Score: 4.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1xhgxdruASpi No Wayman writes: >> I think Nicolas gave some reasonable comments, didn't he? He >> suggested >> to incorporate some of the ideas into the existing Org mode >> code. >> >> https://orgmode.org/list/87wo66t8i7.fsf@gmail.com > > I believe you're referring to: > > https://list.orgmode.org/87y2qlgq33.fsf@nicolasgoaziou.fr/ > > He had some reasonable questions about the design, but said he > only uses very basic capture templates, and could not comment > beyond that on the design. The hope was that people who use more > of org-capture's features would chime in. That didn't happen. I just pinged that thread again. Note that I strongly support adding doct to Org. > Of course doct's features could be added to org-capture in a > piecemeal fashion, but I'm not too keen on contributing anything > non-trivial to Org these days. Too much back and forth coupled > with discussion that can stall due to lack of interest. > e.g. > https://list.orgmode.org/87h7e6dluc.fsf@gmail.com/ > https://list.orgmode.org/87tuit73ij.fsf@gmail.com/ I cannot comment on the lexical binding thing. I do not really know lexical binding internals enough to judge what kind of problem that patch is trying to solve. However, Bastien commented on the second patch. I do find it useful as well. I think the only problem with that patch is that it is not listed in updates.orgmode.org and Bastien missed your last reply. Best, Ihor