From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EFRmDcX75mB7jAAAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 15:21:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qFgKCcX75mBTXAAAbx9fmQ (envelope-from ) for ; Thu, 08 Jul 2021 13:21:09 +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 7200AA565 for ; Thu, 8 Jul 2021 15:21:08 +0200 (CEST) Received: from localhost ([::1]:58692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1Txi-0006pC-Uj for larch@yhetil.org; Thu, 08 Jul 2021 09:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1Twd-0006mh-5R for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 09:19:59 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:37565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1TwX-0002Ge-4z for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 09:19:56 -0400 Received: by mail-wm1-x330.google.com with SMTP id y21-20020a7bc1950000b02902161fccabf1so3488418wmi.2 for ; Thu, 08 Jul 2021 06:19:51 -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=IHJ+QwbIzSEpY0kTr1qLjSUF6BqgEwrBdLdE/+L5VxY=; b=fAetITC5XNpltO+o3gKGAnB3u8jkmAKVEpsAMyq2kYZFALZCSEYkWqXj1RY8QUt5oN p5bsHuJTYYtbmTu5k1BcReEK1absuq2H/iJGK5SBKDF1Q4WcUwvtMgPyi62YJ3p5DKS8 pHqf5rtEqANa1kI4FK27zPixUG815L9UIXuAOBleURu1YbAWX6B9XUC9cp4NXeArJnrU umRmaWPBweeNCJ++oJj1IPlHjAm+2Uxgiv+W64mkvDmGQaYj2eX/ACjzvZs/YSn4/Tsk uMxs75yH+8wAqG7LQ8m+aGZTrkPdFlnUA2HTBZxlt/puGIqnC5g8N4UB3NYr7F7MJImN KhDg== 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=IHJ+QwbIzSEpY0kTr1qLjSUF6BqgEwrBdLdE/+L5VxY=; b=b1dX321EVD3Xxn3uYEDnXh+7dBUFWLyAxfgfip1jaxE1633DwXUzu4g/o/3d20Vh7p 7uklgTPjZd8zPmAUiGcqMly9v1OQ/DHa0Iuhaq7/MR5bXHGc1uLtr3mE+K53EkRFfbW/ dd4FHgV/LfFSdzQRo/jWEoGLKKsJAOUYdQC4zUUCqOufji5pdHD8PBkfC5peOBoiVkkf 00lBuBjPc9P+yk7LQYaZ/Vnu6M9bu2wMfApgK3UCgE4zijZyiZs91qF2iGWD4GoLP5Zl oICxlbmQGDe6WSIAARJbt3LkJPap5hsM0bMABeOUgFPcItiXRtnj71S+4VxSC9K1U6CJ 6yqQ== X-Gm-Message-State: AOAM531vDk3BeYcCHwlfgLPkr+ybmXeBHFFem5I+MUsw+4J9mGRtuny8 NYUEpO+2NIzZZ0VwUvK/tl/hYF25q6xNbLpn2bE= X-Google-Smtp-Source: ABdhPJw1Kya0Ur7NTTSbsxeiXERBiujHu4j5WUdCZqHdlW6Tjb+kyb/Yrw1ZPQFBaeEQ2b19tCiWYZsSY71fBFYMB0Y= X-Received: by 2002:a05:600c:2215:: with SMTP id z21mr33175190wml.92.1625750390335; Thu, 08 Jul 2021 06:19:50 -0700 (PDT) MIME-Version: 1.0 References: <87r1ggu25x.fsf@nicolasgoaziou.fr> <877di8tqw9.fsf@nicolasgoaziou.fr> <87sg0ws7yk.fsf@nicolasgoaziou.fr> <87o8bks5wd.fsf@nicolasgoaziou.fr> <874kdbeu0f.fsf@ucl.ac.uk> <87k0m7suax.fsf@nicolasgoaziou.fr> <87k0m1spb7.fsf@nicolasgoaziou.fr> <877di1ni47.fsf@nicolasgoaziou.fr> In-Reply-To: <877di1ni47.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Thu, 8 Jul 2021 09:19:39 -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::330; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x330.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=1625750468; 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=IHJ+QwbIzSEpY0kTr1qLjSUF6BqgEwrBdLdE/+L5VxY=; b=Yrr4fAmr8wYXIJ740LnjRB2hHAFcm9dtNmU7naq/xQr2dIQug3pXcJ2x4gwRMHGHzNyOFb 3YbqBfpyngTJVAhuoELhCtSXYELTQOvSgjJO/27/14mQnx7COg0aR0lmQFSbJ2crgGKv26 3l3Pm1q5CCFWbqoe9ul0tPu5Rcdsac63nJVVSouAIz/1V4EsUQ0pwT2BKVjLICEphH7WFH g9DvZWTKh6w0v4zrrJ4k06Qy6PJYiNgsaPvRZZ/8eiLaZefgxt53zoUAU4X4fLKEivIgeH BAcJyo0uVyXj6eqLfoZlHbPaM1vasSa53sGNs1KpV7K1jsYPKTHWqS52927Bng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625750468; a=rsa-sha256; cv=none; b=bwNck6rgMcUJnmyXVkhpnI4B8EYmXpk9UuC6yDqoQ2qsS0FNLQZCsLM8eXSd1K0YlGwiKB JNBrk+fI0UJer0yDj9IyVtDgw+ugZu6rm6yTHpkhgMQLTvIBH/ix7RV76fRgFafwDuD58/ 5ck68lIMh0VNxk/NC0221EF1ZUNvYiStyLfTb6LiICXMHBt2hHU+TXqVon3V2afcyjIbtG xNWoswFkQ1kouBMk/SUk62I2b/Hfm2E/ZNJQdvgVPSFKqvc2T4aBD7jwxMqC6OuQWm8Nfu W9b4lWp1bD+eZ89YKHeUJCPXKFS1MU3FI+/4BrXLLOmG2FZVcnWZAHcBRrl8Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fAetITC5; 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=fAetITC5; 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: 7200AA565 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: urvqnraCcjR9 On Thu, Jul 8, 2021 at 7:46 AM Nicolas Goaziou wrote: > In this situation, the function I want to encourage re-using is > `org-cite-supported-styles'. `org-cite-basic--complete-style' is so > trivial that I didn't bother exporting it. Okay, I see now. So `org-cite-supported-styles' returns what it sounds like; a list of styles. ((("author" "a") ("caps" "c")) (("noauthor" "na") ("bare" "b")) (("nocite" "n")) (("note" "ft") ("caps" "c") ("bare-caps" "bc")) (("numeric" "nb")) (("text" "t") ("caps" "c") ("bare-caps" "bc")) (("nil") ("caps" "c") ("bare-caps" "bc") ("bare" "b"))) `org-cite-basic--complete-style' is "trivial" just in the sense it only supports styles (not sub-styles), and one can imagine adding annotations to make it easier for users to know what a given choice will result in. But that's not for you to worry about, or for oc-basic. I'll think about it; not sure what the best path for a more feature-full alternative would be ATM. Bruce