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 0ClrCVGXZ2JsWQEAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 08:55:13 +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 cMlTCVGXZ2IFHgAAauVa8A (envelope-from ) for ; Tue, 26 Apr 2022 08:55:13 +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 B54E7E9FA for ; Tue, 26 Apr 2022 08:55:12 +0200 (CEST) Received: from localhost ([::1]:55576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njF6N-0002al-7L for larch@yhetil.org; Tue, 26 Apr 2022 02:55:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njF4O-0002aJ-5s for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 02:53:08 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:42708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njF4M-0006U1-JL for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 02:53:07 -0400 Received: by mail-qk1-x736.google.com with SMTP id j6so12527144qkp.9 for ; Mon, 25 Apr 2022 23:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:from :subject:content-transfer-encoding; bh=+A8qNV2YsLa2spwJiZZJVblMzY3uHIQZ6oVIZc9wPTw=; b=A2tqzk0SW98JdvS5KxP9rGd/kRSEBV63yA142iDYu9q1TuXsGD/DY5FflA9wbl/9dT Z8lfe3yuC8+GQlgmEmfXSH3i1W/KBqfnH5nrTfw70kZr7bVJmd+Dxy5sP3gKfsiCi2rS o7ptIeq2gIUi9rGLAGe/v+YvhzGU+1HWw+/YcdPD602mbYL9QDrs1DsmQvIhVuWeA86V AtBDFM8canU2csbFjOfpN6yJoromDOoUwjfdiEBdLqn8MvIQLQ6JKDxRXyh/Upg00HIO z5VDqPDRDjFiVlZ7nCB6eAgZEnUU34JlWx5WHY9OMhgBNPbGPOH1LQOWzGge1f/1LEL7 g14w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject:content-transfer-encoding; bh=+A8qNV2YsLa2spwJiZZJVblMzY3uHIQZ6oVIZc9wPTw=; b=API7DLjiv8eSrdUAlmMVlrMIJwRKKXhkl+sf4YZq3a2xo5ieicWJUN2mce+TmDChng Vm90Ed9SfDpmwk90X6k1g7yGEa6illzQT6JiZnnJHF0FQjjTADlEaXZlx5iWThzvzzsU LPUYSwxRf8bvUUvF2ZmWBwDENmRx5cgzPMakSDdkiWuJkihqagEkC/R/t32WC5gDzyJg Bsdty8zd23J5RhoOyaO3TZeABvK34sj1+0gtv4DPN7oGrTweQhE0OI0cwR6CoY31vka/ JDNGrKMTjRXydK9VClc9zZWDOwz8UeodXVQk2ASmg7QEz/YUhnoXg76Z/drCMRTtTHk7 Xdhg== X-Gm-Message-State: AOAM531fnueSY3DOCI186/235OKBF5fDSCXs30AckXUdYYqvnCb0wD/C 02cw531vjOBId/0u6QDvDb0aY1kwpZs= X-Google-Smtp-Source: ABdhPJyiC0hIXElyoHVHO0rrIajVTsQWF6ZIlDlnu+lWp7/WWA06NChv9/tQ3Z6jldLqYYIA7+x+5A== X-Received: by 2002:a37:a247:0:b0:69d:5e7d:42b7 with SMTP id l68-20020a37a247000000b0069d5e7d42b7mr12230256qke.320.1650955985057; Mon, 25 Apr 2022 23:53:05 -0700 (PDT) Received: from [192.168.0.14] (pool-108-20-195-62.bstnma.fios.verizon.net. [108.20.195.62]) by smtp.gmail.com with ESMTPSA id w6-20020a05622a190600b002f1f91ad3e7sm7688548qtc.22.2022.04.25.23.53.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Apr 2022 23:53:04 -0700 (PDT) Message-ID: Date: Tue, 26 Apr 2022 02:53:03 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Content-Language: en-US To: emacs-orgmode@gnu.org From: Nick Dokos Subject: [BUG] Dynamic blocks not recognized by org-element Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=ndokos@gmail.com; helo=mail-qk1-x736.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=1650956112; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+A8qNV2YsLa2spwJiZZJVblMzY3uHIQZ6oVIZc9wPTw=; b=iPl8fI5E82bCgCCepeHB/8lCEg4Cu+BLXZ2TgYnscNMDISdwWszR33HQmHS/AX+GPqUh0V Prdc+7xPZTfP+1WGXYJtoib3w4f8euvtzJQ6XkyO5pASi1jq2+zLuwAIQczqDWqaOj/OLY az729IVLQoqYy0BOY5KNIm1/yBsZgn3FTm//sVQvHEVLJyJGJf2SoGKG89s8yjVr0cfm5x PUvoC0yZDkEnC2U1iWS1DXv/Qmx3lmeHlrSPOsk5vdGq1zlY4dMV73Ru4R3zx+iEOZ2W52 KGEQd023SvS7BWppvY1iOe2BbChUIqn18HZlKq7RKs+eCdfzzfnUuil5np+MPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650956112; a=rsa-sha256; cv=none; b=MuHfpmixst09vNp63jdVZxUwVYbSati9OlhETnx1AYbm+C7WCB3+VVWlksMsIwTHOxvboR 2qG/yZAM9qELtlivPiQaaTwHQoPl30YoTC9Lg8ZcfQeZVf7owQOB4ncYb1j7TO4tdw4Ot3 nSkYwFjJmXki8Mlt7xJ/8fqcsvO5YkKo/ErzMB3sdfWRPFfjQ3G7EhxNup59L+kckUdhzG +BREppNmlUJ22s69Lf5na8KYr4ao+tc6ErsiHyaRdSwc/jDlTn1YVPQhOleLb9mDKIGi+6 YirBydVfC+u3d/DwKJXoAzVAjrDMfkHtfUQePnF1aysEsQfS6xWWi1TxERWefg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A2tqzk0S; 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: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A2tqzk0S; 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: B54E7E9FA X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: 97koC7nkaoTO Starting with `emacs -Q', I create a simple file with the following contents: --8<---------------cut here---------------start------------->8--- * Clocktable #+BEGIN: clocktable :maxlevel 3 :emphasize nil :scope file #+END: clocktable --8<---------------cut here---------------end--------------->8--- I position the cursor on the #+BEGIN line and evaluate `(org-element-at-point)'. I expected to get a dynamic-block, but I get a paragraph: (paragraph  (:begin 15 :end 74 :contents-begin 15 :contents-end 74 :post-blank 0 :post-affiliated 15 :mode planning :granularity element :parent          (section           (:begin 15 :end 92 :contents-begin 15 :contents-end 92 :robust-begin 15 :robust-end 90 :post-blank 0 :post-affiliated 15 :mode section :granularity element :parent                   (headline                    (:raw-value "Clocktable" :begin 1 :end 92 :pre-blank 1 :contents-begin 15 :contents-end 92 :robust-begin 17 :robust-end 90 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :title "Clocktable")))))) Looks like a bug to me. Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-02-12 Package: Org mode version 9.5.3 (release_9.5.3-452-g407104 @ /home/nick/src/emacs/org/org-mode/lisp/) -- Nick