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 SNqoKmGMvmDIigAAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 23:15:13 +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 yFf7JWGMvmBCDAAAB5/wlQ (envelope-from ) for ; Mon, 07 Jun 2021 21:15:13 +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 3104422422 for ; Mon, 7 Jun 2021 23:15:13 +0200 (CEST) Received: from localhost ([::1]:60600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqMaU-0004Go-SI for larch@yhetil.org; Mon, 07 Jun 2021 17:15:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqMa8-0004Gd-Df for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 17:14:48 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:36901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqMa6-0004zS-C0 for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 17:14:47 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id C91361BF203; Mon, 7 Jun 2021 21:14:40 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json? References: Mail-Followup-To: "Bruce D'Arcus" , org-mode-email Date: Mon, 07 Jun 2021 23:14:39 +0200 In-Reply-To: (Bruce D'Arcus's message of "Mon, 7 Jun 2021 12:53:57 -0400") Message-ID: <8735ttbcn4.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.201; envelope-from=mail@nicolasgoaziou.fr; helo=relay8-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=1623100513; 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=KeewSe2vray6dMrDnGNP1VZqqcuUKiBY0CQhUOca12o=; b=H66AV9zVtnkaDcsI1pLflGTLt731Ou7okehZjynglyCteQbE3Jtl/ZcvadUMwcgYIyiAl7 3ZnLFwfodJRE8d+NBNQQikTTCO2psj7ot6FqvrP9ybWDqTRIEm/TGBCz3wVZ/yHKolqQu7 6e320A16ZzEu9CC5Coc2dGbZbAtARH/xiZ+8HXTQFKO8WyzgxB+GxUlD5OqrqkOP22pBnK JhTD0td1TLjsT2/M/3y0FF1jdw/4/lkdlU9XNTbxtOCxVK3x8qPcpAOZvBjuv/xXUZe0Qi jouwqxssW8TchcM1hZ1zg1FSZoBLwCODarlbspq1dKwKmxKRYNWbsWKtCs4zFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623100513; a=rsa-sha256; cv=none; b=g9PiE/+jH2Jl4wRkwrE4QVOxveDrTZdsmkuks3+cVQAdcYv0iDid7tKT2ef6WNHKNaOmYk X+jn4Om7DCZemkTtjFSwZ8Jvf/2OXoS2j60sphnCgEnHU989G3hTPIevlPcVm0rBHEAbus PNVL7JkHr2A578KRinzHCc46dEkT6O+A6crhK/KzK4Rq+VGw62TPylkRJHo4wTua1eRqNp yTRrypG/2Vl+BMnpkGwOXT99Ib010HtjkNTkjFBuDgrDl8paYl49M4ecavw3psmisdPDFB saacqkjxXBaSvMuzsrnG9bSvHdUAb5nLVO/HIckgbyP1RCZudaSsJMl1+Ft4Bw== 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: 3104422422 X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: r4uXk7jcnlGl Hello, "Bruce D'Arcus" writes: > Similar to my idea to have a configurable capf, could that function be > configurable? > > A couple of people noted, for example, that the preferred choice would > be that the actual document be opened. I actually got a PR for exactly > this default behavior this past weekend, and bibtex-completion has a > function that takes keys and does this. So 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. > 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? Regards, -- Nicolas Goaziou