From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AIiVFArSNWMA1wAAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 19:12:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WDN+FArSNWOkmwAA9RJhRA (envelope-from ) for ; Thu, 29 Sep 2022 19:12:42 +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 EDF132D27A for ; Thu, 29 Sep 2022 19:12:41 +0200 (CEST) Received: from localhost ([::1]:56604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odx5V-0003ma-2O for larch@yhetil.org; Thu, 29 Sep 2022 13:12:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odwHc-0001SB-UI for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 12:21:09 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:46011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odwHX-00015D-Hy for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 12:21:08 -0400 Received: by mail-lj1-x22d.google.com with SMTP id c7so2069429ljm.12 for ; Thu, 29 Sep 2022 09:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=zj0DCB0Lb5WotD3jjZ7ocGXFRSTbh7CNW3/QXR66/ec=; b=Bws/ROidWqhCZB7MHb/MpHWo3k+we+qAWBZv3toiixpWQT1To3Z/iZ143zdJNQDFEt KWGlLuO3jTFtJh0dgvzuUfensDg72NYnqKmArONd0OWGVgvUf9QMKiyq5gATDdh8x74m 2Abgamk//I24jea6oDuMPqzaPf/YunV4DOAsI2FSAUN3LDtVZOHGqgtftvXuDdVC1/G2 JMP5exw0z3YB3nnOT/TeVl2z/U/lZWK0R64sc2yG/W/DbiHK31fXsFFKm0NvIcY39sLn YMs+hU1rvjCECSUTfGQWvJEHytZ/HKwOMSraoxvJYu4l2Di61IGLdtfy9bGoLybAUFO6 fjcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=zj0DCB0Lb5WotD3jjZ7ocGXFRSTbh7CNW3/QXR66/ec=; b=ihLOd2RjZvpJRTkQzQ2fEPb+czK9ZE79nReIHEwOVcHoFVSlJ+WAHVY7OT8ucBIR+4 caxVCUmej7UgLeg56v2EFui/qxW36NEOSekEjX/7+y0rj7Au37/x8+/20YcayMq5+7dF VJpyPDjc3GCEcVUBs2+OZSY0m89QkaGqmXSFtxRE00GEMOfGp/RL2x41KjvvcAMJfM/U x4EXfyN7MxY83i+oMEsa8EwZyCmFWirRLVisL/Eb7Bs+oHcQJOAkRrhC2xy1E+2AiFLE KvFn9HTMrGrwM+CghV0ix4IppxxX9hdenarb1iOfUtoTVVCeevHtl6Z5A5SJqdQ/r8ji THWg== X-Gm-Message-State: ACrzQf39vhBUX0l0X3C7ykAlFHYk3oEGrN8oqxqN73EeXhQmSJd9ibg1 eHXItoimyq0SEMIfNIGT7/KK+1L7LbYhwH8ynRlRqccy5FkkqQ== X-Google-Smtp-Source: AMsMyM6xyxLoYse9NNQ1LCHS+gooivGgiofCSGRfsJOB+N1n+llHnQ3heTC0Zme3ekM9xISRkbZ50B6wm4tFS2MNRns= X-Received: by 2002:a2e:86cf:0:b0:26b:fe50:8c4c with SMTP id n15-20020a2e86cf000000b0026bfe508c4cmr1444675ljj.17.1664468461153; Thu, 29 Sep 2022 09:21:01 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Thu, 29 Sep 2022 18:20:49 +0200 Message-ID: Subject: Issue with export of inlinetasks To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000005df0f305e9d343de" Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=mick.dauer@gmail.com; helo=mail-lj1-x22d.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, HTML_MESSAGE=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1664471562; 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:dkim-signature; bh=zj0DCB0Lb5WotD3jjZ7ocGXFRSTbh7CNW3/QXR66/ec=; b=sUn3I5jVdod5DIbYT2BJkdYyX86Dp65Elo5r31RKUc479ftAhxWQKOsceOokfaBaGnGUup /iDrpEOHeUeIp2Slg5OmIubsu3mDJw3kj5BSYPl2De1JFHJBoTXDoJwYWmGZySxCtociEW T/tqpkwJlgry1jy0t3yPYLwCRo8nu3gVpXPSD+mktgI3OIMZvYiqNFymaBpkquKGQDuhOx h0QCxk6gqyx1M4cMXcajSaHGCTgeb6PQ9knm0EfW8uRuaC2GoKf8EA5J9sU0AgVKxnGovb WU7sjSYynVyx5dp1LvyDfW0Cc6iYXTVEkYpKlQsyRC4l+lTw6SO9wWT2chuIbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664471562; a=rsa-sha256; cv=none; b=JwBww14B/pBu5r9ehsI/803xvbT6OWymT2mvP3C0llR3GLWnwNJEdt1jainZU8M0ja8R0x ZVNgnTuudoZQUlenRVCSvSpz+XKVlOuGHl86ABUasem3ENTq1J5CYnyGEzywVNk5ZMi8T1 SaH6KxO9FSb+30Sexe7CtANL/aY6mXfu99tZmwDnLMTY0y/Eb0oOn/KO5bA4yFMEYTEDBS 2VCZQz86EHPfif7NFcO4C6eHCCnA8vMiVqD/Oa7CSu1kMUS1ye2wFBVBrjRaoL/VDvVoRC 4vevJY6QGarmEp9q+kNEuuoj9kdxXTjjelCpKtpOd11wYmKp2PuwB+YkIpYsUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Bws/ROid"; 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.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Bws/ROid"; 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: EDF132D27A X-Spam-Score: -5.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: cCLVCDt1rjjt --0000000000005df0f305e9d343de Content-Type: text/plain; charset="UTF-8" There seems to be an issue with export of inlinetasks, at least with customizing it. Org mode version 9.5 (9.5-gced2b3 Please see the POC below: * heading 1 ** heading 1.1 * heading 2 *************** TODO inline task *************** END * heading 3 ** heading 3.1 * Direct is fine #+begin_src elisp (let ((parsetree (org-element-parse-buffer))) (org-element-map parsetree '(headline inlinetask) (lambda (e) (org-element-property :title e)))) #+end_src #+RESULTS: | heading 1 | | heading 1.1 | | heading 2 | | inline task | | heading 3 | | heading 3.1 | | Direct is fine | | Issue is at export | * Issue is at export #+begin_src elisp (let ((mist-output "") (org-export-with-inlinetasks t)) (defun mist--html-format-inlinetask-function (todo todo-type priority text tags contents info) (setq mist-output (format "%s\niii %s" mist-output text)) "iii") (setq org-html-format-inlinetask-function 'mist--html-format-inlinetask-function) (defun mist-html-format-headline-function (todo todo-type priority text tags info) (setq mist-output (format "%s\nhhh %s" mist-output text)) "hhh") (setq org-html-format-headline-function 'mist-html-format-headline-function) (kill-buffer (org-export-to-buffer 'html "mist.html")) mist-output) #+end_src #+RESULTS: #+begin_example hhh heading 1.1 hhh heading 1 hhh inline task hhh END hhh heading 2 hhh heading 3.1 hhh heading 3 hhh heading 4 hhh Direct is fine hhh Issue is at export #+end_example --0000000000005df0f305e9d343de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There seems to be an issue with export of inlinetasks,=C2= =A0at least with customizing it. Org mode version 9.5 (9.5-gced2b3
Plea= se see the POC below:

* heading 1
** heading 1.1
*= heading 2
*************** TODO inline task
*************** END
* = heading 3
** heading 3.1
* Direct is fine
#+begin_src elisp
(le= t ((parsetree (org-element-parse-buffer)))
=C2=A0 (org-element-map parse= tree '(headline inlinetask)
=C2=A0 =C2=A0 (lambda (e) (org-element-= property :title e))))
#+end_src

#+RESULTS:
| heading 1 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0|
| heading 1.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<= br>| heading 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
| inline task =C2=A0 = =C2=A0 =C2=A0 =C2=A0|
| heading 3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|| heading 3.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
| Direct is fine =C2=A0 =C2= =A0 |
| Issue is at export |
* Issue is at export
#+begin_src elis= p
(let ((mist-output "")
=C2=A0 =C2=A0 =C2=A0 (org-export-w= ith-inlinetasks t))
=C2=A0 (defun mist--html-format-inlinetask-function = (todo todo-type priority text tags contents info)
=C2=A0 =C2=A0 (setq mi= st-output (format "%s\niii %s" mist-output text))
=C2=A0 =C2= =A0 "iii")
=C2=A0 (setq org-html-format-inlinetask-function &#= 39;mist--html-format-inlinetask-function)
=C2=A0
=C2=A0 (defun mist-= html-format-headline-function (todo todo-type priority text tags info)
= =C2=A0 =C2=A0 (setq mist-output (format "%s\nhhh %s" mist-output = text))
=C2=A0 =C2=A0 "hhh")
=C2=A0 (setq org-html-format-he= adline-function 'mist-html-format-headline-function)
=C2=A0 (kill-bu= ffer (org-export-to-buffer 'html "mist.html"))
=C2=A0 mist= -output)
#+end_src

#+RESULTS:
#+begin_example

hhh headi= ng 1.1
hhh heading 1
hhh inline task
hhh END
hhh heading 2
h= hh heading 3.1
hhh heading 3
hhh heading 4
hhh Direct is fine
h= hh Issue is at export
#+end_example

--0000000000005df0f305e9d343de--