From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UNrbCDCnwGCWGAAAgWs5BA (envelope-from ) for ; Wed, 09 Jun 2021 13:34:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KLo3BDCnwGB4VgAAB5/wlQ (envelope-from ) for ; Wed, 09 Jun 2021 11:34:08 +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 811B821E23 for ; Wed, 9 Jun 2021 13:34:07 +0200 (CEST) Received: from localhost ([::1]:33112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqwTF-00039R-BF for larch@yhetil.org; Wed, 09 Jun 2021 07:34:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqwSI-0002NR-2m for emacs-orgmode@gnu.org; Wed, 09 Jun 2021 07:33:06 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqwSF-0004fe-8P for emacs-orgmode@gnu.org; Wed, 09 Jun 2021 07:33:05 -0400 Received: by mail-wm1-x32d.google.com with SMTP id b145-20020a1c80970000b029019c8c824054so4041501wmd.5 for ; Wed, 09 Jun 2021 04:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Y6ZR0OfOIpcbLBc2ZQNiQPH7CqDlIsARHuEltAAtQzQ=; b=hjd9xaaoV/DkjxR3oO6eXOv55EaGarTFhzmyjpf+o+UEZqfcmQO40uJIJlDo/dPlCe Crp9L+6vkOU0UC6SYPoUFqXtKNgt+OHUf2o7C7+uq2z5wGrzQ/7LUsgUjZmQzml7O/u9 MebRIKcCQx2ZDvD1t4SXG0AmnIlwP1sWDgsZLi0jdKKKyOZNiwkvWTYNppIK7Jp0U6hm m8mEOQ9iA1CfY7RlISy0g71zOY90eDM9lIFIXBMzA+wnar0rDcCO7HiHHQDrFw16E/6i IS7ljMPyWFJKXCtqZsMJEObjaAJQG7gQogeBArsmmXe/dqzFJ99ziWCsjMzgtvk3dNKv zFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Y6ZR0OfOIpcbLBc2ZQNiQPH7CqDlIsARHuEltAAtQzQ=; b=k2GN7MQoCLmTcCqgswgOm7b6zVMKqNKbP7pV+j1MXWU36O2Ve9PcgEKuVPSxUNxLkp TPBrLUdh+MjycgldLf92ywplTnH/2C95g/xkrg2JOKlulhLy+WlafiMH00BYdj0op6m0 9C2E/tpKDlB2OAxzfg8+Y5qA1XQbbVXMs5OtmV2+1AVyeuNpFJBXdSTnwxKVSV0pTkzv 7ckLMaQtdMHRn6AfhOZAWqwMd/p610jkwMKiawPiRKlixPvIY9CXkgjFcB6ZaHDqa/Ch 3nvo5X3b35odmJj13zdM+kPBUMWJ7KMqA/1HBdK/9RQ+dZUChtc55kx6nVxyhWddEHe4 7wmw== X-Gm-Message-State: AOAM5302ZBOgaXPrdVKLDrvHd35Mz1/Y5GG8qI7MjVNeBiJ5U9SAylMP WCYxVWPNYJFY80+OL/sOj//uJsaXSLMAF5jWjCRHuhi0fCeYYA== X-Google-Smtp-Source: ABdhPJyIm4d/FDclQAmagFESi9Juwwq5OJsR48l/Zw/0xukLiqOD1FL1hoec9OuUoSbTZqgEP2vA2OH6yqWhVxHqALY= X-Received: by 2002:a05:600c:1c1b:: with SMTP id j27mr27680851wms.133.1623238381332; Wed, 09 Jun 2021 04:33:01 -0700 (PDT) MIME-Version: 1.0 References: <8735ttbcn4.fsf@nicolasgoaziou.fr> <87y2bkitus.fsf@nicolasgoaziou.fr> <87mts0hzn1.fsf@nicolasgoaziou.fr> In-Reply-To: <87mts0hzn1.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Wed, 9 Jun 2021 07:32:50 -0400 Message-ID: Subject: Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json? To: org-mode-email Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x32d.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623238447; 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=Y6ZR0OfOIpcbLBc2ZQNiQPH7CqDlIsARHuEltAAtQzQ=; b=YeczntO+eo7XtGyFv3v0NOhd3GZ3tLzsqJDqyU+SOhOg5uig8UVRmNnPnqiLMoeWyQfVJs 0j4niQxRy+pKsXWdmL+sc/TFfpUTH+4DTfdYPoIfWnxV+3tOoaOSEGccyzOLbMbC5u75Nt qz08igAkqyZS5LTOBOZk51adPaA+/vPvaFVG+Cax9QgHsw0Amod44IrLTU3xcfFsQ3AP3n NO5O3Xo2MhvdsRZxyTe/W70xAjr3Ehfl0CsA2MCSNFIDBnqyDuFTINsDYmNiDQAwGGxUnM r4K44uIx1cxv92ur3F8CFtkVFQ8vT8kFG215esNJKDBC39MkhXzvLXfkr7bJQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623238447; a=rsa-sha256; cv=none; b=mAUZXbpdpgyi7T262siJdbWy9d3jo8d5JAEJgunP5KNPz122Ek+GwP49IeYIQZB/wKcMqY MUN75bmKf8985W1lTMl5aBlmvauxNE2qFmwVCMt77dW9FAF+i3B1hnNwOEpfa6bMRvi72e S/ugg2poxiEgEk4bKygSCUsbQblFhce+Ue1fM6tsNwlo95CEWE96u6pDI8kGnt0RNX7kYH +sVrtfBQROgW6Gasa0kFHmoQM1L8zMq1pEt5QAnif0R76BAQMFE5u+UjLoipSeat5WhSdf Vi0H5xGQdEqpg5kcVFPL/byZqXlC1yelPTgA5EtFqmB+1izwFXEb1UsQgDoW4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hjd9xaao; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hjd9xaao; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 811B821E23 X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4AzYdj9gmoo5 On Tue, Jun 8, 2021 at 4:25 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > On Tue, Jun 8, 2021 at 7:36 AM Bruce D'Arcus wrote: > > > >> (org-cite-register-processor 'bibtex > >> :follow #'bibtex-completion-open-any) > > > > Actually, looking at the docstrings, I don't think this will work as > > is, as the follow processor "accepts two arguments, the citation or > > citation reference object at point", while the bibtex-completion > > functions take a list of keys. > > > > So I guess for that I'd need a little wrapper to call that function. > > Indeed. Not a big deal, but I'll ask :-) Given how common existing functions are that take a list of keys, WDYT about adding something like a `org-cite-get-references-keys` helper function, to parallel `org-cite-get-references`? So in this case one could do: (bibtex-completion-open-any (org-cite-get-references-keys datum))) Bruce