From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMOoLnePvmBAkQAAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 23:28:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OP7gKXePvmBgdwAA1q6Kng (envelope-from ) for ; Mon, 07 Jun 2021 21:28:23 +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 25590226DA for ; Mon, 7 Jun 2021 23:28:23 +0200 (CEST) Received: from localhost ([::1]:43708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqMnF-00046q-1u for larch@yhetil.org; Mon, 07 Jun 2021 17:28:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqMma-00046e-8z for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 17:27:40 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:42638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqMmW-0002rM-Kb for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 17:27:39 -0400 Received: by mail-wr1-x436.google.com with SMTP id c5so19154467wrq.9 for ; Mon, 07 Jun 2021 14:27:36 -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=ouYwPTStSJ3if4wlVPLzj4QGNbcj0R/p+VAMF3wPLMw=; b=FlNh46a19CJEP7Os2k+VaGedsqORr5JEFa1z85qbpJgAEQ/0hi2y4tMHxyTsWRQBwv N8Li2HIem0uv4RFNx8dtTcDM7S9NHSAhjPdYn3aZE1o1ZAfyV9Vuq+W90VI3m2HFywVm g9ZzRtkCQc+D3cLapTJdJnth5R7to8t+pteHhr+dWsH9LcfgfOwkNiBB2J9k2aK00wy3 2nsHezkOx3mP3riu6CfCVWHG+va3RKN+7wihEtWSPv/3WJNMcco5Hu/O5qvBjeV1NMkI fboZ0j32IOVBltozQPWAZGCwt/D1DEHRKE6RjfMjBsJvZ4kWCWP5wJGXX9Sw4ddY6Mzn blBA== 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=ouYwPTStSJ3if4wlVPLzj4QGNbcj0R/p+VAMF3wPLMw=; b=DZPG9htFhmdZvCmtNLqyW9gfBEj76v3//Q09J+rrtYtVCwJc2FARrrQWPJzb+PuGxR 2SK3zoutov/Luozlgq9v4cxGwIQPHGnasmBXWv/jQ1TZRLxjXbsCANmda4ew1WR3b43s dn35/87AluS25EBoiaC9/IM/3bMIF8z9mY4Q72Ei5yh+wAF6eH+oF5FDj9FbXDlbNuyD QpQaS6326uKuqX0zbyJSBHumpBCTksx+oBTqqiCm+MmhQyK9CLga3O/IyjajBjJExKNR zBuzBPY1qlMBu7x5zRIhSZKGyi42l6htpQPI7irCrgnojLuGZ5i5fKA2zeUWK4+97j2/ ZlbQ== X-Gm-Message-State: AOAM531AlwladNOkISm9mWmwAPOsMiI/N6kmpL+1AtkaGds4m0Makc/w RcybTTNfBvw4cj4x/Ote1Zl3eSvdgNGwAsM0/Jw= X-Google-Smtp-Source: ABdhPJyUrstQWQ4WIV4xB6TyIrGxriDpmurA9X735IqyqRSOK0O4EYH/xQblmhg1U92R82tmJQX3SToqiNfyah0VZlU= X-Received: by 2002:a5d:5388:: with SMTP id d8mr18454092wrv.423.1623101255018; Mon, 07 Jun 2021 14:27:35 -0700 (PDT) MIME-Version: 1.0 References: <8735ttbcn4.fsf@nicolasgoaziou.fr> In-Reply-To: <8735ttbcn4.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Mon, 7 Jun 2021 17:27:23 -0400 Message-ID: Subject: Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json? To: "Bruce D'Arcus" , org-mode-email Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x436.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=1623101303; 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=ouYwPTStSJ3if4wlVPLzj4QGNbcj0R/p+VAMF3wPLMw=; b=H29kXo9gDnF3rGDR993HJDKzTB+WWbt4qPSeXD0ce+7XB5sjehTdGAwXWzkCxCFJO9ve8I 3wn1ixRkbilX9sHBt7VUvUu8oIGR4v50niWeyxtWksXj+ZhUrCpdFAa3k3QuZKvpqcDPOv wifOySNvvMqGOBEUKMBEFEefy7eFo35p07xp7oDdH0Gy1IyfeyR2dBjRvSZf3LNrjAsPcd L2e7PndKZWk4xG6Lf8sRfkfqmVkAzybbBAnnfM9akJLLCISRa8UmdSUPPdMvouRVSyBgYM TVfFr275vFtNhcm9DhoSQJS9ccWUIFKX8Tbb8u2wz0uvdvAr41VPgqGZOKKP0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623101303; a=rsa-sha256; cv=none; b=M1F9L9QNj7eQOCxx0Tl+/lHtbMtrR5FtzGrULrwl9Pw5AOg9LoYBPBJd7lJV+hIEuKS/kP j167GG2SrT0GogCqGGVdQlI4WUSOmRzOh835efnOv7p68xY9VE4ZyIsWYT2qHC0IVkRK5q bjzNq+qyZkvh0BI43xEjbNHKf5H4aWBtNnDaJSeRiedQ6isb3MeuGdDvjFKnLmnatGVfSa rRZ0TLlsDXx+m3uPX7EPcpdWJIpC43TE9S/7SIlB9iMoR+kW0QS1gqJAEAn+LDIEaRzkpw CtlEv7ZxhAItPCiqdec/Ft7rSY2EryPcenmdYEEusEAjD9wKwC1fxH4havZ4hA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FlNh46a1; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FlNh46a1; 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: 25590226DA X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: RJVPdhmHIMot On Mon, Jun 7, 2021 at 5:14 PM Nicolas Goaziou wrote: > ... would be great do something > > like: > > > > (setq org-cite-basic-open bibtex-completion-open-pdf) > > If you want to use a different "follow" capability, you need to provide > a different processor instead of configuring this one. OIC. So would it be so simple as doing something like this, to use the bibtex-completion-open function instead? (org-cite-register-processor 'basic :follow #'bibtex-completion-open) As in, that just tells what function to use for at-point? If yes, that definitely works! I've been a bit slow wrapping my head around the difference between follow and activate, but I think it's starting to become more clear. > > Second, I completely lose font-locking when using json files. I know > > you have plans, Nicolas, to add json support, but even without that, > > shouldn't the citation be highlighted? > > Could you provide an example? I'm sorry; you're going to kill me. In trying to reproduce it just now, I can't. So I guess you can ignore this too. Bruce