From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wOrBEHPdwmKIAQAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 14:30:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4KSwEHPdwmJbXAEA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 14:30:43 +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 ACDE58B58 for ; Mon, 4 Jul 2022 14:30:42 +0200 (CEST) Received: from localhost ([::1]:40438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8LDs-0002K4-Tk for larch@yhetil.org; Mon, 04 Jul 2022 08:30:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8LAp-0000Ae-1R for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 08:27:31 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8LAn-0001E4-Hs for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 08:27:30 -0400 Received: by mail-pf1-x431.google.com with SMTP id 128so8809906pfv.12 for ; Mon, 04 Jul 2022 05:27:29 -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=/w77Ktel4mDKi9IwoHUigTawoD+T4zfejJ/wQVqF3h4=; b=HvCc74URWLmLOuvqNAONzfq90tD0YwWgijoItEcRXMb9daQhogpzc3fCzn5felZG7Q 7JjY84US7LrKph66j345M4viFvJ5wKrUu6KZNXcgqMSE+Bqr5AfOu2VBrqgpYM2clewG g09e22PGl7Bu3kuYAM2oy/qck+a2XjG8M9r++mcJP+ScdZY/iBvE17L0QKoaSEepKp1V lcdmw/o4COjy5zvYIVSbtIm+s0S83uoVP2xT4eQP9WX/pBPA9vEEJhTIY80zWZERNxgY Qei1Z1HpXtIQ/TJLvYkly79PPNnqZ9m5x1A2QVtnGLBciatshakFRtLamaIlWIKcV7J9 yHvw== 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=/w77Ktel4mDKi9IwoHUigTawoD+T4zfejJ/wQVqF3h4=; b=lhzlX6gAAYPV7iMNB2omLYPyJw7NpxrPnX7+QdKOWjXSZ2PW8IJHHK8eOZ9S2wQSQY CRkxQXiTcWqUSPuOVM4LpFLsxFRu2ExwVpxMPgEqEsf722dluxbP7yTLtZkGq0QdKG/5 vzFY/Y1oGNwExCa4SsUh1h3WQ374kxcVUkar0N+J+YU7nPAKc1SY7WaHwT/y1OOKsc7/ u/sU1xo4BGi/fXbG1mHg0ufh3IQixO/fB7L7GHDtOFgLl5dPxzMFacjf0XjIuK0aIscR J6Cf8WgVYz/GCyuHh5FcG1ZCewqENNfBiyvwvR5Y86OkJDhVJDUeRgnccOaNP8POdzPG vzvg== X-Gm-Message-State: AJIora+WlqeTKZYQ9yZkOo1faM1bRPNHRTPi/2rPOiWVGB7pTIAgP4gn VLExQizFVvDmYMYZNIIoQNk= X-Google-Smtp-Source: AGRyM1tpfG/9lpwM8DrLeX1m+wDHp3wAs/7OPglx82Ws/+3cJl6u944/B7a7801OIk4O+8mG4SPrXQ== X-Received: by 2002:aa7:9206:0:b0:525:1068:c026 with SMTP id 6-20020aa79206000000b005251068c026mr36962633pfo.52.1656937648043; Mon, 04 Jul 2022 05:27:28 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id ij7-20020a170902ab4700b0016bd8a76f67sm3683015plb.67.2022.07.04.05.27.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 05:27:27 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Cc: John Kitchin , Bruce D'Arcus , emacs-orgmode list Subject: Re: [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations) In-Reply-To: References: <87k08wi0wu.fsf@localhost> <875ykeh0gi.fsf@localhost> <8735figyqk.fsf@localhost> <87zghqfijk.fsf@localhost> Date: Mon, 04 Jul 2022 20:28:36 +0800 Message-ID: <87zghpm58r.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::431; envelope-from=yantar92@gmail.com; helo=mail-pf1-x431.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=1656937842; 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=/w77Ktel4mDKi9IwoHUigTawoD+T4zfejJ/wQVqF3h4=; b=FLf48O0hLpA/x093VFC0wsQto8Jm7exZ/xHy3pnIAQCEXvttbfz5KShalgmuS7mWh7iiwv pMqfBmLtflywY3ujUP2duDH7TkCMO2zLusHRWHawsozMY2M/X0Drif9MeuFIka4gyc9BxP n4WRQB7nS8+LSiGkI8qJTmcnhwfD4mSuFR5xXQO95oeApox8rir2SXpv1rnjcgerkExCjl dCtLZ3rTBsDhy2PLF9oAbAGpIBHvrojSLttHKuHvKvGCgOScQ7eqFZhhKWRIVmEvqa6WS0 ymxi0qxJuo0J5mKKxm5qwDrwuiaIZSQmpngUWdvncEzz7+ALWqjEJO5luJvVHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656937842; a=rsa-sha256; cv=none; b=m9X8kJ2txhL7u94rEmpmkngY81hFLma8EMSAXMrCMiXEaXfpi5UDeH4Y9K/pLRceG3P+fq YcxIv911ascFW+T3OuLKrf5dSyea6dv52wEPXqwOsKArXLI7i3FAuX59lT3PtPwSqHiHhN cXiZ8aSkWxlzVepLPSMD8RhmX26veku0F9Sr3YSUjCNsZmag5iprv3SsotvVcHJj/ElXUo X6Y3xjP1kZEAfpgp1OLcrvFviD+K/hBvnF0hiT8/zVl+LXoJ+JgEkwdHcDx9ItK3tKKsx6 SF0M/4x6ZZTGPfPSQTasDzkXHjEZczsvZYhjayZMW7HXpZOEcEo5pmb1py/zJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HvCc74UR; 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: -7.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HvCc74UR; 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: ACDE58B58 X-Spam-Score: -7.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: mfmG1qMc4LuN Andr=C3=A1s Simonyi writes: > I think that the problem with simply adding one or more new activation > processors with different fontification for the "*" key is that Org > has no way of knowing (at least for sure) which export processor will > be used for a exporting a certain Org buffer, since it can depend on > the chosen export backend (see the variable > org-cite-export-processors). E.g., org-cite could be set up to use the > "natbib" processor for "LaTeX" export and the "basic" processor for > any other format. I think that it'd be more in the spirit of the > "basic" activation processor to be more permissive and not treat "*" > as an error, similarly to citation styles not supported by the "basic" > export processor but supported by others. I do not agree. If someone sets up natbib for latex export and basic for other formats, "*" will not be correctly exported in those other formats (because basic does not support @* syntax) - something fontification should better highlight for the user. Also, are there any similar non-key constructs in latex in addition to "*"? Best, Ihor