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 qEvNFl9QZGGMRwAAgWs5BA (envelope-from ) for ; Mon, 11 Oct 2021 16:55:27 +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 uGmuEV9QZGH6fgAAbx9fmQ (envelope-from ) for ; Mon, 11 Oct 2021 14:55:27 +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 B98837717 for ; Mon, 11 Oct 2021 16:55:26 +0200 (CEST) Received: from localhost ([::1]:54934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZwi5-00040P-2i for larch@yhetil.org; Mon, 11 Oct 2021 10:55:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZwh6-0003yu-Hj for emacs-orgmode@gnu.org; Mon, 11 Oct 2021 10:54:24 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:43604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZwh5-0006GT-1A for emacs-orgmode@gnu.org; Mon, 11 Oct 2021 10:54:24 -0400 Received: by mail-wr1-x434.google.com with SMTP id r7so57132361wrc.10 for ; Mon, 11 Oct 2021 07:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cj/U4PMYHeFDu0pMnIrsf/7D+lPb90nYjpBXt6L9LXE=; b=E0VezBXKVw2iDmA9gxQaqk0HkZOlI7Km6GvrK3tIU7YLr0hW7RQ7l+U8J7CHxKlb4h G8wx+Pt56al4XLGdd/qcpWfo9iUB4OJk14WhgZZYl31UeWLIras58AYqPoeCnp4xsxGL 3/Z2fQP1q1Zlv3rI4/kOj5UTuT7KnzYAkCyeWTI2KU+qtKnYnPsuTxM5GWDdxZA2yKIQ /0mPHkoxaGgnhTzJ5SbwErxeu/qhhWCvtR2Y4uXIEgnLIqLYfwdOIpOjlwZQqTqR5Ik+ db3fgmA9A+Uu0o78Vv2O53CuGjqGDT/neOSDqkGFwy+kMCHEPOJ9og8OZgL5t6Mb/QOJ 2Z/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cj/U4PMYHeFDu0pMnIrsf/7D+lPb90nYjpBXt6L9LXE=; b=s+iD6hHx5CyDvVIGp97/SfCNPfUZm+i1pFtEVW3S0n5fA2Ac/9AP8K6n6SXeJWhpdx KfpFWPehnMH33bqzdMooe+0LoDeg1hTpWa6d0bPHYJ9/zFlDXIGW4j2di4jwce6WpG7i H9BTqERAXXlYtHj1PaO2Lj+W+v8cLNtu/Fqzfw2Y9uZAB0cj3PsN7Qqj5yni3r0wpVoC OYk+NOG9tMVNp5HdsLK6LFHllUKIEEcvOJr7I/dl3SQm8FCTQ74HDcpDW4YTR53DIlPz h3sA5RpeTefzMWJrcrf+yYI075DTw0CrGci38zvMAXQL14RrE0iu2wbVRvf1gghGr4FR ya2w== X-Gm-Message-State: AOAM5319Lk3rXVT1PG7LOZpEOgPGwkxNLrSIXBRQ//G8R4jIi4IHNhjV +l/wwnbAQ8hXdHn8FlcZQMOx6qV9/EXVUOqP+xc= X-Google-Smtp-Source: ABdhPJzkRwfP/EuolQ32PIJuaM9Rbn49TvSTxOAFV2sb/dXdMDOUZ2hYSwKPLV6tFaavsYvy7Sx4z7PquhRmPE4PL54= X-Received: by 2002:a05:600c:1c8e:: with SMTP id k14mr20680809wms.27.1633964060115; Mon, 11 Oct 2021 07:54:20 -0700 (PDT) MIME-Version: 1.0 References: <20211010230903.t7phnpribyvohlja@dalkati> <87wnmjgarm.fsf@nicolasgoaziou.fr> In-Reply-To: From: "Bruce D'Arcus" Date: Mon, 11 Oct 2021 10:54:09 -0400 Message-ID: Subject: Re: A minor suggestion about formatting citations To: John Kitchin Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x434.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 mailing list , Nicolas Goaziou 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=1633964126; 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=cj/U4PMYHeFDu0pMnIrsf/7D+lPb90nYjpBXt6L9LXE=; b=UW6BvqDGLPoFrN4Lc0ie7LxezhEKmDYyy9nMbtVnenC8bFtdt342yLtdIc455OfJaNzCcY g1Z/Artn5pIZL8KeNvO7KfzqX9Ir2DpGAGYwyMM+ZE9Xwy8hTyXYXM8NG/vmSjbqeWxIt6 GM2I/439mx6S2JtpxgTZ2GDJ3P2cbeDSiB0TfU8blgM+CLr9TCTcA+Lc8yuwfWThaQ0BUJ uvq4lSV33q9jtGQ35DCd0jnkK7QaV3AWStT43og4ERrHt9gGIQbXHE+U+wWX5nrvyBI/qC 7cl91+C/dfPLdlnJ0OPAMKC3+A/9Sb0vEZWOtb9c/uBToaJwql/3gTiShiW9Cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633964126; a=rsa-sha256; cv=none; b=qklm3puDxS6MiMMFR+M3uVPcIhbeSWWN+4tBKUeTQ5DZbfxhIMOSQJM/WoR5xyo5KQ8Kfu Ljoz0AGyr1ylXMfimR6Sss3acufy2FZOe6squeD4iwG8jh17SJ+ht8Qu4Ib5o8WJPSI7zg 3EpOldRfm9E+PpZKBQMlB/0mFkVuG7w32WA0VV/LzbzARO3aRS+btORbNb2aj22PTuPf9F 4jEjMrioG1beSZekmE+gu790cre16UIJYiF2ZaCnj4mcnd0g/oN8bybB6isiqwvsMT01SX cmS8WvLgGN9qxKlbuPE2luOMPT8ja3vAwy9LlJ5OKjkS5njc4Tp/QBBivy18XA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=E0VezBXK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=E0VezBXK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: B98837717 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0iuNK45Iwe5+ On Mon, Oct 11, 2021 at 10:28 AM John Kitchin wrote: > > you should probably trim each key, and re-add spaces where you want them in the function that does these kinds of things. I realize that's an option, but something about that feels wrong to me. We're adding a single space as prefix, not because it's meaningful for citation purposes (there actually is no prefix, though org-cite interprets it as " "), but only so buffer formatting works correctly. And then presumably code needs to be added to the export machinery to strip those empty affixes? Am not saying the latter goal isn't important; just seems like the side effect isn't ideal. > Maybe that should even be controlled by a defcustom that allows 0-1 spaces. You mean in org-cite? I think that'd be my preference, unless there's a better solution to this issue. Bruce