From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YGRWJriopmJGygAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 05:02:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sM87JriopmLcHQAAauVa8A (envelope-from ) for ; Mon, 13 Jun 2022 05:02:16 +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 160DB2D8C9 for ; Mon, 13 Jun 2022 05:02:16 +0200 (CEST) Received: from localhost ([::1]:55748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0aLG-00086H-KY for larch@yhetil.org; Sun, 12 Jun 2022 23:02:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0aKp-000869-5c for emacs-orgmode@gnu.org; Sun, 12 Jun 2022 23:01:47 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:44549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0aKn-00066i-4N for emacs-orgmode@gnu.org; Sun, 12 Jun 2022 23:01:46 -0400 Received: by mail-pf1-x42d.google.com with SMTP id s37so1917884pfg.11 for ; Sun, 12 Jun 2022 20:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=BlRrHdqbI3gCVWXH6ukdxPuSRovy1AaHnvegqJKBAK0=; b=CvtAZk/S6tFNH/a/J7MseEAPVB+4SoHwOW5FQu0RKRwtf7O+J3v5B7wK1IpYOAJmN0 fc76f70qAH+ERwT7dwCxIZ/GGrOlxOORydaHM/Be7YYEDHAbouPT+JP9TqnjQbVgmA8H qMHIvZfPR25osD2cXZItvKEKBQ1Z0xSEhh/9Hi4djR08u+Vg3hPy4Kia6Zyfh8IkqRE1 O7Rl8AnFD6gVsnjtCAGjXEya9OhZnYAs00Y67XvBuTpPRvTRUpuJIESuItQikDDmOGrS a1b2yM/iPoRPl+WbVrfhmvlNW9S4qw/8owmMipd0WkyMbx9Jvvt0RXMRiJxRLnluqysu bNxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=BlRrHdqbI3gCVWXH6ukdxPuSRovy1AaHnvegqJKBAK0=; b=t2TbcYQjkW6cpKiomXKhrtVCk5TqtrIw05Jd2ANevqLOn4X1ksYHzcl8G0W3TV11hb lEpO7Oc5Zs/zV3rKzIjcVJD9sFIDdibVHsWAqy7anV9H1pxrIgZRC/N9FDa/rUbGQXax em7mSQX2LVCD/QUjNQS8vtWEvz0GVo2+Lu491ScwFqeM6N7SBdTlPikd2HQRu0tDaPmj HApBfkdzKWGZg8JbP2w6krx51t1ChsY4QhhrOmyGI5lqqRofkGbvd8hwus3Whiko7Vyf 6mL0WHn0K3XrUmjhmKDbVqKgeDWj17jSnIBTfzXaL/j6bznDRg28hRq8TRfQYdtz9Luk 5+Rw== X-Gm-Message-State: AOAM5310eutEP8N2AKuVdvGwdjNNrDEjFB1EO7oF0qr9QylUMrXW2QiW cIN4bLucl0P8B6EWX02qjttEN/ufRT4= X-Google-Smtp-Source: ABdhPJwJCp8KFx3mHVNm9Ez9KUuKzN6GCoW09g38J+n4ea9ZB36dWYBMtMnHNO2xWR15WmDPEso0eA== X-Received: by 2002:a63:65c7:0:b0:3fc:85b5:30c0 with SMTP id z190-20020a6365c7000000b003fc85b530c0mr50858999pgb.165.1655089303431; Sun, 12 Jun 2022 20:01:43 -0700 (PDT) Received: from dingbat (2001-44b8-31f2-bb00-8622-f08c-6751-b8f0.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:8622:f08c:6751:b8f0]) by smtp.gmail.com with ESMTPSA id jg19-20020a17090326d300b00167729dfe0bsm3743838plb.168.2022.06.12.20.01.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 20:01:42 -0700 (PDT) References: User-agent: mu4e 1.7.27; emacs 28.1.50 From: Tim Cross To: 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, 13 Jun 2022 12:45:35 +1000 In-reply-to: Message-ID: <87pmjduuzf.fsf@gmail.com> 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::42d; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42d.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, 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=1655089336; 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:dkim-signature; bh=BlRrHdqbI3gCVWXH6ukdxPuSRovy1AaHnvegqJKBAK0=; b=O6vA+K2gHiQmrUeU8jpzc2qQahh61acHli6I374HECYhePa2oOEDjEhCZId5nOhhFht6Vq CHyHzGO8pMCBz7cdJ7bHKvBGTGW+QDjyKx6tzOq1RG95Nggt+VFTeA3r61x1WAmUUDkPYU NOXpfSot3Xdv4pHmjUbEqHJLIllbGtP1DROOFasv4iQua4lu7yDPCKO26gOhRiL7DyKw3l SEyM9tVg1KwS6sgaa5INVe3apkkGlFlr3rACSSwwVAQ9qc8jaQy+DKQDlqmwWjrfUo0C1H eDsNU80AUfTwI8jad+tHbYV6NQpMWu3e0T2skBz3zw2jPjqROyxc/C60aW9Kfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655089336; a=rsa-sha256; cv=none; b=lVe2VqUSCHmLXGw2jKJ1b5k5h6hL/gUyXHg9vifzL5AvTGI2pGUmnBW86sEvXvSwTf0NjD 38bzIBUpCs41TdMPlIC9+T+IHSYKDkM/532ovJiaPB5FpNW3iv24vDmTlHk+KagsXGaZHQ MXHWLztL01bnG31BTbznz3MuUa/5/0zsQau5YAMcLBO8bzpsgA1Qy0ov+pPOZAFOQwj9Yp THQOl5jBA29phF7DwpzQraHZ/VmfvtJRy2/IF9hToQkV41es7TfRpizoTUvEWvAOzZ+qL8 0HVyT1049XGu9AuL9DQQNNlpuSY+ZeI8nVlilp43kLfjNDASZEIENNA35Q/aSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="CvtAZk/S"; 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: -6.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="CvtAZk/S"; 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: 160DB2D8C9 X-Spam-Score: -6.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: tg9m+Qi+YYQ9 Confirm. I am able to reproduce this issue with=20 GNU Emacs 28.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-29 Org mode version 9.5.4 (9.5.4-gc02c0d @ /home/tim/.emacs.husky/straight/bui= ld/org/) I also feel the manual page could be improved as it doesn't actually mention setting the html-postamble to a string (that is only mentioned in the variable docstring). Pierre Balay=C3=A9 writes: > I am using html export feature for org files and I want to change the val= ue of html-postamble (see [doc] > (https://orgmode.org/manual/HTML-preamble-and-postamble.html)). > > Here is the `index.org` file: > ``` > #+title: Home > > Welcome > > #+options: html-postamble:"TESTSPACE" > ``` > > When I export with `M-x org-html-export-as-html` everything is all right = and I have the following at the end of the html produced > buffer: > > ```html >
> TESTSPACE >
> ``` > > But if I add a space: > ``` > #+title: Home > > Welcome > > #+options: html-postamble:"TEST SPACE" > ``` > > it raises this error I cannot solve: > `org-export--parse-option-keyword: End of file during parsing` > > Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scr= oll bars) > of 2022-05-10 > Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/2= 7.2/lisp/org/) > > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-con= figure-edit-buffer) > org-link-shell-confirm-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-html-format-inlinetask-function 'org-html-format-inlinetask-default-= function > org-odt-format-headline-function 'org-odt-format-headline-default-functi= on > org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default > org-mode-hook '(#[0 "\301\211 \207" [imenu-create-index-function org-ime= nu-get-tree] 2] > #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook org-show-all append local] 5] > #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook org-babel-show-result-all append local] > 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)= "] > org-archive-hook '(org-attach-archive-delete-maybe) > org-confirm-elisp-link-function 'yes-or-no-p > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\= n\n(fn ENTRY)"] > org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] > org-babel-pre-tangle-hook '(save-buffer) > org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header= -arg-expand) > org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTEN= TS WIDTH)"] > org-agenda-loop-over-headlines-in-active-region nil > org-occur-hook '(org-first-headline-recenter) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-show-empty-lines org-optimize-window-after-visibility-change) > org-speed-command-hook '(org-speed-command-activate org-babel-speed-comm= and-activate) > org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-fu= nction > org-export-before-parsing-hook '(org-attach-expand-links) > org-confirm-shell-link-function 'yes-or-no-p > org-link-parameters '(("attachment" :follow org-attach-follow :complete > org-attach-complete-link) > ("id" :follow org-id-open) > ("eww" :follow org-eww-open :store org-eww-store-link) > ("rmail" :follow org-rmail-open :store org-rmail-store-link) > ("mhe" :follow org-mhe-open :store org-mhe-store-link) > ("irc" :follow org-irc-visit :store org-irc-store-link :export > org-irc-export) > ("info" :follow org-info-open :export org-info-export :store > org-info-store-link) > ("gnus" :follow org-gnus-open :store org-gnus-store-link) > ("docview" :follow org-docview-open :export org-docview-export > :store org-docview-store-link) > ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) > ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete > org-bbdb-complete-link :store org-bbdb-store-link) > ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") > ("shell" :follow org-link--open-shell) > ("news" :follow > #[514 "\301\300\302 Q \"\207" ["news" browse-url ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("mailto" :follow > #[514 "\301\300\302 Q \"\207" ["mailto" browse-url ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("https" :follow > #[514 "\301\300\302 Q \"\207" ["https" browse-url ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("http" :follow > #[514 "\301\300\302 Q \"\207" ["http" browse-url ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("ftp" :follow > #[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("help" :follow org-link--open-help) > ("file" :complete org-link-complete-file) > ("elisp" :follow org-link--open-elisp) > ("doi" :follow org-link--open-doi)) > org-latex-format-headline-function 'org-latex-format-headline-default-fu= nction > org-link-elisp-confirm-function 'yes-or-no-p > org-latex-format-inlinetask-function 'org-latex-format-inlinetask-defaul= t-function > org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS= )"] > org-html-format-headline-function 'org-html-format-headline-default-func= tion > ) > > Cordialement, > > Dr. Pierre BALAY=C3=89 > > ______________________________________________ > > M=C3=A9decin de Sant=C3=A9 Publique et M=C3=A9decine Sociale > AHU en BIostatistiques et Informatique M=C3=A9dicale > Doctorant ED446 | ULR2694 | CERIM | CHU Lille