From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6LHoE64vMmYgOwAAqHPOHw:P1 (envelope-from ) for ; Wed, 01 May 2024 14:03:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6LHoE64vMmYgOwAAqHPOHw (envelope-from ) for ; Wed, 01 May 2024 14:03:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EGldqyzn; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714565038; 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=zQNUmnBFOb5OrPKzjzdr5tTLzHVxqpK06GGf0zOKob0=; b=W6WtQTponRxTeN6OBfhYYidxQuNAHSUZHZW1lxwKTkr6V77+R3H4pPlMZlzQGBIXvhJzDj 7zjUSotOh9EnfF9VHrqjvS/xyPYmee9M1eoX1XGXQIEb4Qf8BlYopy8zpxkgzijKWdDgJT DgRZPjVK1OJreQiqPbNLqJZgCNm1hmSov2Kh45/4Y78wZknLyITJ7g0r/+w0rwJ8JOxlLV Ex9HQrptkCkR1lJHUAd319CN+dPteJkV7R84ixJyzrliAte15zNPAxxWyBM2EujjgTrjSF s2NSvcpXfgdAsyiG4AuviS3rIiMU9GXPs3/AvNd1euQGy3Lt3c5qUe3BK27WoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714565038; a=rsa-sha256; cv=none; b=W6Pw6A08IUjJ/y5btTl6+lr38pSqb8j5PSK7RAWV26fYcSbVLbpTv5PkeC4DaglmLnSRLy 0cWmhxqueE4/zQQyzPvS0F+VPBDdFrfl1nGQsEd6nJiDPQF8j4Tj7iqNUaMmFgYigjmGNv in/eTo5gflP1TyGAVO7mS50g2iBfeKntx0DIWMKWOMMtDQZ99rAEsIzGvlE6JZyBy0WeYl vC/2HDKn7xfYt0D889s1pxp29gs3JF8BVsb0uJIa0BSJzj/hL6CVngJAmeLpr1VGHbo5L9 shX8TtAZ0P0xCizVdINLowiK3MqjjYz46XI5Yj59MldRf0P8ELe6FubQ7FBsmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EGldqyzn; 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" 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 263EF733B for ; Wed, 01 May 2024 14:03:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s28fy-0005LB-PT; Wed, 01 May 2024 08:03:06 -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 1s28fi-00056K-5X for emacs-orgmode@gnu.org; Wed, 01 May 2024 08:02:53 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s28fg-0003cS-9d for emacs-orgmode@gnu.org; Wed, 01 May 2024 08:02:49 -0400 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-56e477db7fbso11617495a12.3 for ; Wed, 01 May 2024 05:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714564966; x=1715169766; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zQNUmnBFOb5OrPKzjzdr5tTLzHVxqpK06GGf0zOKob0=; b=EGldqyznvfmlOCihNFWVQ1+4bYZRA6wGrC9418sMvj3+s5lDPYjlUb7+hl2mncXnGA o7R01XdZI23JC2DxQZSqo5IYVPrmGTwTXjljX6QTtMnkamHzENYM5R6tdnx9VpeRGyl+ qQC6Yp8fAVT+icfidgcAJryJLT8TQwLgiE4QXMiezzJMrx1cL5CEpMsJrHq5gsqkRHfP dm7hned/PC13I4SX36fVA1e53Gc69mxg/y6TQbygECP62niHBZUu7ZPAW0oHwXHP2jfw 9F4GeJlHVyTFQLkzHsCe2aJk4xGXh+XqskJOMu97qN62OG/60GnIkBxCMTiWZ+Wk/fiF 3X4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714564966; x=1715169766; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zQNUmnBFOb5OrPKzjzdr5tTLzHVxqpK06GGf0zOKob0=; b=rgcx9wYB1mCqScgYwk6E4+J0G4xvWjJeBQojKJ5sLmNoIY1MZufg3jKLKy5cGvh3QH mIaNqpHMWfKF30LCfug6hKMP66tfluYn2GydTBQSxAERMWAa+RgWWfSOixU8rqtEDMod S7MTycLzgqJVHErZz+V69HuZ7e7WkdaF06OLWpLn2YFlQx0x5x1HtcIN6CVqCNATo7bQ xMHg8KzANJYOL4nDRLTeyRZAnHHAxLwXaLSDJuJC8zL8zmmFhkgGQWNb7i6qtiYABy/e /RnHkVbyCbGjSr/TGRjX9UZj4UJY7oxisAfT1mb/Ry+wVj9RrpgNGuJieEQ1nMkidqqc wdrw== X-Gm-Message-State: AOJu0Yy5hvM0apzxD2BMRgf2cDSvQHvTD5rQzDkKBne9uKCWEd66WDg/ 7mxkHtLaOPXKvV/jrf1I89hxZHm4E+xt46WHUuO/4zFDKywcAlj88rJFMYtXpbnm//RQUKX3R35 5jQVH7hhQpnttvmUfNoeTOpMUCMI= X-Google-Smtp-Source: AGHT+IEcjf082ar5iB7jvXnO/r/A8wHKmRLOO3eGQi4JNWvVQsGbGy6ZqDIe8XAvtttuA83zKT/UFNslTF4yR3rHFPE= X-Received: by 2002:a17:906:78f:b0:a55:6b76:eedc with SMTP id l15-20020a170906078f00b00a556b76eedcmr1814806ejc.14.1714564966270; Wed, 01 May 2024 05:02:46 -0700 (PDT) MIME-Version: 1.0 References: <87mspb6nf2.fsf@localhost> <87r0eleqi2.fsf@localhost> In-Reply-To: <87r0eleqi2.fsf@localhost> From: Nafiz Islam Date: Wed, 1 May 2024 08:02:35 -0400 Message-ID: Subject: Re: [FR] Support headline as a function for file+headline target for org-capture-templates To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000c24f070617634369" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=nafiz.islam1001@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.70 X-Spam-Score: -6.70 X-Migadu-Queue-Id: 263EF733B X-Migadu-Scanner: mx11.migadu.com X-TUID: HZjNukblUqae --000000000000c24f070617634369 Content-Type: text/plain; charset="UTF-8" > 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. Oops I forgot to CC the mailing list --000000000000c24f070617634369 Content-Type: text/html; charset="UTF-8"
> 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.

Oops I forgot to CC the mailing list
--000000000000c24f070617634369--