From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2PFpDeXGrmCMcAEAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 00:08:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UFoaCeXGrmCtVgAAB5/wlQ (envelope-from ) for ; Wed, 26 May 2021 22:08:37 +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 A0CA815BDE for ; Thu, 27 May 2021 00:08:36 +0200 (CEST) Received: from localhost ([::1]:59866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lm1hb-0005hv-Os for larch@yhetil.org; Wed, 26 May 2021 18:08:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lm1h6-0005eg-8b for emacs-orgmode@gnu.org; Wed, 26 May 2021 18:08:04 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lm1h3-0002Fe-U8 for emacs-orgmode@gnu.org; Wed, 26 May 2021 18:08:03 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 7A12020007; Wed, 26 May 2021 22:07:58 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: [wip-cite-new] Initial implementation of `csl' citation processor References: <87y2c1dym9.fsf@nicolasgoaziou.fr> Mail-Followup-To: "Bruce D'Arcus" , Org Mode List , =?utf-8?Q?Andr=C3=A1s?= Simonyi Date: Thu, 27 May 2021 00:07:57 +0200 In-Reply-To: (Bruce D'Arcus's message of "Wed, 26 May 2021 17:11:58 -0400") Message-ID: <878s41du82.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.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-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, 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 , =?utf-8?Q?Andr=C3=A1s?= Simonyi 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=1622066916; 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=WHmPpMzJSjK19GRQB6fTEYlxZHD1k+pMIIUP9/yinVc=; b=mHoaK4nhf1uUJcSudogJVIDP+vniBvUrUsCSFul60CH9KyhHwbyPShOFybcjVHlkPddZh0 l8yBgm96CxSUsRFwIup3kBVL6O3CJP8iVZ7l5oOJuykn+TVlxesscBwHQp7ZG5g1dSg2rH JV0t8yr37VMAsgZSriHMxjZIIKe1IjDissuKDI5SUDKbdy2DzgRVaxSltwwlxz/aMQfH36 2758wxQHCkpGsoGtNwy6ST23ZwcGHZt9KH62V0YxAIiYDfIXhEsW7wNHmU5q9EmTlTvY4t wdtwgB6KXF7K1jLR45owxn8OfRrEYTmB+RR1KUykd6KwaEPNgsg9G+NV0m84dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622066916; a=rsa-sha256; cv=none; b=sYzY0m3Xv3adHlRXfwcXUkk6h3l4/AsyPC8V9LVa4A7s8T0xukjO/xO4fyHVmpiGzxSXEW dRL6x97EfI4+gmYRbD2P6xiFk+lp+C0biTgEKxuQJVFGLmEoVyCu8ZU3hS8DwKbveCsYsC RSbXLTDOj5mBAmtoE/PT1IT8L9HOVFo3nmM236KNR6OMFYfV0YbWPms8E2Kc3FODpQHK5U 5SMgVqrl0X4CNL6jzjp9lnxkNp2xogKSsyrI1jQvKfRhw0L4QKxOByoiCgj5oaETfF1EJQ qVyNvzwMCR5YAnptBjfgmSTLy/+sg17AMPO8JXrrmPAXVXVmBy8TKNI3gtKICQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.43 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: A0CA815BDE X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: JsRf+pOvjDC8 Hello, "Bruce D'Arcus" writes: > What if a developer has the idea to hook up one of the new, very fast, > csl libraries: either the haskell version associated with pandoc, or > the rust-based version associated with Zotero? > > Possible reasons they might want to do that: performance and/or > compliance/features. > > Could you make sure this module is coded in such a way that it should > be relatively straightforward to do that? The citation processor is pretty much centered around the API provided by the Emacs Citeproc library. I don't know what interface the other libraries you mention do provide, but if they are not close to each other, some work will be required. Fortunately, barring constants and defcustoms, that's roughly 300 locs. At this size, doing anything is (or should be) "relatively straightforward" in Elisp. Regards, -- Nicolas Goaziou