From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cHNsI5enjmFOrwAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 18:42:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OL0YH5enjmEEGAAAB5/wlQ (envelope-from ) for ; Fri, 12 Nov 2021 17:42:47 +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 4DFC010E34 for ; Fri, 12 Nov 2021 18:42:47 +0100 (CET) Received: from localhost ([::1]:57602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlaZa-00068a-Ek for larch@yhetil.org; Fri, 12 Nov 2021 12:42:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlaZ9-00068C-Au for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 12:42:19 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlaZ7-0002De-At for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 12:42:19 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 659D31C0002 for ; Fri, 12 Nov 2021 17:42:13 +0000 (UTC) From: Nicolas Goaziou To: emacs-orgmode@gnu.org Subject: Re: [BUG] Citations: Locator treated as prefix [9.5 (release_9.5-225-g494c20 @ /home/quintus/.emacs.d/org-mode/lisp/)] References: <87ee7nkwds.fsf@atlantis> <874k8hlqgp.fsf@nicolasgoaziou.fr> <87fss15le4.fsf@atlantis> Date: Fri, 12 Nov 2021 18:42:06 +0100 In-Reply-To: <87fss15le4.fsf@atlantis> ("M. =?utf-8?Q?=E2=80=98quintus?= =?utf-8?Q?=E2=80=99_G=C3=BClker=22's?= message of "Fri, 12 Nov 2021 18:33:39 +0100") Message-ID: <87zgq9jmoh.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=1636738967; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=Jjej0S2uFvYbFT6PjsE14Kn65TBlrgFVrM0u7431HBM=; b=gQv/WwDMjE6QZg1uF5GwwDNTQOKKAdaqm78OvRC0+jUtYRCMG96SzvuMAEl93q4T/M07Hv OKCQesgJgshEorswpwZnPJF2ldU7kA23LEiJPMqlXKkFjNFYcT/dVlPOYMZaqwAsLarc+l JX6nDr/mzme0FdvuqV62I+NtmjZNbLuvObVVqA7gobYgTU4EHrS/ilmMd399B2FMJTl8CN DKaLL/oyERULnRHlwyf1XHR/7aF09E5b5avIILZDcCsSq8nHkjgb5NZmK2m+1WAcC7LY6j ++woX7VlOEmpA+j6IXRp93artT4Syf4+XfuW/Q2P6hTsrCmbUXUpa7Vm06A7Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636738967; a=rsa-sha256; cv=none; b=SvSXEK2QAh8fGEnx1mM1rO4+qQBAc+j2CreNpyFQ3shJXHI5t29RRa0oqnSz/l5M8a2CxL 2N7K4rEo+IbXYKnXSoMt6WiiV4/m1xHaQIID9yct+3yvan2seEdSNRB7V7J17gfV4U++nn SBGsEYvAmWznDWgH0E3ZQQIzWHHDKaClGK0A9QxvDLy1pBhfAW9DoP7PofIlK9rlC2R/w9 wHppKB7U84UTwNFusUNEhAlAKFXa2KQV9iZp+RsuSmeLQAOPpmWlJbf1dpT3r1GT6vQEIq CX4w+1F2XLN178KdpTratVN7QDAPrK6Uqtbu9Krb6x2C5uJYtcxwDo0KyXtaFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 4DFC010E34 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: NtIKXPNqdgrD M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: >> I don=E2=80=99t think it is reasonable to expect this variable to contai= n every >> identifier in every language. It may be a good idea to turn the variable >> above into a defcustom, thus. > > Probably, but I will leave this to you. Just using the standard > =E2=80=9Cchapter=E2=80=9D selector resolves my problem here. Good. I=E2=80=99m not sure but I think it would be more natural if locators could be expressed in user=E2=80=99s language. I will let actual users chim= e in. >> Meanwhile, you can test again after evaluating: >> >> (push '("Kap." . "chapter") org-cite-csl--label-alist) > > Interestingly, doing this does not make it work for me, the =E2=80=9CKap.= =E2=80=9D still > is displays at the beginning. Indeed. I forgot to say you also need to re-evaluate =E2=80=98org-cite-csl--label-regexp=E2=80=99 definition (in "oc-csl.el"), i= n order to refresh the locator regexp matched against. Regards,