From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MHrcMpVIMmbEegAA62LTzQ:P1 (envelope-from ) for ; Wed, 01 May 2024 15:50:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MHrcMpVIMmbEegAA62LTzQ (envelope-from ) for ; Wed, 01 May 2024 15:50:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="e/QOdBCJ"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714571413; 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=YUQy5AP3a0ihvYT1v/7VCxaRoNi9N53L5ZT+VzeZ1js=; b=F23fCjVvCh46Y2DPlWFWwIxFq6HL8BytT0q1GxAtIKmMkzSZfLFpYli6OK8jZyhf1RxptR +1D3cdeGe8pSMEN2o6N97cFfSNaSRFYTkB6VQjOy+YzloSzOyfp4z2diYgzInxy0aDN06b L4q/CpbxMlnqEErwiRhBFd+nzidUU/wqgZ7W2HfrHzuouDtyNy7AfcvQ2MyQJ7FFXypzNh jHt9JiNFwS72bUz1LmtB5N8v9iVf283baRdvMKaK8zGUKiaRTNMv9iWYcfUMcJyP3HF54v H9FLS/EdASY6M1O5Ywoqf1IvDpeDLXIUVkcILG75Pam94Fp2CI+/rl+qP8l7Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="e/QOdBCJ"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714571413; a=rsa-sha256; cv=none; b=n2ylIjGGVfJV9RYJ/gVNXpQx5pw7+J5i3WD53rRYOWDK2a4zn+ykrXm0t+DBmuzjooiprp J7AD8aTwfyGy2KPY99jxIO3W1bj9SnE2VkfACn31tmPIcV7PmPWxZr6LbYhuTcI2U5mf1v QGF6REiYRDtTJ0Mdh4ahN7JOMWmqRp7tepa3btr5MtqKocgXmV8SZnhAeDL7vU9w+RKF1I c94hbyPG1BeHi0QM6EEFMeNQNQeR4Gn/GBTeaQtqgj1D0asRJ+gBGXNKk5IxKVNaqARQTp kaoW7/gu0or4v6iG2bVu1kbptF7W+xLywZ/IlIh5tjTAg5+fTZuXQHbXNHR9bg== 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 74DFF3E97F for ; Wed, 1 May 2024 15:50:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2AL4-0003kC-N3; Wed, 01 May 2024 09:49:38 -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 1s2AL3-0003k2-4W for emacs-orgmode@gnu.org; Wed, 01 May 2024 09:49:37 -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 1s2AL1-0002pJ-2L for emacs-orgmode@gnu.org; Wed, 01 May 2024 09:49:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7677B240029 for ; Wed, 1 May 2024 15:49:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714571372; bh=8fhB9cbQYvVEHJxRmPp3T2ed9heGFpL+0GrbCJh4JqE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=e/QOdBCJ5AbSswy56xH5XlzTeXdrTpp4AQj88FI+O1PcG77nCKZwZYZFvxmbzjWZl ayNSxT4LWUKOOBKl9rdQC9BqtL7XhuPMIdJelXoMoJO9WAkkQLRaBiQwb3tNRamRkp PsGNsdvrrBhasoz0jf8SZ+QbYwE81ZKPbXsVd12crQVAq5qW0ShLwvQg0EvpGxIL7G LY5TAb8ASi0iSmLk1E1fKNKoBh57s2lHGDllWIo3trAE+SVZNcemYl7fe130Jz9qB/ uPwVWdFQLJH1pxK3xizRFZDY4J2ye4iw4NyEXS9oCwzSDIwR522gnnVb+31VHQP2sl gdOKM+APmHMqg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTz2M4Q7bz6tw2; Wed, 1 May 2024 15:49:31 +0200 (CEST) From: Ihor Radchenko To: Nafiz Islam Cc: emacs-orgmode@gnu.org Subject: Re: [FR] Support headline as a function for file+headline target for org-capture-templates In-Reply-To: References: <87mspb6nf2.fsf@localhost> <87r0eleqi2.fsf@localhost> Date: Wed, 01 May 2024 13:50:40 +0000 Message-ID: <87jzkdsksv.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: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.80 X-Spam-Score: -6.80 X-Migadu-Queue-Id: 74DFF3E97F X-Migadu-Scanner: mx13.migadu.com X-TUID: g1um+shk5vjq Nafiz Islam writes: >> Aside from those workarounds, would that be a feature worth implementing? > I'd imagine it could borrow some logic from `org-capture-expand-file' for > the headline argument, and the function (for the headline) would take > headlines as a parameter and return a string. May you please describe what kind of feature you want to introduce and explain why it is useful for other Org mode users? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at