From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +HspM0s8v2DbXwAAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 11:45:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QOXFLUs8v2AZJQAAB5/wlQ (envelope-from ) for ; Tue, 08 Jun 2021 09:45:47 +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 222BA147DE for ; Tue, 8 Jun 2021 11:45:47 +0200 (CEST) Received: from localhost ([::1]:45392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqYIq-0004Ex-Bb for larch@yhetil.org; Tue, 08 Jun 2021 05:45:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqY6s-0006xZ-Ah for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 05:33:22 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqY6q-0005lZ-Fw for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 05:33:22 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 74F31240009; Tue, 8 Jun 2021 09:33:16 +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> Mail-Followup-To: "Bruce D'Arcus" , org-mode-email Date: Tue, 08 Jun 2021 11:33:15 +0200 In-Reply-To: (Bruce D'Arcus's message of "Mon, 7 Jun 2021 17:27:23 -0400") Message-ID: <87y2bkitus.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@nicolasgoaziou.fr; helo=relay1-d.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_H3=0.001, RCVD_IN_MSPIKE_WL=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=1623145547; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=dp+5NqNGXkMSZnDSSVqy1ulyfsIY8XkBx0Xq4/rAjO4=; b=XoXbkM0aN6DoxYjTQUQZOgYklsrjrB4GBoT+LQmiwDkikkn5xBvEeC/S2ryFfctMYgVj/S cUCqEmMx0qnq/Ehl82sItfEmCimaEtP+rQP7uvhBeXNXUn1q7xBskdB6DnxlP9+QZN7oNY ki92PD8VIbsWlQheDyFT4UdHTLffOE80cjVhTRoObWbdN7F1MUwwx1/xTStWUEutkFdBs2 RE/KijGgIY6ooBLNwo77LwxqUWZ6N6C8m/SOsbjebrw9WHV5zS1MpOYCftCq7WxP6ElZUe 1UKI4tSVr7IRXJf/JuXJfm8hayoNYBlH0A2iOpjrPhnk+U7JCo86p7wE2g8YXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623145547; a=rsa-sha256; cv=none; b=uNqSAr4gHYnCYhWN/8K2YH1WYiTKIdT94NTmfhAuGvLmlUNY1hI/c8DA6gTX9/oW0NZu1I b2qQeqgfxLCdfnqo0y7ReGKAtEP7CsB5AcdK+dIYQTzg1zU6HW/hw7wzBpmKntk+zY0mlV 9kDtTeRUPvP6X4+FSxvtDrr8u/6CWUk7RHdIRMo4cQ11WbC/FpszfZ9UYXniVae9zgWd0V kSBbDHylfIh5XiEWukmg7goJ5JNhNpqMNia/r7nWQa/hfWczBOsYXIqNf2TbY8WXHp7I/t YT3wdZ/RU4tTDUdEHIeZsrv1gmVCbTX+TJL9+YCGkid80b1HySUu19bz4vqnKQ== 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: 222BA147DE X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: Iv6ZRDaJWqAY Hello, "Bruce D'Arcus" writes: > 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! It does, but you're overriding `basic' processor. You could as well define your own processor (org-cite-register-processor 'bibtex :follow #'bibtex-completion-open) and use it with (setq org-cite-follow-processor 'bibtex) > 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. Follow is what happens when you use C-o on a citation. Activate is run in the background during font-lock. Regards, -- Nicolas Goaziou