From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +ASbA235XmM33gAAbAwnHQ (envelope-from ) for ; Sun, 30 Oct 2022 23:23:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gDnUA235XmP16QAAauVa8A (envelope-from ) for ; Sun, 30 Oct 2022 23:23:41 +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 A622DA25B for ; Sun, 30 Oct 2022 23:23:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opGhX-0007Fy-9j; Sun, 30 Oct 2022 18:22:43 -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 1opGhW-0007FQ-27 for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 18:22:42 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opGhU-0005jL-0v for emacs-orgmode@gnu.org; Sun, 30 Oct 2022 18:22:41 -0400 Received: by mail-pl1-x62f.google.com with SMTP id c24so9246310pls.9 for ; Sun, 30 Oct 2022 15:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding: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=xVbGUXiiZ9vUXOrkzch8dDFHZH6RkawnnetMd71sxx0=; b=G9Tt6iKcW2ZmCnyIcGzGUQZ3HaJjyDbLORKnNLkpauQAF9nM+CFXN8GADgq5Azw9C3 Dz3Y/qwUJqqJIDU9df6GRmsMsRQtDg6VUO/omBpd4We77NFt5SmgV1uQc7z+lr5o18e+ VXzABucLkvlDEaKvq6X/gxxV4dly+4IrdItxWEpnccCVbQEq/kZ3V6Iehn3KaHfRc6ev DYSYAClQoL6jDZRYSd0A0joRI+BDYjJEQxHDyUvUO4LzYolEZ7784pDhZ+JGxVslh/Bg IsbyLd4yW54D7WyyWrhtFm/6g3NtDdWP4eCx2As/B9lSKLWYzODLb3CHO3QUm3Ff05kP DR+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=xVbGUXiiZ9vUXOrkzch8dDFHZH6RkawnnetMd71sxx0=; b=HFhUoiLfoHAt5AKKpJ2k1SIH3Qpi3Nf+ZdUECfeqWcWxOk46YtWL5v+eTumNW81WHx phpAAYwFQfSMAuckRwPuOkco97fdIZtbbBTjoy6ROJkWu3nhjvUvGaKwHzh4IISSX/au SqXQOAomG1G3UStl48dXuu9NtmApIEj440L+ADrp2goeFM1YCkftHKJkoTVd9beLlJjw C6N2D+rYF7yQWIZ2Khekurf+xMhriNaHLs2JVPk09OCC02G81rmq/S5/8p5xVC2g0HdK 6SAflIp6xwutgZfz/0POaF6Ku8yx+6kSKUWEeUHUPB0TrjmaAGoMt5g0l88/APG7sn3w NyRw== X-Gm-Message-State: ACrzQf2e39hsKkUMgocJUxCUCay+r98WeT7KKVBFbWDQeFIznRwklz8l jTrmkg4gn/8X7EXoQH728DlYedxnPu8= X-Google-Smtp-Source: AMsMyM6krb9QVu5+bm/K7euVgquoTx2hPdSoh12SDcQa50OmTFreX1NzlW79Gb2DzlTmdfUC6e/rZw== X-Received: by 2002:a17:90a:1150:b0:213:a42b:a734 with SMTP id d16-20020a17090a115000b00213a42ba734mr11704739pje.163.1667168558027; Sun, 30 Oct 2022 15:22:38 -0700 (PDT) Received: from dingbat (220-235-181-183.dyn.iinet.net.au. [220.235.181.183]) by smtp.gmail.com with ESMTPSA id y13-20020a17090322cd00b00186f0f59c85sm3088962plg.235.2022.10.30.15.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 15:22:37 -0700 (PDT) References: <87pmjduuzf.fsf@gmail.com> <877d1ckqhp.fsf@localhost> User-agent: mu4e 1.9.1; emacs 29.0.50 From: Tim Cross To: Ihor Radchenko Cc: 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 09:02:55 +1100 In-reply-to: <877d1ckqhp.fsf@localhost> Message-ID: <861qqpc5p1.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::62f; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62f.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_FILL_THIS_FORM_SHORT=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: , 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=1667168620; 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=xVbGUXiiZ9vUXOrkzch8dDFHZH6RkawnnetMd71sxx0=; b=MpY4EyDm38MNJsh7TeSo7UDYmqYZqciMLQ7papGafOshZcg0Ejk6Vvx45ESUHS2Hz7Lc11 9Ucqnbq4esDbgnMjaY8ObGc1ayl9CgnmG2XTDPSzjlIuXlULYucn9HBUDoF9R1y8dB4Zph W9ZERKclDZaG73ymhHVcIExcBKj2yqPvle71cmfPOkHj8pV/TbIFkV3NkGzNiw4vAwdn5/ VkuMEyXlHOyzzHEiC1dYIXgrxW4ZaJVy1XEacEB4s1Hm4N8ZLIJb+CNpqvIa9GUdtZveGo 5M11k9WvZbxlW2IzaRy4uEdOwQJYDgOtH2zQWRQh+aBb1O1gzwQcHh8BlqQUTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667168620; a=rsa-sha256; cv=none; b=hMUtw0GocnC6ziEheGicgcjAGaNJJsdTFu6da7YFk4XgwmzY3pVHsevsoEKpKwMlRc9SBv toxTwqvvGx1AZD03z84NxsK1vCjMi7KE88Ug87+3KiPEVVqSVCxPAsroh3g00G/Q2IkZLs TmfKgYT9TsCKdQl6W5az6n4tFA8inTI63A/TT9u/CEbmcYf3CYbiNP9nX/KKVWS4VaXU56 4buX2rv5C22tD6xjcy2C6WG5ByUvjkd01Lw41w+UzB/1kuKZt9VqqAqv4nYKhzuwH9N595 H62aQtB+NoBNrrg+OtlOYQgmXferflY+lDTf1AvbMJ4CGR9J7tVHhgtS4+qatQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G9Tt6iKc; 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: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G9Tt6iKc; 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: A622DA25B X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: QKmvXGo91HU5 Ihor Radchenko writes: > Tim Cross writes: > >> Confirm. >> >> I am able to reproduce this issue with=20 > > I might be missing something, but does > `org-export--parse-option-keyword' even support spaces inside values? > >> 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). > > The manual does even mention the "html-postamble" option. Just the > variable. I am confused. Was it removed at some point? (I do not see any > commits doing so) Sorry for late response. Only just noticed this amongst all the items in my org mailbox. It was a while ago. I do recall I was able to reproduce the issue, so there was a bug here. Either it is a code bug or a documentation bug. My error was in omitting the leading org- for the variable name. Correct name is org-html-postamble. Apologies.=20 With regards to the documentation, the section in the manual is The default value for =E2=80=98org-html-postamble=E2=80=99 is =E2=80=98a= uto=E2=80=99, which makes the HTML exporter build a postamble from looking up author=E2=80=99s name, email address, creator=E2=80=99s name, and date. Set =E2=80=98org-html-postamble= =E2=80=99 to =E2=80=98t=E2=80=99 to insert the postamble in the format specified in the =E2=80=98org-html-postamble-format=E2=80=99 variable. The HTML exporter do= es not insert a postamble if =E2=80=98org-html-postamble=E2=80=99 is set to =E2=80=98nil= =E2=80=99. Note no mention of string, although the previous paragraph talking about org-html-preamble does mention string. and the doc string for the variable is Non-nil means insert a postamble in HTML export. When set to =E2=80=98auto=E2=80=99, check against the =E2=80=98org-export-with-author/email/creator/date=E2=80=99 variables to se= t the content of the postamble. When set to a string, use this string as the postamble. When t, insert a string as defined by the formatting string in =E2=80=98org-html-postamble-format=E2=80=99. When set to a function, apply this function and insert the returned string. The function takes the property list of export options as its only argument. Setting :html-postamble in publishing projects will take precedence over this variable. What probably needs clarifying is 1. mention the string option 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.=20