From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: ivy-bibtex and orgmode inserts ebib: link Date: Fri, 22 Mar 2019 07:59:13 -0400 Message-ID: References: <877ecrxkfo.fsf@gmail.com> <87y357w4f4.fsf@gmail.com> <87tvfvw3jc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ba5130584ad9663" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7Ism-0004aD-63 for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 08:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7Ipl-00078c-HA for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 07:59:39 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:37034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7Ipf-00070F-BK for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 07:59:34 -0400 Received: by mail-wr1-x432.google.com with SMTP id w10so2058876wrm.4 for ; Fri, 22 Mar 2019 04:59:27 -0700 (PDT) In-Reply-To: <87tvfvw3jc.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --0000000000000ba5130584ad9663 Content-Type: text/plain; charset="UTF-8" I guess this http://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org-9/ will show you most of what you need to make new links. org-link-set-parameters Also makes new links. On Fri, Mar 22, 2019 at 7:37 AM Eric S Fraga wrote: > I am going down a rabbit hole here... > > Short question: how can I add a new link type to org? It used to be > that we would use ~org-add-link-type~ but this is > deprecated. Fine. The documentation points to > ~org-link-set-parameters~ instead but this can only set the parameters > for known links. Known links seem to be defined by a complex regex in > ~org-link-types-re~. > > What is the replacement for ~org-add-link-type~ in the latest version of > org, if any? Or do I have to both add to the regex and set link > parameters separately? > > Thank you! > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-324-gd58827 > > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --0000000000000ba5130584ad9663 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I guess this=C2=A0
http://kitchin= group.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org-9/ will sh= ow you most of what you need to make new links. =C2=A0org-link-set-paramete= rs Also makes new links.=C2=A0

On Fri, Mar 22, 2019 at 7:37= AM Eric S Fraga <esflists@gmail.c= om> wrote:
I am going down a= rabbit hole here...

Short question: how can I add a new link type to org?=C2=A0 It used to be that we would use ~org-add-link-type~ but this is
deprecated.=C2=A0 Fine.=C2=A0 The documentation points to
~org-link-set-parameters~ instead but this can only set the parameters
for known links.=C2=A0 Known links seem to be defined by a complex regex in=
~org-link-types-re~.

What is the replacement for ~org-add-link-type~ in the latest version of org, if any?=C2=A0 Or do I have to both add to the regex and set link
parameters separately?

Thank you!
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-324-gd58827

--
J= ohn

-----------------------------------
Professor John Kitchin=C2= =A0
Doherty Hall A207F
Department of Chemical Engineering
Carnegie= Mellon University
Pittsburgh, PA 15213
412-268-7803
=
--0000000000000ba5130584ad9663--