From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IPqnEN06sWLGIgAAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 05:28:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8EmcEN06sWKLGgEA9RJhRA (envelope-from ) for ; Tue, 21 Jun 2022 05:28:29 +0200 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 0465910067 for ; Tue, 21 Jun 2022 05:28:29 +0200 (CEST) Received: from localhost ([::1]:55648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3UZ1-0006Bz-L7 for larch@yhetil.org; Mon, 20 Jun 2022 23:28:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3UY3-0006Ap-7q for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 23:27:27 -0400 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:40583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3UY1-0001cz-M3 for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 23:27:26 -0400 Received: by mail-oi1-x233.google.com with SMTP id i25so15629782oii.7 for ; Mon, 20 Jun 2022 20:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=uqmf+qwy+36GTwHtZnnEwLT4UV7KNqfK19bO7XUOa1k=; b=K//g3YXJQa/U4f0sdJcfOtRC0d1UfL932c/UAtdr5BiB5wo2Fxr97ynGFutBzSJXTY HJdN5oeFoodHc88XX+H/rJRAeqiZeSODoyV+KbuR9Hd0B+i5nWxrspPIOyY1uiLxgkWu G2K+wEhGcxGgpBfs3dtEY58+vyVqMRpw0og4W8DWN1HUWJYhV6RCB4A7ingVE6+AKYm1 N3AJBzILe9obpKZ4snFllVoHiJf2tpHy9VDVlrg1G9Ssv/jZXNa2y6hvTG4ttzPZ2A3H rG75xLDdZyJTxfKfN1Arpha7gOHj+D25tIEhJUfqtKkQ0/UUvTSP+C8S6DhaUxWgtMCe t86Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=uqmf+qwy+36GTwHtZnnEwLT4UV7KNqfK19bO7XUOa1k=; b=B7YdMMPNjWNPyIyf1+exzUFAhVUS7Ur4mRqe2rVISRo+ihzw4bayDDOON+kqrcjzLG Hzl9jT46FvuK7UBsTOu/2Gi3FlPjfPXSkD06JJmXQ5wFKhF4alSrtmJna0IMiO6M3Ggp B8pVM78Evjrcw3dz2F4ZmYl00O8G5a/RuxAFSIvPQvWTgG1Aru6kPruCM08wYSkGbE1B sDlcchmZyJ1Cu9Ve0jmOGg1qgvHTzuimQR+V6w0MHmZTCVzdQvNBGDFDg++f+9EIZ1jG W3Pxg1IWigfu5yRmROkuwqbW6U0nxVDLluHWIxWfkePzK0/PMIyweR2MpDAooOR9GRYi 4rjw== X-Gm-Message-State: AOAM532heNCbgmNpygPQf7jvZhQ8YOhDQ6t2tsK7oHnIxIWOBqEUiEf5 lidaSP2dtwJhGWlWkv/CStI= X-Google-Smtp-Source: ABdhPJwcZ4exIpE+DUyIj9zsfu7xHi4hY8ZBwgJ/HejW5sTuP63ixL5H76IFVva0eGHko+bBAcnDEQ== X-Received: by 2002:a05:6808:2005:b0:32e:bf1c:34e0 with SMTP id q5-20020a056808200500b0032ebf1c34e0mr17181136oiw.2.1655782044471; Mon, 20 Jun 2022 20:27:24 -0700 (PDT) Received: from localhost ([207.126.88.10]) by smtp.gmail.com with ESMTPSA id d144-20020a4a5296000000b0042313f42b26sm125530oob.39.2022.06.20.20.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 20:27:23 -0700 (PDT) From: Ihor Radchenko To: David =?utf-8?Q?Luke=C5=A1?= Cc: Bruce D'Arcus , org-mode-email Subject: Re: oc-basic: CSL-JSON year as number vs. string (nativecomp?) In-Reply-To: References: <87h74h4ecd.fsf@localhost> <8735fz4k0i.fsf@localhost> Date: Tue, 21 Jun 2022 11:28:34 +0800 Message-ID: <87h74esnj1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=yantar92@gmail.com; helo=mail-oi1-x233.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655782109; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uqmf+qwy+36GTwHtZnnEwLT4UV7KNqfK19bO7XUOa1k=; b=QNMRb69ARJvRlXSTQVWUJzNxbVhsklg8e6lL5v3avO2aaP9eKak7urVFRN+FdmEReVG3aK xoBprZrfxZfiuqBbJ9TACsZA5TSEIeZGApg39n3knWXYPefk7hrdpJb6nyYavm0LU35EdE gBbHjFnC37M/GvJjTfEAg1QCt3XKRMnC+5o0B5ZRP6NuxAvVXoecrzqQYJ8b2advwmKKRX EDN1EPJG6gNQDA5J2tC2lmfMHBLrMdMM9rYVyrZnFGJ/Fc9CAacql5RZr8/aoF+iR9Wnuf h5uVzNJT2H3LPYhBOuNlo1wPdwicuJDiXrLFH+e6pF0RR02dThQDtsqYGhO8Iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655782109; a=rsa-sha256; cv=none; b=oh7N86RUv9e0bt+tqWpr+VyurTi97Piyv3NBPo1AuDaSSiKV0Yeh+xgimUNDlX1XlTenFL EKagHFAr1k074PnrZ4wWDhRRrB3CbbhWYsduKE1n7J2PTeMHwUZugLHNKn3YtacD+KWS6i NwdCPuQhp4eoh/o/jVY68QczIeeV+lAVCRJXRLDaYqzC/QpE3bdC3TxIOzIVOZCkaX3kt9 r5EuRUp2nzDfa04nFZh2vB2KD/LrOJQSAcmslygmKikgL+TfBHR0GzltIgTjtAqBm4rvnr DHO6oIw/erQmN0K9NPPWZDdqxa8I50XL/ugr+UgzGmpu1f7eMZH8xzeP1C7V+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="K//g3YXJ"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="K//g3YXJ"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0465910067 X-Spam-Score: -4.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: oD4ILkZ7K4Eb David Luke=C5=A1 writes: >> Would you mind creating a patch and possibly supplying a test >> that will make sure that the example file and similar are correctly >> parsed? > > I'm attaching a patch (just the patch for now, no commit message), let > me know what you think, in particular the error message. What would be > an acceptable way to wrap the format string? LGTM! There is no need to wrap the format string. > As for tests -- if `oc-basic.el` already had some, I'd try to see if I > can come up with something by analogy. But as it stands, I know too > little about Elisp, nothing about Elisp testing, and have too little > spare time, sorry :( No problem. Your patch is already helpful. Best, Ihor