From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KGHXEl1su2ah4gAA62LTzQ:P1 (envelope-from ) for ; Tue, 13 Aug 2024 14:23:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KGHXEl1su2ah4gAA62LTzQ (envelope-from ) for ; Tue, 13 Aug 2024 16:23:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723559005; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=qizJduj0ivBLPJ0p+bxDuwYaF+ffPz9dWGP0k/5KEUQ=; b=PVTJYce0ewEO6JFAG3oKwJVD2IWJ6JYS16+B4Qw3/MmBL8ksBEdmJqgZ5aJ6n91QCEknpk C0FmeO5GKmVnOaczaJIxB9SVgwnNwCUQ5zEOhvCxmEFZvIXGmc/PXttHhz+qSNMNEL0yKe 248Hmatm4fpaE35viuOmFBByUSHQtI5uVHhYJfIygYVBPGZgFJ4pDJbwcG/Q2Uc89jgcub vVtTkdL0ALNzrhib/KHLCJ16/mnGAWIv2dXzlYgjucOO/YYASJQ3eRMTRrLIkHetf9E4HW V5MeViEmyJKJF51kApiyNX/OZT6EGH9qD3Dnc1d5U6nIuK6G++01ehbzcswCKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723559005; a=rsa-sha256; cv=none; b=NAzYUOssVuKTPq9TxvcVPrR/wR42ktVWd8bEsDxVv1PWiumgq46h08/qjNl60TmRa2FQMY Q1PuCbikSGEzUmaCc06I7xdLBh2uUvhDdPfnior/HdCreTi/EEEqVNJa+maChYIaw3Ru3e gv4Rl3rpSObsHhGay5gDrsdVhFyLR1gSIHeNT3lajw5H/DUKSK7Vpm2IXro85Kdm8Wk9zj 36B5sVsmMw5mtO7HOiL6UHvAwZmrn8Ml6gNaDFc+A5GHWz0ADHJueQcCCfp20JD4It5m3y 7uiH05eAGVauVG9u7coto0cjyV3umfqrV7wMCc8MquubldP4EYF/e2gISvCVzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" 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 C747867DE6 for ; Tue, 13 Aug 2024 16:23:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdsPv-0006pi-37; Tue, 13 Aug 2024 10:22:31 -0400 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 1sdsPs-0006pN-Mh for emacs-orgmode@gnu.org; Tue, 13 Aug 2024 10:22:28 -0400 Received: from k-7.ch ([185.31.100.96]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdsPq-0004HD-Vy for emacs-orgmode@gnu.org; Tue, 13 Aug 2024 10:22:28 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 8D83DE7E03 for ; Tue, 13 Aug 2024 16:22:23 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Org mailing list Subject: Link between org-publish project options and org-export-options-alist User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 13 Aug 2024 16:22:22 +0200 Message-ID: <87jzgk1p0h.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch 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, 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-Spam-Score: -5.56 X-Spam-Score: -5.56 X-Migadu-Queue-Id: C747867DE6 X-Migadu-Scanner: mx11.migadu.com X-TUID: 8JY+aQKSPE1+ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I (continue to) develop a custom preamble function. And I try to found if there is a link between options set in an org-publish project and options set in variable `org-export-options-alist. For my function, I have defined one new export option in the variable `org-export-options-alist`: (add-to-list 'org-export-options-alist '(:html-doc-name-template "HTML_DOC_NAME_TEMPLATE" my/org-= html-doc-name-template nil)) This options have a default value defined in variable `my/org-html-doc-name-template`: (setq my/org-html-doc-name-template "") But, when I use org-publish and try to retrieve option ":html-doc-name-temp= late" from my custom preamble function like this: =E2=80=A6 (plist-get info :html-doc-name-template) =E2=80=A6 If I do not define the options `:html-doc-name-temple` in my publish project options, I get the value `nil` and not the value of the variable `my/org-html-doc-name-template`. Are the options of org-publish independent of options defined in `org-export-options-alist`=C2=A0? Best regards =2D------ Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAma7bB4LHHNlYkBrLTcu Y2gACgkQtYb3x3I54p6S3Q/+PuvCnFTchdTzbx2/HnV6zrX0LrBko2yTqn77wvMQ RiKcD8I+gacp/w4z/nl9+OXpllm8wb9A1i95JGkRj4e9ZTEJQ+x0vovggQAPD80i iGxYMKstbbG4Czd7Zo87hd2FepDXStK4DK0ctbYTtZ0TxEKYs/Y+NRyXJS5IaAIX k0RTZ5DchorDXLhcTpjf8JssVLSWGdXR4eXO1SDxg97enI9ZnN16BucHBuywEUvH RJnHtWABpw4knJk0JMOyywPzf4j9OHy2rnzrw3XdH7+/QwEYdA4qP3N4UxFzvyuA HxlWGQKRdQgXBW3dEZpdxcpSJMIacntRPIzhiGDrJWhy1IEZtFZJEHTzXUSCMrnn S5MMrIcPfNjQEEu3Bevju+EW/WaDypwM3rFkgiu6YEdwo3Vy1r0ReC0F6Txzp42+ x1Bj3b3HelR8ztUzMHHaaZNeWSX9tJukoBrPa2tl4uRklNpmip7+U7hCmENGtXGG d+L+69LoSkpX/Im5Hler3u1F+3cs7adK5cTSA8Bagj3wEvN6HJcC+Tia0WGpNV0l cNmNo1TfW+ESvDqjxTzbjm2KOfMjvH1OgEmCzb6yixGGNYijMUuMOfSGgpJEFtWw FQ8xrIY1d+z6MfjtnLtpgFMCEnZ8/1deXRT5m0JIvEDF9SL8FIEPDFufZgzcks6d NJk= =AS95 -----END PGP SIGNATURE----- --=-=-=--