From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id nf/+EnJt32ARQwAAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 21:48:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aB8aDnJt32BRewAAbx9fmQ (envelope-from ) for ; Fri, 02 Jul 2021 19:48:02 +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 6A81E11076 for ; Fri, 2 Jul 2021 21:48:01 +0200 (CEST) Received: from localhost ([::1]:33868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzP8p-0001eA-Nw for larch@yhetil.org; Fri, 02 Jul 2021 15:47:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzP8R-0001e1-Ua for emacs-orgmode@gnu.org; Fri, 02 Jul 2021 15:47:35 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:45725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzP8O-0005N9-Q2 for emacs-orgmode@gnu.org; Fri, 02 Jul 2021 15:47:35 -0400 Received: by mail-wr1-x431.google.com with SMTP id i8so880413wrp.12 for ; Fri, 02 Jul 2021 12:47:32 -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 :cc; bh=V5wKSL/OJPh2akOMDEncyjCk6H6Sk7/UjETwXB5gFk8=; b=NQTMqcTysqaIcRgYuwv3LhF4fy36rjHSDcJ7MEiStNbKhbZO37Id8CoA7aA27kOGCl SOVXEG8ndilKfxxnnyd1POn7hnat7xO2nbvIZDjp7lrBc7qnPxNq0t4pW8HW2TjbIJPY QKFc0nyX8xDOm9e86ROfjfHIf0ZWY19PWZ05tw9fiC2/12t+AfdZljEr4Ekbmo+uAIjs +XBuzUhFav6GCi+4We7WkvsDgs+nH29OtIvr/KoJqdek1ML2jBqVVTxawTwWRcr1ib24 lsrS8f3kN0pUDDHmK22wXaDfzvmPWGf8krVMWxJOyMGX8/oRAqVBE8kYrgdEFfs0p4Ur xlSA== 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:cc; bh=V5wKSL/OJPh2akOMDEncyjCk6H6Sk7/UjETwXB5gFk8=; b=BLx6hBV5ELbP196OFBZH6+3aXqP/UZUirDQ0dcos0XBZ06Xo7BIlGpLic/+EYPDw7g q21bDpPYD6D/Y7sdEIaSBhQTRzvuf2RwJF6mYHkXy2MmoZntjg7faeF/lmyFTpSI9u/E j3D1z2rr6RVNX2ggJOtK35BffmYf2XhnWzJGQGBwbVhmnoelbKp06+pNxi4gbVRDAgKH cjK4qDWDxAla1w/r4KiqvhuOIKnm1zQbYUImXvbNFZQjXL5Ds7mRWgVTGN6rQrayvj+8 ni9PpxLjM6UMQNK4mHdIVBRtKaVLbLTkmHA5FS3v0Rw9kXDW/76Vm5j7D0M949j7Et/J DqYQ== X-Gm-Message-State: AOAM532DPectHNnRFCpDN5ef3dW7BCX4klyxNROSp8oX3gh0Nkny8yAd cQr2FDP1zGwQRWwu3Wq+/JFfmVtU7RWLFPmjzVY= X-Google-Smtp-Source: ABdhPJx3YPAqtm5AwcItM8dUz5k1QuAwfVuyp7zcm/okyd5/g8xdYOCg0cHFIKJfKkduJWXcAzXpexwK4asBi32jRTo= X-Received: by 2002:adf:f048:: with SMTP id t8mr1379087wro.35.1625255251180; Fri, 02 Jul 2021 12:47:31 -0700 (PDT) MIME-Version: 1.0 References: <87r1ggu25x.fsf@nicolasgoaziou.fr> In-Reply-To: <87r1ggu25x.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Fri, 2 Jul 2021 15:47:20 -0400 Message-ID: Subject: Re: [wip-cite-new] Quick note about citation insertion To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x431.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: , Cc: Org Mode List 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=1625255281; 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:dkim-signature; bh=V5wKSL/OJPh2akOMDEncyjCk6H6Sk7/UjETwXB5gFk8=; b=kFsVKcRCCNXMerx7H3c2g9vGMUEg6eJKZVgAF73XSw/CUTzuPctb5CSXImqHYguiQ2oYJK YgebQqU98PmAcJAXp5s7hg7fHJXu141BDVx+6k3WZ0U2ne8UhE78KyHkyClFAUSOmNlTM4 mA5ZS9DXriWu/HcU2lwuoB5sKdyOi7jnOsy+b9znAAuViox1i9qt25BS1rMK+Scq90C71y qIu0efPJakMITfD0OAVJ7zMsPEmPozrGI6CWpRI3btpDIGE9iw9EE9JUktU26iawBqITFQ R1ga+AYFSvrVVeH+jYU/VhWrIQvdL8NPsZynjl5k2yT69QR5SVfyb4jgA0PzAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625255281; a=rsa-sha256; cv=none; b=lNi6i6VnQ2t380uO/HrWsRsfgg55ltbYyTdINJRNcr13Fc/2kG/MvrLi18C7OHlBP012Q4 fELMr80PHluH3LwpOGYqvm9AXa57Ka4kjvPcpwjgTVQUsmBxAmQWijR68B5MFhGC3090EA 3ZXHmPa268anBq/WoisCwcJQooTBmGu8Ao174pHjimlhh55snH4w7RoLMb0ZbjtwjNBSrU poOSBAil7UCH3K3FAd+wqquQqFAPE4K79cMemrbn9vn7A5N3Yf9tP6HbIJ8n7sSigWMWmV vRSbE1ugEXgF96W076oDngZZJWgJzbRw/RWszNcidSDd8vSo1ycXeWp66gI+og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NQTMqcTy; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NQTMqcTy; 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: 6A81E11076 X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9KT9tk+t+LvB Also: 1. I don't see a way to add a key to an existing citation. Editing an existing key uses completing-read, rather than completing-read-multiple (as for a new citation), and places point after the existing key means the style editing UI will pop up. 2. If I use CRM to add multiple keys, for reasons I haven't determined, I get a "match required" error if I complete the second key. I can only get it to work if I hit enter before fully completing the key. I don't know if this is just some selectrum oddity/bug or not. On Fri, Jul 2, 2021 at 12:11 PM Nicolas Goaziou wrote: > > Hello, > > I just added an interface to unify functions responsible for inserting > citations in a buffer. The default binding is . > > I also plugged a rather crude function with that interface. In order to > use it, you can evaluate: > > (setq org-cite-insert-processor 'basic) > > Internally, this will bind to `org-cite-basic-insert', which > can insert citations, or edit existing ones, depending on the point. > > From a developer point of view, you can specify two new keywords when > registering a new processor: :insert and :cite-styles. See > `org-cite-register-processor' for details. See also an application in > "oc-basic.el", for example. > > Regards, > -- > Nicolas Goaziou >