From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QMgbHWeAXl+mXAAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 20:26:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CHV/F2eAXl88GgAA1q6Kng (envelope-from ) for ; Sun, 13 Sep 2020 20:26:15 +0000 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 F1F1D940224 for ; Sun, 13 Sep 2020 20:26:14 +0000 (UTC) Received: from localhost ([::1]:53890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHYZh-00049N-QO for larch@yhetil.org; Sun, 13 Sep 2020 16:26:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHYZI-000498-HL for emacs-orgmode@gnu.org; Sun, 13 Sep 2020 16:25:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37697) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHYZH-0005zp-Kf; Sun, 13 Sep 2020 16:25:47 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:35366 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kHYZC-0005p6-Gv; Sun, 13 Sep 2020 16:25:45 -0400 Received: by guerry (Postfix, from userid 1000) id BDAAE1A60D70; Sun, 13 Sep 2020 22:25:40 +0200 (CEST) From: Bastien To: swflint@flintfam.org (Samuel W. Flint) Subject: Re: [PATCH] Add %L (the link content *not* as a full link) to Capture expansions Organization: GNU References: <87pn6uij4t.fsf@flintfam.org> Date: Sun, 13 Sep 2020 22:25:40 +0200 In-Reply-To: <87pn6uij4t.fsf@flintfam.org> (Samuel W. Flint's message of "Wed, 09 Sep 2020 19:13:22 -0500") Message-ID: <87mu1tifuj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: IL9v34bRUG7+ Hi Samuel, swflint@flintfam.org (Samuel W. Flint) writes: > In an attempt at automating a part of my workflow, I found that > org-capture's %l didn't quite fit what I needed. Normally, > org-store-link does the right thing, but for some capture tasks, I want > to custom generate the description, so %l doesn't work. I've attached a > patch that adds %L, a version that doesn't add the link brackets. It looks good to me for Org 9.5. Can you add a Changelog entry to your patch and also patch the tests and the manual, if needed? See for the format of the Changelog. Thanks, -- Bastien