emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add %L (the link content *not* as a full link) to Capture ex


From: Samuel W. Flint
Subject: Re: [PATCH] Add %L (the link content *not* as a full link) to Capture expansions
Date: Mon, 14 Sep 2020 09:47:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

>>>>> 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?

Apologies for spamming you with multiple copies Bastien.

Certainly!  Hopefully this looks better.  I didn't see any tests for %a,
%A or %l already, and I don't have time atm to write them, otherwise I'd
have done so.

I can mark this as TINYCHANGE, if necessary, as I don't have a copyright
assignment on file, though I'm willing to do so.

Thanks,

Sam


    B> See
    B> <https://orgmode.org/worg/org-contribute.html#commit-messages>
    B> for the format of the Changelog.

    B> Thanks,

    B> -- Bastien

-- 
Samuel W. Flint
4096R/FA13D704
      (F50D 862B 4F65 5943 A8C2  EF0E 86C9 3E7A FA13 D704)
λs.(s s) λs.(s s)

Attachment: 0001-Add-in-support-for-filling-in-the-bare-link-in-org-c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]