From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GIlQDiH3aV+tJwAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 13:07:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QDgoCiH3aV+IEwAAbx9fmQ (envelope-from ) for ; Tue, 22 Sep 2020 13:07:45 +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 4ED179404C7 for ; Tue, 22 Sep 2020 13:07:44 +0000 (UTC) Received: from localhost ([::1]:47528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKi1H-0000jN-2f for larch@yhetil.org; Tue, 22 Sep 2020 09:07:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKhyo-0000iJ-SR for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 09:05:10 -0400 Received: from mx.flintfam.org ([2001:19f0:6401:1c4:5400:ff:fe4b:c898]:37263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKhym-0004fH-AO; Tue, 22 Sep 2020 09:05:10 -0400 Received: by mx.flintfam.org (Postfix, from userid 114) id 2B4BC1F595; Tue, 22 Sep 2020 13:04:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.9.2 mx.flintfam.org 2B4BC1F595 Received: from landau.flintfam.org (162-210-5-149.lnk.ne.static.allophone.net [162.210.5.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.flintfam.org (Postfix) with ESMTPSA id EF6B91F576; Tue, 22 Sep 2020 13:04:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.9.2 mx.flintfam.org EF6B91F576 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flintfam.org; s=mail; t=1600779892; bh=t7ivpI3vFtbiCGj9b8UK87NbTmyKLPR2mLD5wlCRy3c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZGLkQy8M7wNM82XY2RjcAAxv3aUaZMUE6eMvAy9tBH21Y1AXqkYBP70nA6DD3G4UR Tq1vqOFcyU/s+5WZ+emsjILS3EPYNqra8SB4ymXSMXO/AG1wwta8n7iOnKSVaCRaaN ig1eIlHFSS95GRRvUCMvFIwSksc/To94tmYSA9162rBlRYfcSmoRQGnm5RxZ2GJLGT wkFmWDy2wDQN1DLuWGvXrl/rIwO8xWIXBU0A9//HAOAmWm0Mnh5sZw476e8K0T8EYS xYcR0G9pEtMbz7//XevnpKawXWdWzBK110C1HmfCuqZW3FTcDtxJj4z2viPrwVhg57 2uurt2TNkCzjQ== From: "Samuel W. Flint" To: Bastien Subject: Re: [PATCH] Add %L (the link content *not* as a full link) to Capture expansions References: <87pn6uij4t.fsf@flintfam.org> <87mu1tifuj.fsf@gnu.org> <87een4jtz4.fsf@flintfam.org> <87y2lcie8n.fsf@flintfam.org> Date: Tue, 22 Sep 2020 08:04:50 -0500 In-Reply-To: <87y2lcie8n.fsf@flintfam.org> (Samuel W. Flint's message of "Mon, 14 Sep 2020 10:12:40 -0500") Message-ID: <87mu1ihsi5.fsf@flintfam.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:19f0:6401:1c4:5400:ff:fe4b:c898; envelope-from=swflint@flintfam.org; helo=mx.flintfam.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 09:04:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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.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=pass header.d=flintfam.org header.s=mail header.b=ZGLkQy8M; 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.21 X-TUID: 9q26m07fvzA8 Is there anything I can do to move this forward? Thanks, Sam >>>>> Samuel W Flint writes: SWF> Marked as TINYCHANGE. Sam >>>>> Samuel W Flint writes: >>>>> Bastien writes: B> 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. B> It looks good to me for Org 9.5. Can you add a Changelog entry B> to your patch and also patch the tests and the manual, if needed? SWF> Apologies for spamming you with multiple copies Bastien. SWF> Certainly! Hopefully this looks better. I didn't see any SWF> tests for %a, %A or %l already, and I don't have time atm to SWF> write them, otherwise I'd have done so. SWF> I can mark this as TINYCHANGE, if necessary, as I don't have a SWF> copyright assignment on file, though I'm willing to do so. SWF> Thanks, SWF> Sam B> See B> B> for the format of the Changelog. B> Thanks, B> -- Bastien SWF> -- Samuel W. Flint 4096R/FA13D704 (F50D 862B 4F65 5943 A8C2 SWF> EF0E 86C9 3E7A FA13 D704) =CE=BBs.(s s) =CE=BBs.(s s) SWF> -- Samuel W. Flint 4096R/FA13D704 (F50D 862B 4F65 5943 A8C2 SWF> EF0E 86C9 3E7A FA13 D704) =CE=BBs.(s s) =CE=BBs.(s s) --=20 Samuel W. Flint 4096R/FA13D704 (F50D 862B 4F65 5943 A8C2 EF0E 86C9 3E7A FA13 D704) =CE=BBs.(s s) =CE=BBs.(s s)