From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eJjjBiG8oGGGUQEAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 11:51:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sAB6AiG8oGFNQAAAbx9fmQ (envelope-from ) for ; Fri, 26 Nov 2021 10:51:13 +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 CE8681747D for ; Fri, 26 Nov 2021 11:51:12 +0100 (CET) Received: from localhost ([::1]:43324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqYow-0007fX-Te for larch@yhetil.org; Fri, 26 Nov 2021 05:51:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqYmY-00062j-Az for emacs-orgmode@gnu.org; Fri, 26 Nov 2021 05:48:42 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:60105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqYmU-0006zb-Pl for emacs-orgmode@gnu.org; Fri, 26 Nov 2021 05:48:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B5CF21C000B; Fri, 26 Nov 2021 10:48:29 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: [oc-basic] fontification weirdness References: <87ilwhqks1.fsf@nicolasgoaziou.fr> Date: Fri, 26 Nov 2021 11:48:28 +0100 In-Reply-To: (Bruce D'Arcus's message of "Thu, 25 Nov 2021 08:11:02 -0500") Message-ID: <87zgprp4zn.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.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-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, RCVD_IN_MSPIKE_H2=-0.001, 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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637923872; 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=k/boDoxD7JyhD1hh8CAgusv2t85fAlEkL85M7qAM1ow=; b=i4ePzSUYG7rrX0MBIFtZXr2+xXEW1gBoQvj5oMNBCx9SRXw+SmsZ5GhnHwT16Q45O6u5E0 t7nno1YFKtVmvM4QtAOJJuRjJ91dndZg9P6J2MNYnIGJBxwxrk8Pq7jeANpyohU2RHeqQC pQHyEhELAlSu9xXei7+q2gls2bvHbsBCe4ImdJKEOYhErsRjvgDVAxC4fN2TijPHTIA0d+ WdrNa74qf0u1RSqVwzGnIrNuzCH9FwUfgaA63nN8YiwMThMWXYQROUGukGh5+04GTq0PYl R/MVUEVh/lTsKBz5Zhoc3DW1tCCca7b1TknpqAUPiyP5iFWgjJnw8F4OtYKt0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637923872; a=rsa-sha256; cv=none; b=XE3X1gsYfdufBjHt+OF2+pj3xLpgoDd7AnAM2hfa09Xe5ah7vgFKliFguOEhdAm8JYFHL+ yWG/HrS0bx9hlzXAsHHMJXncRNXmGbAeuJhs8JZbS6RoaQVc+RH553LT1qg5DoLIAx8BGx 1rHd3IXiorNAHPABLda9gMBOtQ4YYMFV9hl+HRFaj7hcgXwr6WQV6ephnaBFAjz3Jtg+xY rl04EosCSsXSU9PXqZQDBrMCvkp2q1Q7pE1Pb2BrDSu7HsxnOU98X9GBC7TTYpQb5KabSD m0iRn64cDeHBFdjUZ+iKg2JZtbAsEfN2Lg6aW6Ukw791glGFNQMoOzHrGfDO/w== 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: -3.00 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: CE8681747D X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: OyhNKU5RaBNC Hello, "Bruce D'Arcus" writes: > 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? I reproduced it on a fresh Emacs. IIUC, it stemmed from the fact that fontification required "ox.el" to be loaded beforehand. It should now be fixed. Thanks. Regards, -- Nicolas Goaziou