From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id B8jRJtJ9NWOCXAEAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 13:13:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WOq1JdJ9NWP9cgEA9RJhRA (envelope-from ) for ; Thu, 29 Sep 2022 13:13:22 +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 5FF9E12B19 for ; Thu, 29 Sep 2022 13:13:22 +0200 (CEST) Received: from localhost ([::1]:53996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odrTl-0002Si-EW for larch@yhetil.org; Thu, 29 Sep 2022 07:13:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odrLG-0000ad-HC for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 07:04:42 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:36598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odrLE-0001ed-PK for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 07:04:34 -0400 Received: by mail-lf1-x129.google.com with SMTP id bu25so1703616lfb.3 for ; Thu, 29 Sep 2022 04:04:31 -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=OSWkp85MH8DonBjuiXRAc+yifjL1edhTsxbrwoqr2HA=; b=fVv2B4UMt5yDaO8CL22U480mQjuNbk6k2cGs4qAg8jCmILUtNcFTrHqbo8MnttiXem NmX8Nu5xK4jOcOzsA427PC9SFO9XgR+tyCr10F9Obld5JJxraWRdSLdkndB55ax3D+yF rNDtfihSJ7mI06UqWGQ1uiXdiMAZGXanaf4wZ9glykNfiUjL5TcSE2i0FjGFeQhi90MT uSsm+4pf9fhcGLaB/Iv4cnx5MCZLyFjn1YBLN4U+ELQ6PewKqgr5MB7oot2l4ngw/KZK Xisr2iZ0AkDLB1h4VwJRYRJLtDBi8VQW1H3wytVLQq2wZ6p+URkXsp8tQHE/YsvDT3GW D/eA== 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=OSWkp85MH8DonBjuiXRAc+yifjL1edhTsxbrwoqr2HA=; b=GBosk+rJBiNwXoHkSHfJjN0hB1wPx3cVZ5Vue20Fre9jtkHXZWzRku6X7PnhUjWluc zQ/stkNZo3AfKyJniERCJHSV/e1Jux1cn7JQ/QHDzyksnz21lfmSe5jqnz9u3kVpEwo2 tIAy+vSqJt2iZQ2/77rX93rNCcAh4qytlWcIHkCnpjB2F1CElQqTL0B80E5k1s7Wkzys CR2vtq+Wd2dH5J8eiUIA1viZOok1NlkWWooceG2IPIgTqBgmnFRzkk8JxImLAA8iaBtH PHJ+2mZGczFO1hDN4CyqXLZrlD7N0+IVqtaFv7f48lRAqK5QpnCAc+b6ulyQ7DjvVcid 7+rw== X-Gm-Message-State: ACrzQf2m17sYuIy66wRMADr2NVD7rgsrI6FDqnce46NnFiaXgWeYdjzy myF+dguCNK39hXcCVe5rp5eamv4QmOpBbhPUQtFx+QydhgmjVA== X-Google-Smtp-Source: AMsMyM557AdyPdU0oLGPoi0hijZr09VkB94M1HfvoxIBYv93rV2qZ1OK5QM1EPG7G891BfoZK/IagX5rQZafnU91xAc= X-Received: by 2002:a05:6512:2006:b0:49f:6087:124a with SMTP id a6-20020a056512200600b0049f6087124amr1209020lfb.163.1664449469245; Thu, 29 Sep 2022 04:04:29 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Thu, 29 Sep 2022 13:04:17 +0200 Message-ID: Subject: org-element API does not identify inlinetasks (correctly) To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000005c6dfa05e9ced75a" Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=mick.dauer@gmail.com; helo=mail-lf1-x129.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=1664450002; 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=OSWkp85MH8DonBjuiXRAc+yifjL1edhTsxbrwoqr2HA=; b=uxgYySQqp8ruJUTtc1y3kjUYGkj/6VtmOidAypNTOaQ9IDlZEGP+Kvwvvufx6KVw64xyCb 8b0dp7L75x9IO4T+tgd4hlbVQ9zJy98a92nkj3sn3vgXjiqZ6mGqrj5B9fUndZ4v2icshC 18Og7wOL1XhBBGiatJj1rE/wXfpEY+22Bmbw9bicEkCl1swYmpAPKQ1aCW5Ki7S7C+sz7Z sxmRJ24sv4bPYcbHQQ9eou4p5tyxZCp0sz3EhNuHmCuHM+Wt1arUMYPAWrccWel2GAkbrl v1G+ThRBnmNtS1GtTBc/rOzvVWOv6lqLNRuBSO43KYdqrKQF1g1oX71Bj3kdNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664450002; a=rsa-sha256; cv=none; b=FRDmB26asnXplKvmG6LUKeYdKreM++p+K6vbM+Nv3nk+yTGWgLllLmWNyLSDXeMRgGrTl2 1ivBs2irk3GsthxO68V/NJaYicgDop66AZHKz5/DXdBo7t4VqyvzQxzwI33Zi+3U3hpQ+U 8GXl/n2XJaSJwK+9fG8VBJQexhZbdbrLzT0GbnKs/2dU53314DDX4FFDeSSu6S9DtbhrU4 Efy39KeIsjYNVjCCM01iqaRGG1a71Q140+0Qt3PCBKmFJ6hAGH0xumDBkKZdV1cs9JnlNF lRwNQ3/ej2iF4kQjju7wPwra9YE7KOTines94zc0e/F7bUUSkhrbQXOcrnKZow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fVv2B4UM; 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: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fVv2B4UM; 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: 5FF9E12B19 X-Spam-Score: -2.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8mcJLNzzFQkE --0000000000005c6dfa05e9ced75a Content-Type: text/plain; charset="UTF-8" Inlinetasks are always interpreted to be of type heading. This causes multiple issues e.g with export. I think that I could track it to the function org-element--current-element, where the check for headings is before the one for inlinetasks, while inlinetask is just a sub-type of heading. Hence the (custom-) formatting of inlinetasks at export does not work. Org mode version 9.5 (9.5-gced2b3 --0000000000005c6dfa05e9ced75a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Inlinetasks=C2=A0are always interpreted to be of type head= ing. This causes multiple issues e.g with export.

I thin= k that I could track it to the function=C2=A0org-element--current-element, = where the check for headings is before the one for inlinetasks, while inlin= etask=C2=A0is just a sub-type=C2=A0of heading.

Hen= ce the (custom-) formatting of inlinetasks=C2=A0at export does not work.

Org mode version 9.5 (9.5-gced2b3
--0000000000005c6dfa05e9ced75a--