From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EMbuCGQZoGUoDwEAkFu2QA (envelope-from ) for ; Thu, 11 Jan 2024 17:37:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eA6JBGQZoGVcTwAA62LTzQ (envelope-from ) for ; Thu, 11 Jan 2024 17:37:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=JKdjrA6G; dmarc=pass (policy=none) header.from=williamdenton.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704991076; 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=9M0pFIjlpXHS7Mr77yaqicrazDq77TueKEe6FRM4T3w=; b=DOZfapL3SawuRPO95XFijmVix4zi4GYv7VB7daZWSEqiTMaYU3hXB1SfS1/REFv+jZol1w xRF7Az1kK64DeLRrU1cNoFfQIq8xozFWjDvRoobRFkltQ6RKRRUX6Vlji96K8CLQmT5ZOO kZu036ghCBNpZL9n6BKyzfqfkhnv+EOZGTii4dULzrWsnZSxeYTK86MRjI5/LRTETFvxWN 2g4cCjfkrzLUziSMcZ/QZM3kskmd749T2jhdQkXXc0E7IWm0P26krUOne96/OSYBjQL0gQ Uj+a72Oyw/Did+Q9nnmVGPSIn3v4fnERWhXiXuVSuqcBEJzWyrQ4EQX7WhUf6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=JKdjrA6G; dmarc=pass (policy=none) header.from=williamdenton.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704991076; a=rsa-sha256; cv=none; b=rnNsmlvoJO97Mhi6/XXe+KPjE3q7c1QOqmbEWog+L1yZb1A10qvbAVIBUq5EhclmlbXdtc GDexKGufkxizaSRTZNtFWcrEjmfDpbIz90+iYHCXFuAugAUP35dXS22yAUfhyHGNYGaPg+ QyJWRTkOD9cI5YWt5Ob0SSd9TJZ9rbFcGKNrsFXSfiNH2Pk7RNDbR0E5aauNYuhfra27E0 GWnl/Hiqd/R/Jm/uasLDizs/oSr0XJo+11iDIKY4bhuD3M/RT07+TGdMEXoTLaQuKs9IQm qtcBMBssZ6954bdoOPOqy3u3P7H4p52XerKaUTVBcaATc3gkPmTM0U67WMGv2A== 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 8321D161FA for ; Thu, 11 Jan 2024 17:37:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNy3U-0000cu-9n; Thu, 11 Jan 2024 11:37:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNy3L-0000XK-JR for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 11:37:12 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNy3H-0006sZ-9S for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 11:37:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail; t=1704991022; x=1705250222; bh=9M0pFIjlpXHS7Mr77yaqicrazDq77TueKEe6FRM4T3w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JKdjrA6GskxN5ir+rF6g5q0RwxUtMg5wmnMcZ9GOWy+GkuoOdOSps9m8IbMYXniMk nGCgI5FDIMP6zfgxzBXmgwCYIsB2V6nJlz8Zw5KlS1nzwEJDg6ZXCL3tAI51hQBY1H R9GNiw/V5GCrVHkwxj3isys3xM6grP3tGeUjUY0DyxI4zBoVTllrb2UpjDUq4a0jaX K515S0BIJkJUJTA0OuZmHm8i4aF72zGtCZbO2gaRmweHvbzDOPfX4kBGSAXAjMd9b1 MS+B+hTN7jHBGLsN7K7T+K3HdVmpBlICX+y1+TxgiWhtJOwuqkZ8hOBU2cVhYLUhxe /lsOBtvoVM5qA== Date: Thu, 11 Jan 2024 16:36:55 +0000 To: Ihor Radchenko From: William Denton Cc: Emacs Org mode mailing list Subject: Re: Basic citations: should default citation style have a name and style code? Message-ID: In-Reply-To: <87ply8jbh2.fsf@localhost> References: <87ply8jbh2.fsf@localhost> Feedback-ID: 95794763:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=william@williamdenton.org; helo=mail-4018.proton.ch 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Queue-Id: 8321D161FA X-Migadu-Spam-Score: -3.64 X-Spam-Score: -3.64 X-TUID: YvJMSVoyyLk6 On Thursday, January 11th, 2024 at 07:30, Ihor Radchenko wrote: > > As far as I can tell, there's nothing that can be done to the first > > citation object to make it use the "default" style. The > > document-level setting makes a new default, and because the original > > "default" has no name or style code, there's no way to get at it. >=20 > You can just use [cite/nil:@friends]. Huh! Thanks, I didn't see that at all. Looking again at the definition of= org-cite-basic-export-citation in oc-basic.el, I see the doc string says, = "Export CITATION object. STYLE is the expected citation style, as a pair of= strings or nil." And then there's a section below starting: ;; Default ("nil") style. Now that I know what that does, I can sort of see what's going on. The sam= e thing is in the CSL code as well, so it's all making more sense now. Thanks, Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada >=20 > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at https://orgmode.org/. >=20 > Support Org development at https://liberapay.com/org-mode, >=20 > or support my work at https://liberapay.com/yantar92