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 ms0.migadu.com with LMTPS id IMzSGNNClWFatgAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 18:58:43 +0100 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 WOWKFNNClWHrJAAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 17:58:43 +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 AEDC92C078 for ; Wed, 17 Nov 2021 18:58:42 +0100 (CET) Received: from localhost ([::1]:40816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnPCi-00030G-Ri for larch@yhetil.org; Wed, 17 Nov 2021 12:58:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnPCD-0002xu-Lp for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 12:58:09 -0500 Received: from [2a00:1450:4864:20::336] (port=40784 helo=mail-wm1-x336.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnPC9-0003b8-Hy for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 12:58:09 -0500 Received: by mail-wm1-x336.google.com with SMTP id az33-20020a05600c602100b00333472fef04so5476274wmb.5 for ; Wed, 17 Nov 2021 09:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ChM+AsQBqWfJENOVsZVLghoWhlknMjo6ooENKJilkB4=; b=HxGziyc9AZ39F8FRFHK3AKraAzWJbeYzK7Cd6U05pM3ZMgJHD0c0VfEgJAyECLmELA Qgi40P8IS+dtcw1WngtrmOfBbdEzUX9Yp2X0S9gktG+sI8W6D6GfvzMbZCKC4j+4bhkS MNSAaz6PDoZ+kXei/M0nmpGbu5VPhUlkS07fNYnbebcOrB1CVHaGwb1ePPNDPC7K0CsK MnFC1lJonR49iXeNMmCibw79LK70bPDGa+4v/URAKBJh8gKLXYdvk96b6SGqotayUMHS kczErp5yW78SMSTZoJfqe8wuUGq2j7zmnMsVNe9T1OcE0Eqy9awzovxlDqqh70CDyFCo hA9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ChM+AsQBqWfJENOVsZVLghoWhlknMjo6ooENKJilkB4=; b=JvV/PQsoGxWN1+QJqHVBJK432k1HBYZEtoO0BYUx7sJRtXnoOiJtq4pFJa6NFR90VL uCRs4sti2yF3oWnYV4If0ULOkaMtY9HRh1E5BUAO5CWGUHkhDOp3ZC2nTRFbIw9PVu6O NmQwKUb0G/Sk0fkPTVh85VypWFaK4pS9xauoQfqvW6XUdOcn3T7UW15qePItIxiSv1AL 0Bh8hFYwKVYbGzzhD33egVvTrT7gTpGY/ZAXUr4eVGQSdcpUcQTm57vjAnAxpfbYMNyr ofKyTgbtG4NWyR1kVQIy3quV9hRRBT+jLwaeXC8LlM9gXtfjOXpkl240F8W7fTku7rKa 558w== X-Gm-Message-State: AOAM531Rtduu4N+jmXlm9/JJNeSCT4KbdYb81PZqZXFc0pWVnAbFqiuQ 1hN4RlaxlEHQTh9qJBM9xsaF2WH6+nwgWvWPDC6YrN9TXlg= X-Google-Smtp-Source: ABdhPJzFUZIzls1KGYaQOCnFmggnDxMUeyoGzKraUZOmzVG5lUSyoMPUb/fy5jF65lfYnwAo9kXiP217xsCULB/C1XE= X-Received: by 2002:a05:600c:21cd:: with SMTP id x13mr1923220wmj.52.1637171883341; Wed, 17 Nov 2021 09:58:03 -0800 (PST) MIME-Version: 1.0 References: <877dd7mdx7.fsf@mat.ucm.es> <87h7cak9r1.fsf@mat.ucm.es> In-Reply-To: <87h7cak9r1.fsf@mat.ucm.es> From: John Kitchin Date: Wed, 17 Nov 2021 12:57:52 -0500 Message-ID: Subject: Re: [Problems with org-ref-helm-insert-ref-link and org-id-get-create] (was: insert automatically a reference to a section header and a link) To: org-mode-email Content-Type: multipart/alternative; boundary="0000000000008b075f05d0ffc8af" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::336 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637171923; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ChM+AsQBqWfJENOVsZVLghoWhlknMjo6ooENKJilkB4=; b=YXswduQ8ycqRjTX1os+/ZmOAOMRjuweihDqRj/2FIQ7SoVYFuW8JCBMjxK46Ozvm+mymGe IolsNx/MzR6FdJ0b452EhvLwyXWGxMtGrwR06TYHbP9d75EOn0u6dqkJx4DzRlmnV4ZEIK iDtjo6hFHLQ64PwkXsUYJ+K164/6GpTU7wniqzuT3Mvd/IRE1ruV0Ch/lJt/Y0gzYhqITR CrwAc2MMajm2MZaptwjcKjR/Ns3MOMtaZmv6kd/r9LlQh3Ft0oYl+fHJz62bzjQk1FdgAc hxch5mc7x7LRiHDbsA2Yom59vd3aWk7Roa7qHOQX6/wJj/MoHFYUPI3Bx8KEGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637171923; a=rsa-sha256; cv=none; b=ajpFIVMQwS2Gi1SqfttgTXmFAacJ8QFbR7DFGO4vGSUMRSCA/pbmmCtJ0sTtVTreNTZ2+4 v31N/Xzrnlk7SEv0xRAvgf5rlhGrnod1c/Ato1cYUd4zCSoGUjGp71vw7qzzaw1lxI4dxA Xvtuey9y6f8zRuNy8wIApL3wTbiMeMA77DjiVNg7KJzUvwvJYTfdRHN6i/8Yj8IuuP5PAh LXrEos8Av9z2+KVUTxdmWOaabn5k+MLrJYTByW62NCY3gfGWJtU3v2REhyLK5YGEfx3Cvt muw1qgBVeCo1LpOT1XyLliyMOmvFLYkVL33UFpKTZPMAT9D56RmaqpzbVUrI5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=HxGziyc9; 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" X-Migadu-Spam-Score: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=HxGziyc9; 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" X-Migadu-Queue-Id: AEDC92C078 X-Spam-Score: -4.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: SdFdiSPfCf2I --0000000000008b075f05d0ffc8af Content-Type: text/plain; charset="UTF-8" in the most current version (3) of org-ref, the labels that are found are defined in org-ref-ref-label-regexps. At the moment there isn't a pattern for ID. No particular reason, I haven't used ID like that for many years. I added and pushed that to the current repo just now. John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Wed, Nov 17, 2021 at 11:55 AM Uwe Brauer wrote: > > Please look at this example > > * new > :PROPERTIES: > :ID: 43b3de77-4074-47f2-9a4a-9cddebb33951 > :END: > > ** Inverse problem > :PROPERTIES: > :CUSTOM_ID: sec:one > :END: > > > ** new title > :PROPERTIES: > :ID: f3c76e50-5be9-47f2-bad4-257166670481 > :END: > > Two ids were generated by org-id-get-create. I thought that could be > another solution to my problem. > > However, strangely enough org-ref-helm-insert-ref-link > does not find these two IDs it only finds CUSTOM_ID. > > @John: you are the author of that package, why doesn't the function find > the ID? > > Regards > > Uwe > > > > > > > --0000000000008b075f05d0ffc8af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
in the most current version (3) of org-ref, the labels tha= t are found are defined in=C2=A0org-ref-ref-label-regexps. At the moment th= ere isn't a pattern for ID. No particular reason, I haven't used ID= like that for many years. I added and pushed that to the current repo just= now.

= John

-----------------------------------
Professor John Kitchin (= he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
= Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Wed, Nov 17, 2021 at 11:55 AM Uwe Brauer &= lt;oub@mat.ucm.es> wrote:

Please look at this example

* new
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:ID:=C2=A0 =C2=A0 =C2=A0 =C2=A043b3de77-4074-47f2-9a4a-9cddebb= 33951
=C2=A0 =C2=A0:END:

** Inverse problem
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:CUSTOM_ID: sec:one
=C2=A0 =C2=A0:END:


** new title
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:ID:=C2=A0 =C2=A0 =C2=A0 =C2=A0f3c76e50-5be9-47f2-bad4-2571666= 70481
=C2=A0 =C2=A0:END:

Two ids were generated by org-id-get-create. I thought that could be
another solution to my problem.

However, strangely enough org-ref-helm-insert-ref-link
does not find these two IDs it only finds CUSTOM_ID.

@John: you are the author of that package, why doesn't the function fin= d
the ID?

Regards

Uwe






--0000000000008b075f05d0ffc8af--