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 6JvxIIeZ1GKYawAAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 01:21:43 +0200 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 cDcFIYeZ1GK6vAAA9RJhRA (envelope-from ) for ; Mon, 18 Jul 2022 01:21:43 +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 400F61A3CE for ; Mon, 18 Jul 2022 01:21:43 +0200 (CEST) Received: from localhost ([::1]:45562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDDa1-0007e5-VE for larch@yhetil.org; Sun, 17 Jul 2022 19:21:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDDZF-0007dt-8l for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 19:20:53 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:50812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDDZ4-0003zc-3m for emacs-orgmode@gnu.org; Sun, 17 Jul 2022 19:20:52 -0400 Received: by mail-pj1-x102b.google.com with SMTP id a15so10298436pjs.0 for ; Sun, 17 Jul 2022 16:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=FzXi99sH1oJATJWPz0xyrJmnz+mrgpYIBTLZFGNAQHQ=; b=LL+LTo7RQ8lXe2th/tfGUW5+gucCkTaBxazllUymRSRXd7rqcWtsg663fyyTOuShxr j08N/T5PbHKTDhWbblXeAsbTwk9WkUhXD0H8wJMtP82zjr8WDrZqXa639Gbvv6eSF+le c1Cbtd43OMVRs1Wo1RcgDTVEYGq7dqdUcA0/Tk+ubjKlLBCrnYiVPaRs28T4EAN9tYBj 6rPCbnU3MoOJK1Y6ASDRt8p/iiSEcYztyeAMIMOPt3XcXGIsTOLtJNTAzPrnAOcEj4C3 YE3xII4ZRaKqndjqpWAAEtykXfKt6zm8DYIXt2q4QTe3QlFba9C9LtEL9RVfaUo4r8AF CCvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=FzXi99sH1oJATJWPz0xyrJmnz+mrgpYIBTLZFGNAQHQ=; b=DD1EmJKcv3bGEuqNM+Buh0jWvIHhpYfOQoAlRerdmokqKlp456TvoBicaArOmpASYc jgRarVI+Hd4+R4YdVwC0QpZ5Zr790KBTOUMXVkUnTWm5wOMpCkhoAg6V90mGAetLO2es q/qp/9/pHCj1gRbcZAnC02tSH0BF+/SlJ+eM7R6h8xW+ijLBo6jS3u38PxKQJoDGq3Ml iOY0l6Gx0t1q/CIj4kBxk9CUUhyoxBHZFpYC5xsY7VPiyfW0fFC/6jH5CRUo47/qMLLP S0rdf1FOyNS5aSp+VhDuK2C7rXO88BrWZJ2fzBTOP79xImBw3j6Z22uuV33ZqlYLOuRN mjCg== X-Gm-Message-State: AJIora9+J3ffGkU6zKtNloGVk2vivPCBT40AsktwomNAPqqBwPUu5aWH jSrYbp2wA+XYzdjFjvjxDDo= X-Google-Smtp-Source: AGRyM1vRv++3MUjZJsGQoHzIvRg98BNVmkjCmlqLpARpnKhXMDZz7I57vjdSFxkF/vnJJuxzgLesyg== X-Received: by 2002:a17:90a:d997:b0:1ef:83d6:fc31 with SMTP id d23-20020a17090ad99700b001ef83d6fc31mr28322949pjv.22.1658100040627; Sun, 17 Jul 2022 16:20:40 -0700 (PDT) Received: from localhost ([2409:8a70:2bd:4d0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id c13-20020aa7952d000000b0052ac5e304d0sm8020069pfp.179.2022.07.17.16.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 16:20:40 -0700 (PDT) From: Ihor Radchenko To: kevinbanjo Cc: emacs-orgmode Subject: Re: substitutions in html export? In-Reply-To: References: Date: Mon, 18 Jul 2022 07:21:42 +0800 Message-ID: <874jzfjpfd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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=1658100103; 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=FzXi99sH1oJATJWPz0xyrJmnz+mrgpYIBTLZFGNAQHQ=; b=ttGflHdwDbjX7R+j78t2+6BIk5RbO8drcO9Q9Fds+A0fmPxeV4QjNDd5goj1waUMrkFcT7 NB6McGyRRMxmePzpBOAiOgZEia3aFslGMQMWOsVUXz0ZL7UGaOmbactEYxqncxnTN0JsWc UIJjzDezjN7z7QqNTtFjPX2IsIilM4MTngWP/F2mP2X3Ach+z2AEQmhQ9O+Ogi37W/O7Ar twqEx7+43W1BV8sqBiH6Ra3mA4FaC8R/Aw9WNavA8PoT4wgPk2ZYmeh/04LjAuFsZY0mv5 JR1NjbFHvPytYJxX60uCbxSB1VP/zJ1j/5y8PgEHNCVfms5e+3D9VtyjYUOoZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658100103; a=rsa-sha256; cv=none; b=B3AwMEpCY0RFH0k93qqb74K1PJesYBXzWmhNFhjTr2hTUOekeWsYE3EZ1/xzvw25Dsm5xg IAi4paACkC+KatgI0hIlcJb04cIZHDe+58kfkTt8rEbN0jvHUUgeM3zPai8pnckW5Hd4b7 JHLTcoR5pm5qeCAhGReHUdMj1M6QrRyxtkfzyQNBHVJPQRkWd0IvH4Gixw8UaJKXclryR5 6qWDO1z1riKGmwGVuzf2LWFOZerGfU/UVCaIknRlJzDydrxKLwe0ADGwSHv/241JkhYYQy 9URG59BFe/tCLyQ/lyL7Sfqfszcrc13FM9VPyl4Uey+cSLSwo9kLjvfKhwKvdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LL+LTo7R; 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: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LL+LTo7R; 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: 400F61A3CE X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: aE2CIYG8LGTD kevinbanjo writes: > When I look at the doc string for (org-macro-replace-all) it says: > > > *Optional argument KEYWORDS, when non-nil is a list of keywords,* > *as strings, where macro expansion is allowed.* > > I tried passing it '("export-block") but it didn't work, but it seems like > something like that should be close. KEYWORDS argument is listing the "keyword" syntactic elements. Your export block is an "export block" element where macro expansion cannot work by design. > This whole area of org documentation seems pretty obtuse, with few > examples. Could you please point out which particular part of org documentation is lacking? Best, Ihor