From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KCA4Fl1PvmAYFgAAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 18:54:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mDWAEV1PvmAATAAAbx9fmQ (envelope-from ) for ; Mon, 07 Jun 2021 16:54:53 +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 C921F1DEEC for ; Mon, 7 Jun 2021 18:54:52 +0200 (CEST) Received: from localhost ([::1]:60480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqIWY-0003VQ-O2 for larch@yhetil.org; Mon, 07 Jun 2021 12:54:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqIVx-0003V9-MJ for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 12:54:13 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:37870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqIVu-0006I3-N0 for emacs-orgmode@gnu.org; Mon, 07 Jun 2021 12:54:12 -0400 Received: by mail-wm1-x336.google.com with SMTP id f16-20020a05600c1550b02901b00c1be4abso114768wmg.2 for ; Mon, 07 Jun 2021 09:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XCAcXe8N4WlsMt8UTO5Mv+S7Kmo/DWbRfRx4k+sFyFg=; b=Xwh6WwTc7+VldB9Jf7MhV0IKiu30EVGFQtozXi2aORoXhrGTl4oWO87LFquNmbZV9v vAo8gdGo+lmLp4IdAAFtMPHxrqwmgU3svlvb2m+ltChRGwlnOkspDdLbm9nXqnilLIMW 3zXs9grk9K7cdjVbON/8il7Rm4LskvS55anlWF31RL7mtFtj4WBFJLtzvEHYh6HFwF6q IoxzcAv3/rSs5ZI86OE+SYYPH/BhqNpflS4u2qjx5Zr8VCKZyAV/ZljdUADZjg9c8UTx PjckizYR5cCw6HKlZ6Sb7smtUxPAdFFo02i3vesqQryhyARa+T1LD7Xr+ixB5YX6CgTo PCeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XCAcXe8N4WlsMt8UTO5Mv+S7Kmo/DWbRfRx4k+sFyFg=; b=j0ifuyDIFQb2C/TmQaVEt2KX1foeTPyeDA8JZt6CF3HbLJa2mrncT+12MBsASQNPPt BZp06Am95TSKEpp4znpgyxW4/I/XWeCzHW1UAf1YkGELHDKTtZh0yeqcdM/XiLHQJR4L 7lQrD2GEHbVdZY9rqbedMCvFSQbtfrOhG6aDHw6LzlFYr9Nn8waXk0FZnDKlRTFn/2zP UHhiu7Sngo1FQALUcXmL9Ql39rG6AME7PTMF2GU3IePCEDraQoGiGRGkv5UAX1V3E6Xh Z2jsHTVbWbKCv8ucqJbNLt6jVHgY/Kja3fqLDrUdclWc00mnq9HcqQaFNYoPl5Yp7GXg y/TA== X-Gm-Message-State: AOAM5331YI1qfGrgatKuEwJDM2fuf0AYojiR9Axhu21WbAKjFn6il6Dy LlEGuI57JPwvtMXgu8u8AkVBzsOEV1MGK+O2MbRMJWSASu4= X-Google-Smtp-Source: ABdhPJwtrx/5QtmMhV2p1lwD4Laz+aDi2WOHxEmPon2ldI2qvvE3MiM62auX+8sw+zi181PTQuazd9oBSl0MJHULPU4= X-Received: by 2002:a05:600c:3650:: with SMTP id y16mr17758996wmq.92.1623084848121; Mon, 07 Jun 2021 09:54:08 -0700 (PDT) MIME-Version: 1.0 From: "Bruce D'Arcus" Date: Mon, 7 Jun 2021 12:53:57 -0400 Message-ID: Subject: [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::336; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x336.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=1623084893; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XCAcXe8N4WlsMt8UTO5Mv+S7Kmo/DWbRfRx4k+sFyFg=; b=Q6PZAM6QnDeM3nflfFb2tziBKPrm5Mwdr435LsSePeKFGlNWv3MtOFr3AcS8KY1gMJdZXG 1Sr+SZMXtnWayKNpZyiSl+GFcRFfOWOj9qGXwwe1GYPV3USHv85A8ukemFYbBbSnTxUOLz Vq/IEPsfMC+/DxPG8qJSeKRFJ45zZOPXs68PTVqArH/0mOzsQ54WA2zPEfxv5gUhSvejEi 96s7soQMzbYDw5y8m+BNwKEztFVNdeQBIbIvSTycrCykmjU7ItfvazSqgSEKXn6uv/bnb0 5BU9tsjOY9SREBXp3vgEBVsrdGDLYsj0gqFNObfk1JHGhsUR6Vbfhudwtmyv3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623084893; a=rsa-sha256; cv=none; b=QGYFXIiEaG0QShQc0UiHF9ccdeRT4sZlE/KiJke//yceKRAIUbY4CwCj6uoGlx6f4/ZcDi ix5p5lYB3UuPxeI1WxmX3evog9eJZKU4YYXRUiwEDYniMn9DoIBhBWqQXyTf/SyeWYTPWL fJLw+kbqjFhxG5QqCsT0HARttj727MBodxRXqPtU2Q29n8Lfn+oJwZD6Gpa0sUN0HLCSxR x70ej7JTqeFyDx6nj0EeNElyW7mSpYynmHnGIPpB97mRtXa2krUpVHaF2Nm2xN1SM0ErW6 +rwrVS3d4/SoH2zulW+FWlXRK+s6+90Qb/vmr7IOSddFE/WzjEvy2Ii9Ho4Yuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xwh6WwTc; 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=Xwh6WwTc; 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: C921F1DEEC X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: WBrluackFtbR I'm kind of losing track of details, but two things: First, the current oc-basic has a "follow" function that if point is over a citation-reference (key), and one does "M-x org-open-at-point", the bibtex entry is opened. Very cool! 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) 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? Bruce