From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SGq6OIPSv2AmBQAAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 22:26:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eB/4M4PSv2BvWAAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 20:26: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 6DBE22053E for ; Tue, 8 Jun 2021 22:26:43 +0200 (CEST) Received: from localhost ([::1]:51602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqiJ7-0001G6-T8 for larch@yhetil.org; Tue, 08 Jun 2021 16:26:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqiIT-0001Ds-KV for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 16:26:01 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:38865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqiIQ-0001YV-Mw for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 16:26:01 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 04106240003; Tue, 8 Jun 2021 20:25:55 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json? References: <8735ttbcn4.fsf@nicolasgoaziou.fr> <87y2bkitus.fsf@nicolasgoaziou.fr> Mail-Followup-To: "Bruce D'Arcus" , org-mode-email Date: Tue, 08 Jun 2021 22:25:54 +0200 In-Reply-To: (Bruce D'Arcus's message of "Tue, 8 Jun 2021 09:07:58 -0400") Message-ID: <87mts0hzn1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.178.230; envelope-from=mail@nicolasgoaziou.fr; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: org-mode-email 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=1623184003; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=1LaJW68ZCbu6/jDm+S3oLBi/TXPm//786xpSYWXJlrk=; b=k1sNZwzt2ZgC9E2Cj8XeXXP3Efwiwiv2DsjMFqf9EW1KQ9K8xBFCc9C5mGq8TrF6rziTWB Dp3pMiPQtyo66TVO4S2OFURnxCTAhf/zlVrZqDp6n/5LtXtuKBXr37PuqdjmVir/Hj/cCO CRAKOKKXbZeSKocx51fxaTr2c1OPgny9bGAk9ZvOBS+/QvRecoGWKfv1qvDKws5wpu1NvJ Y+ugjTqXq1scmeT2zpBSxxd4mxidnv1i7lZDu0UNE/sKn7EQ/W0ePLVcPsTrv8HpJxKacA sfS/vH0PcmtqoPNYrNCgT4ZhmyA4osmlV4uvaD4jCbxGYvJ9lM/qMFgxKXvgtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623184003; a=rsa-sha256; cv=none; b=sk0ur80JO3jEM8ss0UxgNBdJd0YjUrs4ToZXdc+HSQp2xZul0Oav3bdce/LKLK6hg/BMWP t37H35Tr3M3G8MEC3yduhWtXLZvRV4LfAl/wn7EAmhvqDx4BLmwlsAQceuUhOHjFak3zrA 76Y2qL/FOWPbc6N42o6j4D+DhOO2zbQ55bJY6fTldpUaqGhLk3D7jW46Y6pQ0oey4CNLJQ 635SBwNldZn5C1Qyh8MUBIW02fOX8e6vsxY64stWCz9UqN+EdvcRAE7gIu63iNe4E1PUX1 at0LyAq8M2PrtJIotOVUUWFopC7Cc314A3J3eQIO0Jz8KkgRNmc96FBI0WL+hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 6DBE22053E X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: I9zrKyHCcSPE 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. > Still, I'm confused why the basic font-locking doesn't work in this case. I know it is not terribly useful but=E2=80=A6 it works here. For example, i= f no bibliography is defined, all cite keys are red (error face). Regards, --=20 Nicolas Goaziou