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 yKp0E9MsX2PnyAAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 03:02:59 +0100 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 CCl6E9MsX2PNjwAA9RJhRA (envelope-from ) for ; Mon, 31 Oct 2022 03:02:59 +0100 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 DFCF02630C for ; Mon, 31 Oct 2022 03:02:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opK7i-0006US-GP; Sun, 30 Oct 2022 22:01:58 -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 1opK7U-0006Pm-CW for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 22:01:53 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opK7R-0007MN-RZ for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 22:01:43 -0400 Received: by mail-pl1-x631.google.com with SMTP id 4so9567529pli.0 for ; Sun, 30 Oct 2022 19:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=WKQXK3HZuI8F49d7c9Mirm37tj/4UWIhuWUOvi5Fskk=; b=BRBiQ7VILY/DGnKVwWzbnvoOaijkk2hHUOA1xlPBmydYsr+RMVNlqg6IRISfHifGNJ mbxSsJm+63SDerIUJpoeXfzJXtbZ85PW/8WlksNI1BmQ8DPi0E143sfPVctMdfuOQH1u idNuHzkqczsemM3k3vuAyUF/7xuLwz6fAEqSr6gs4tj1DeH+wMz44Zv2Ex7V7vb5T5XB zLoPfltTcqDh7Tqjmc4x+xFb67ljj8HqB4DKB33Bd16dsF6xA3PafHMbF5PMrihqMqzD PIEizkhWKCV+bXoOalX+UO0mqp7oJ43XL13Gz+/JJWnJgo/g2xoydRnvO2IM4k7rcxA1 tH0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WKQXK3HZuI8F49d7c9Mirm37tj/4UWIhuWUOvi5Fskk=; b=v4M+AQ7kGmv4NsE0eLvAI9GUyDCYoAYF5nG5zQ7a3WkXWwN1/ePQ3J3t1R0+4CVe/Z s8wEdOy8vyqzNnGlVPZ7vt2jwELCoqS6RB7c6vJ0VoGOfhcDZCBCQwfthWahcU8tt3io WSbtGWUcDD5Tdji9yncsJhVNED5fHFUiu5YAfwK+m+0VJjvhHBqcsbBY5bEEU+80yFWF LavdzUccbkfZlC4HIqf8N4XkQ7dsqDLRGsNuJbqcnIZLWor62vg3twrzwMb0VjqKlJn6 hmaieRtL/Tn2RZfHYLlBwJcQN8thXL+TG6Ehh4L4JBYWBo2oqnNynMprWoaHauEEq64X 0lIg== X-Gm-Message-State: ACrzQf0MsHFxOJwy0Jlm/zyZoAq7f8A4azJXFxgIqTFIru84u9D2eDuf iEoNYZZS1uRU5mpB4RCPsO+BAlWjCyo= X-Google-Smtp-Source: AMsMyM79Ad7YhOxXr8jRrC0Y8VVqTrLBdOjCK44TAY5MzMwcOVNEhWgTp7FIR5ulsJrhPDYT+Z+9ig== X-Received: by 2002:a17:90b:48c3:b0:213:b5ad:742d with SMTP id li3-20020a17090b48c300b00213b5ad742dmr9291498pjb.172.1667181700006; Sun, 30 Oct 2022 19:01:40 -0700 (PDT) Received: from dingbat (220-235-181-183.dyn.iinet.net.au. [220.235.181.183]) by smtp.gmail.com with ESMTPSA id c142-20020a624e94000000b005672daedc8fsm3263217pfb.81.2022.10.30.19.01.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 19:01:39 -0700 (PDT) References: <87pmjduuzf.fsf@gmail.com> <877d1ckqhp.fsf@localhost> <861qqpc5p1.fsf@gmail.com> <87cza8n5wm.fsf@localhost> User-agent: mu4e 1.9.1; emacs 29.0.50 From: Tim Cross To: Ihor Radchenko Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: Bug: html-postamble string does not allow space [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/27.2/lisp/org/)] Date: Mon, 31 Oct 2022 12:54:50 +1100 In-reply-to: <87cza8n5wm.fsf@localhost> Message-ID: <86wn8gbvk0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x631.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org 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=1667181779; 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:dkim-signature; bh=WKQXK3HZuI8F49d7c9Mirm37tj/4UWIhuWUOvi5Fskk=; b=phRrU0w0zM4nI79Mra14x1CaUrd+R9kljzAZC0T63/p0biM65/e+3aote/7Lt0x/iMRDfw tA1xl5cfDqZ+E1t4cPhlO4r2Dd/U7X0jR7J24brekybOt3cLIwY/RK46jfzaGfxZclg+Ed gmQyR6aCHUjGnEd/h3ARgrDzafK7ZzLnBy5qqlpcXHLg0O0Xy4fOSPRyeFNeFjurT8ByhQ wXJ4e4u2vl5B2wvWSuE48qDOcPpRU7pRezqHjeGTOoYXQmNpp8NFFRv4t9MynR5/dZDu2b /fgO0m7YL0saKFGG1SmOvMes7XJ9e3SXfSZLC/kynUvysXMMAKfPeVggsujIiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667181779; a=rsa-sha256; cv=none; b=OvNy7GA12YDZ94E2mYUpXc6G85nO3ekW/O9Kb4Y163QSyZBCfv7A4zoiLhNOzOQZXXw/EN IEoyQGS23uTTleHCIkzYXXs6jobTbu8WCzL6PgqXRpDecuVJRWtwLxXKqa31jAH9WM0R7D thj7YNVdDREKTCl54tZNVU7MK1XVYV63evLC745IAGrmAZDDbA3yBySYJkB18Yy5IJB+j2 DrpS+rymSXJ/20pDZiZktuSV9eM80903SOvPfTzdFTZxxjjytxOZWjCveoOnwk/fhECzae fgtuvRXuBNkT8OhOrOHTSKYyu1vMZxOoTqQ2ObXcabwLUY9N04jFabpgSbDX3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BRBiQ7VI; 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: -5.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BRBiQ7VI; 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: DFCF02630C X-Spam-Score: -5.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: g1d4mSDht7R4 Ihor Radchenko writes: > Tim Cross writes: > >> What probably needs clarifying is >> >> 1. mention the string option in the manual > > It is documented in the manual: 13.9.4 HTML preamble and postamble > You snipped out the relevant paragraph I copied from the manual. If you look at it, you will see that it does not mention string as an option for org-html-postamble. Furthermore, the previous paragraph, which talks about org-html-preamble, which does mention string, states that if the string matches the name of a function, it will be called 9and expected to return a string). This is not mentioned at all in the doc string for org-html-postamble. Therefore, I still think there is inconsistency between what the doc string of the variable states and what the manual states. There is no mention of function matching against strings in the cod string of the variable. There is no mention of string as an option in the paragraph referring to org-html-postamble in the manual. >> 2. If spaces are not allowed in the string, clearly document >> that. Currently, the doc string just says that if set to a string, use >> that string as the postamble, which I think implies spaces are OK. > > They are allowed. It is just #+OPTIONS keyword that does not allow > strings as values. I have no idea why. This is all an aside to the actual bug, so please don't miss that (unless it has been fixed) i.e. a org-html-postamble string with a space in it does not work.