From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
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 iAmONfa0r2BAOQAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 27 May 2021 17:04:22 +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 +JcqMfa0r2BCZAAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 27 May 2021 15:04:22 +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 565E527215
	for <larch@yhetil.org>; Thu, 27 May 2021 17:04:22 +0200 (CEST)
Received: from localhost ([::1]:39796 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1lmHYZ-0003My-GO
	for larch@yhetil.org; Thu, 27 May 2021 11:04:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44806)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bdarcus@gmail.com>) id 1lmHXG-0003K6-Nk
 for emacs-orgmode@gnu.org; Thu, 27 May 2021 11:03:00 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:45944)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <bdarcus@gmail.com>) id 1lmHXE-0002Yc-OG
 for emacs-orgmode@gnu.org; Thu, 27 May 2021 11:02:58 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 s5-20020a7bc0c50000b0290147d0c21c51so662706wmh.4
 for <emacs-orgmode@gnu.org>; Thu, 27 May 2021 08:02:56 -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;
 bh=Rbc4KmYdxTCl6n8fclwLZ+0VM7vJy3Zs5fe5HQNFMYU=;
 b=avAZeNZdHjSyjtt7ILwkCp5FaQB69z9s4ZUJ5J3AwkxE7+0adp/X43YNUu1m6RksdH
 KSfYzWIqTQ4LtoZZqXwMBST5SbWmOV9sqkExX9KQAE+iCA7IKb77z/8DOyVX3gncortb
 FiYBUnJtwDNsdfx7ejPQ0Vl+jfBY67nl/O/PIHjj1Pj7yNi+K9EJYKTpTEMUc0CZ1QHy
 IRxjq2m96eR/lD82kbLe3Go6bNrfB1mN2kU7JxoKS0AkAaRRNkVTOtaSr8wGfKkg4bGZ
 qnrFVTvzLZjAA+my4mEg2A7rYnBiNDwg+Tq1NakQzbvyX6cr7FcW9U6Diby6I8Cx36kA
 vZSQ==
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;
 bh=Rbc4KmYdxTCl6n8fclwLZ+0VM7vJy3Zs5fe5HQNFMYU=;
 b=shia+IsLUQVRSllAFHc1h1yMgwvU1yavNw+QNAk+PTVIugddsiHnwGy7RjX/zFLMPn
 dh65ZTUn/0Jv44UkOZo5Ee+xq6TK53zBWLSaQtkazfnyaxUJeMp0Wb+/uaWGaKG0a30B
 vF/aQ1kRsIavHbF3TA/Ba6uNggn8bjruQC81eZEp9myKj4huWYna5imZkQY9SJJvRe21
 d7LlUANKi6Eq5YS2BGN4vSWYRTh54CUKXTft/yas19Ce3pwbnRB7nRH9I8xgIhoQWdtH
 cHS738A9OQcg5QXQ7EU9avctq8gqxBkNPGOh5BwRz5CkfBfOrmASqHhJzeggpgjydvJj
 GuSw==
X-Gm-Message-State: AOAM5320v8GrOsPrX0ysxL5ieMVSUFY48y2iMhALUKDzZD71OON8xF01
 uWrpfwnlQP6F4Rhh3MbHEP9TbExzjY+VmW9rgf+7fOxf0W1OkQ==
X-Google-Smtp-Source: ABdhPJzpmh8e2xkRJhId9CEzX569+zeBSTFqJUFIajPZHkDgxDM67YY5/Zds4lHdyN0ELIVQXb673uvQJZO1zEwAa7s=
X-Received: by 2002:a05:600c:209:: with SMTP id 9mr3950968wmi.92.1622127774427; 
 Thu, 27 May 2021 08:02:54 -0700 (PDT)
MIME-Version: 1.0
References: <87y2c1dym9.fsf@nicolasgoaziou.fr>
 <CAF-FPGPKYojRS7qTXgjABnDnvQYAU9H=R7VsuHvOmPGbLYohoA@mail.gmail.com>
 <878s41du82.fsf@nicolasgoaziou.fr>
 <CAF-FPGPO1COA1i3yq-GaZeVXMHQOwyknRj=nxaWUdjKNhGPgEg@mail.gmail.com>
 <CAF-FPGPgzewE+1ZhVYeWsxoHR8S9MYQ7+7WcV8LFSw7zUyKY5A@mail.gmail.com>
 <71d2f700-2b9b-d911-6012-30550a969b87@mailbox.org>
 <CAF-FPGMLQrPAZC3ZtGWxwFX2vDN6L-fXHPS8xNFrRixhRn4Hcg@mail.gmail.com>
 <87k0nkcocq.fsf@nicolasgoaziou.fr>
 <CAF-FPGMN-6OtohEEK71tkNfafapA3_CSt6RZUjvHQ-3gWKUncQ@mail.gmail.com>
 <CAF-FPGM_y_i4+OwACb1pp9nHFP0e-XGpK-54Vv10o9zBsPxONw@mail.gmail.com>
In-Reply-To: <CAF-FPGM_y_i4+OwACb1pp9nHFP0e-XGpK-54Vv10o9zBsPxONw@mail.gmail.com>
From: "Bruce D'Arcus" <bdarcus@gmail.com>
Date: Thu, 27 May 2021 11:02:42 -0400
Message-ID: <CAF-FPGP8nX39wcx0fXmnEN+f2zBCE2CDVTSq-4JmjPpCCToxJQ@mail.gmail.com>
Subject: Re: [wip-cite-new] Initial implementation of `csl' citation processor
To: org-mode-email <emacs-orgmode@gnu.org>,
 =?UTF-8?Q?Andr=C3=A1s_Simonyi?= <andras.simonyi@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::32c;
 envelope-from=bdarcus@gmail.com; helo=mail-wm1-x32c.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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1622127862;
	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:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=Rbc4KmYdxTCl6n8fclwLZ+0VM7vJy3Zs5fe5HQNFMYU=;
	b=Fh4My6xhJWXBSzBzCv+Ap1ykHWyf2IB3c1iRhQI5qUFZ8UKmul9ltdEtiXGiaF8FmNuCSS
	3fxG02rXtCotV4UxvpKE59IEaldnKqHslxVxrx0aInHuhzrL7cgJKVIbEi8XVZ65Kop1o5
	XH9STTNyUueZwJDIpmKT8oaXdQ1699bve9kZ5pmWxMboCk6V4wiergWn7IjrjHnyhK/cdw
	5OCGEZU15BHDMrqVkxYcwsMhKysHUIE4jPPuEU0Al9pGr4N4De2fkjhBFPLYXcX8zZ5Kjc
	58txsrRxPm+9gO7AMH9H1gTy0SWffOd00vuHsecpmTgVduRDmycSqeP90UukFQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622127862; a=rsa-sha256; cv=none;
	b=HvdXcI7tbPINXPR8pVfqZgYVJw0EHN64DJtGEh0mVd6Dy1QYHT/ldyYSyV8TxCfuiGPPZL
	3/l1IQxosIEBXCgmvWlN3P9BhjDexxHjtwSDJeuo4yzS8gqdwL7fhyN1wVALXlG0YBk+bW
	5iYZP3vlUtL4mHY3fAwtgFF2hIpFzAPaLtsU1aMivprhQ3ePUf7PHVbHYvbNhFPNRVDs//
	aNbBi9D8thLs6qhro2YEIXtD/lNQi+EHCd1gBVbvt+cF2SuzmOi1aWvNMpQK9Ra2HODB1Y
	5dztdG7LRAJfr6fEr4NwWAhWz8ifnrrReeLDWet8GN6QZ/LXKyvcWPUgZt0Lrw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=avAZeNZd;
	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.13
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=avAZeNZd;
	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: 565E527215
X-Spam-Score: -3.13
X-Migadu-Scanner: scn1.migadu.com
X-TUID: ZpHDIAmRVD7m

On Thu, May 27, 2021 at 10:34 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:
>
> On Thu, May 27, 2021 at 10:18 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:
>
> > I was expecting (not to say I should have necessarily) in this case:
> >
> > [cite:@doe p23]
> >
> > ... that either "p23" is recognized as a locator, or as a suffix
> > string for the citation reference.
>
> To be clear, Nicolas, your change to the regex this today, however,
> does recognize that as a locator, so this specific example is a
> non-issue ATM.

Although, users should probably be encouraged to use the "p.1" syntax,
so it's consistent with one or a range.

One other thing I tested just now not yet accounted for: a locator
whose values is a list; for example, that renders as (Doe 2019, pp.
23, 25).

Is there an easy way to handle that?

If not, it would seem even more important to output that as a suffix
string, so users can still get the output they want?

One other question:

Right now, citeproc-el, and hence also oc-csl, only supports the "bare" variant.

Would it be feasible, and make sense, to fall back all "bare" variants
to "bare" for now?

So this:

[cite//bare-caps:@latexcompanion]

... would render as:

Doe 2019

Bruce