From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WEdzOB9iX2N4YQAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 06:50:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EIKGNx9iX2MscgEAG6o9tA (envelope-from ) for ; Mon, 31 Oct 2022 06:50:23 +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 76E732934F for ; Mon, 31 Oct 2022 06:50:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opNfr-0005Ah-GE; Mon, 31 Oct 2022 01:49:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opNfk-0005AY-AC for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 01:49:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opNfh-0006HJ-Fi for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 01:49:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 496DF240027 for ; Mon, 31 Oct 2022 06:49:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667195355; bh=Bt4NsGpagLF6XlIoo23aFjJHLpQS2U8pIpkWHkmM3F8=; h=From:To:Cc:Subject:Date:From; b=WxYJ64SWDQe8GGhfpNbP7HOD/h8M6HJxcUTFBRjRBmJThayi8siwGiIuPgl9+O6yK 4DhJWhHdJDA5pinzUGyhZOF5QXKbRzVM49P7CAElu5dDloXRNhB6ncqraWWkI4rZZd Dpw9wAxvnqWG+wNlB7wxcWNlJbhImD48B0BBhQFJcTeH7EPrujo+RBNtz1Lzkwpmmm nAeTeYpXsDYIhWrFX27J9V1nR2Bg8AOKFgdHzQJ1nFjt8zs3ZZTy6q7Ql02KoRud85 MNeiI0ZKdnm7OEsB7GTGlywHxXMvc4JE29++f0ul4BU50vxa/EGuSptX2ARyf5SQLn p761hy4ekTArg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N12K572N1z9rxX; Mon, 31 Oct 2022 06:49:13 +0100 (CET) From: Ihor Radchenko To: Valentin Herrmann Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture In-Reply-To: <20220206140551.1263130-1-herr.valentin.mann@gmail.com> References: <20220206140551.1263130-1-herr.valentin.mann@gmail.com> Date: Mon, 31 Oct 2022 05:49:52 +0000 Message-ID: <875yg0leyn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667195423; 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=dQw5Mx8zdvqvqjjf4OToMDF27zTwbs05hCnWeGxCOrE=; b=DW05Td1Ji2daUQ8lxO64rworUggmKKliYrjLW8CWWdL3h9CX4dH8ee4djVQxKasYI+EPgM k/gVjssRMQUVni2IwBpH0lW8yUxelHYxSOWvrr0PiM4W36qQhYblRrJG8n9Tl1oxCR8IPt SiR6mH0WZI0kIbfaKy2s/w48z5ERMBT4tsXMMiHhBsPhmUhOdgVWzMF61jhnWBLMvotTrA hjYClFurVn0Pjuf7h+p6F+ZKDB7f3AZvdoqVj0fxyuS6wOTN6ER87b6Myw8p/XEx2tcaQ4 3/Jez1eRiNn1yEHM/CHjfPLPWDFaDPecxnEXyRWiJRPzmu2MxpY6moJx56Gx3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667195423; a=rsa-sha256; cv=none; b=SZ18vKJMEeI/5/cLNpj46W6MR8/9+QfAjDN4Jggvfi0P198vKnaitS19lCPtW3NkM5M3qH HYGgl242t+m3TgLdbjC/vvTZbrA1JedzwLd2YCQVpr+sITPTsdididpyDHsNSJPTscf3yC QTpI1sd2vR/MgDWoyk/KAAMSiIZyQACYXC5OlDgiEMbhK0Gx6aJQPJYuy8SEdC4MaYdSPM DphHrJi38q4Y+/it0j8IBXfO6hNgPgLY0uCXeNbddm8M6Ss86oB0y4ZWNbl65NNK8m5nOC wzpnf3h82c2gxZXn3s2xoaYkVqrNCaHfslDCsq38vtKk+A9TzJq263nllU4u4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WxYJ64SW; dmarc=pass (policy=none) header.from=posteo.net; 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: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WxYJ64SW; dmarc=pass (policy=none) header.from=posteo.net; 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: 76E732934F X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: lOQ7ZUa++27V Valentin Herrmann writes: > * lisp/org-capture.el: > (org-capture-templates): Document the new template options. > (org-capture-before-view-hook): Add new hook for parity with the > template options. > (org-capture): Implement the new template options. > (org-capture-finalize): Implement the new template options. > (org-capture-kill): Remove unneeded line. > * doc/org-manual.org (Template elements): Document the new template options An equivalent patch has been applied in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7f3a6cf6e72fe9968c6ef32211c754b7fe0172b6 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at