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 UIjjAtOLn2FLHAEAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 14:12:51 +0100 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 wIEVOtKLn2FqXwAAbx9fmQ (envelope-from ) for ; Thu, 25 Nov 2021 13:12:50 +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 93E1667E0 for ; Thu, 25 Nov 2021 14:12:50 +0100 (CET) Received: from localhost ([::1]:35746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqEYS-0007hO-ME for larch@yhetil.org; Thu, 25 Nov 2021 08:12:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqEX1-0006qH-IN for emacs-orgmode@gnu.org; Thu, 25 Nov 2021 08:11:19 -0500 Received: from [2a00:1450:4864:20::336] (port=41693 helo=mail-wm1-x336.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqEWv-0003OA-A3 for emacs-orgmode@gnu.org; Thu, 25 Nov 2021 08:11:15 -0500 Received: by mail-wm1-x336.google.com with SMTP id az34-20020a05600c602200b0033bf8662572so4673168wmb.0 for ; Thu, 25 Nov 2021 05:11:08 -0800 (PST) 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=VWOyUyZjdBW1zoiOcceD13d616DMyc9Ex8pri4yFa/s=; b=K0LFaVVuHuzfpDUJeHlubXrAapkqJaOnvoGOGcqg2s54CfJCWNf+y4oo7Omnsrjxoq JN8oMnk+dyoFwxuhGyf7ZxJgUxAExtd2DcJ8EPlJFRqyBvZVMt0onhMuAWFrwAwjrivT f9cwQTVK9qZWxxV5WKdYMk3W2PS+Ds2peM42zrBO/aU7ttNzC0Gcw0+IGuVJtj52Glyd MBZMnN2R6OidBjJU+2DaUzBzWc/afFt4516iZKlMzXvXLMjcH5CCVxqn8h5pOF+PWelG CLC3nlA+BXbEiIQhHzDOuoTbhMRiC9UCyMJpe3PLlXHzZGPGIkfT2CYpfspA46RSFtf1 MNRA== 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=VWOyUyZjdBW1zoiOcceD13d616DMyc9Ex8pri4yFa/s=; b=PIN8mPPrLspVsfnOgCyaPP78ZKNQ9ue8GLi0wHLUElJKjPBbSzKp/QGChZ3jT9XYJj D8dppLXYlBnnTtzqkWMDuh6m9FYNEq+t1NbaUnzy5yK7UMxmprcQGOIJpniPMb5nJg/p kdZmGf7QYkQb7XsYQn7rhPHAVe1dr9MjStwmu+KE8Hk05WyprjcEKpd7giZV1GVMfVXt GPPpVOnKeGdnfMF+Q+HpjcuDtL/4DK3kJSYr7u8gRXB0Le5OHOKr0VJaZ3QSWZy9qcmM ahoXXvVnvZnWfRYr084dYQ30Hh14p6LLyvqbF5IKPKoYHMSj2sEWlSUzTTU4dfspkK5Y YgLg== X-Gm-Message-State: AOAM532OxIfQh5t53BkGpBx0BwBLVIevSOy9A0tcW7ri5k1Rd/5b2lYX 4qD7AhHTEy45CPvBi80R0YH5cFlceizKdOmrP/Y= X-Google-Smtp-Source: ABdhPJynY6FD1VfXShckWBNKNnvMfFe4TGrQspCSCtOZk4rxGrAxuS+2qMKLXVPlw5nJ8tzwq5It4SSY6NMRP7W5xBw= X-Received: by 2002:a1c:4303:: with SMTP id q3mr7071520wma.78.1637845866894; Thu, 25 Nov 2021 05:11:06 -0800 (PST) MIME-Version: 1.0 References: <87ilwhqks1.fsf@nicolasgoaziou.fr> In-Reply-To: <87ilwhqks1.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Thu, 25 Nov 2021 08:11:02 -0500 Message-ID: Subject: Re: [oc-basic] fontification weirdness To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::336 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637845970; 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=VWOyUyZjdBW1zoiOcceD13d616DMyc9Ex8pri4yFa/s=; b=stYdsEaSeeYfpm+Dljx/IQ6ioL5IXxCA/7ZIhfDal8dBykxEJv0E0WNTgTv9NQjN6fZCS9 NnREt7PCzYGaQBxpSNnAVAfVIpic2RzGmwZ7HTvTOvC1hDpv6pfdVdoGJZvrMayT2NscjU yqN1lQvhOajiw4rUs6qbLR1Oi/ROC9zPJJpl1Iz3v7gXEZlP875RY6GPHusbDgmBbzOgKo OC1Dn2Es/jtJt8B6nJzYBfiZL6cbL2rptPtE0l8HoIjVHgjDVaoowZf4nEX4mj4MQKJ2cj NVr6rhL/lUPfgFs/eQwUAWSQlWrIcLSGkbRsrAX9KIc5DNzBMg/x/rPmriwWig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637845970; a=rsa-sha256; cv=none; b=OEztHpl9DQBct9xwHOwjYHg8S1uAUj16RdgFUtMlO3n1uwO5H0EW44NDoITSFxr5fDHo4t tVItfEbaqlsIfJWb3D0X8ljepWceJyIimy7Jld+tCQnj6XC+8NxbnwOrNxR1wqhGTGwqPC xHNvOOGG8MLVn8Sb5NgLSS7UEFBUbUdiPnqxSjhl/7JTE1A6f0e5kO4hgcqCOWw8QT3GtV dBKRDKHh2iuOpJRzfY0kO9lgSfVkkp7YDpLwNC0GjwabjNRNzpsH6wrVyFS/t/D+KgIBYv FfDWo/irPWMgMmnsOaB/aLZ477/ABWKKYvAnzBuIzaGZc3ALo1rHkOVsYCLShg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K0LFaVVu; 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.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K0LFaVVu; 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: 93E1667E0 X-Spam-Score: -4.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: uLTk3dVt7Wns On Wed, Nov 24, 2021 at 4:57 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > I can't fully pin this down, but I and a couple of others I've > > discussed this with are seeing the following behavior. > > > > With this example: > > > > a citation [cite:@couper2014] and another [cite:@kohn2006] > > > > ... the first citation is highlighted, and the second (and any > > subsequent) is not. > > > > In some way I can't reproduce, I can then get the fontification to > > work correctly, but if I restart, the problem reappears. > > > > Discussed more here: > > > > https://github.com/bdarcus/citar/discussions/430#discussioncomment-1693707 > > > > Can anyone else confirm this? > > I couldn't reproduce it, but I saw something fishy in the fontification > code. I fixed it. Hopefully, your problem is gone, too. Crossing > fingers. I haven't yet had a chance to test the latest commit, but another user did and reported: "I have what I think is this commit (b3cc2f793, the latest one as of right now) and the above bug still happens for me." ----------- His explanation of that bug, which I can reproduce on my end: I can replicate this behaviour with two citations on one line, but only when the first citation is a valid reference key: [cite:@Sno1959:TwoCultures] [cite:@Snow] Just changing one character in the first citation key causes the second to flip between being highlighted or not. ------------- So to be clear: Two citations on one line. If both keys are valid, the second one is not highlighted. If I change the first key so it is invalid, both are then highlighted. Can you reproduce that? Bruce