From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eFIEOzI622QZsQAASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 10:41:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iNTgOjI622QENgEAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 10:41: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 659283E0ED for ; Tue, 15 Aug 2023 10:41:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AcrNsYPb; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692088882; 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=ywqFp1EFGov6Fp9slndF0myx+IPk9yqYxO/3vhSizHs=; b=TWTu988TSr1NzcwIf8Zs5E80BtzI3nzBbXrCMXA0X/JAQoVXWM+VPGpPjZScT4lYMcMWj2 iE+wtDpmiHVzKa07a8g707F5g2IySeJe5PaPo3XN77Ww3a1hC30Gfd/Z5TydxjlEDiqJBT TNurJtw9g9p6JrHyGsCteAW6acFa3BOvT1wRm9dR7HqdFv4IJ2v1OIGyZ7WOe3E9nIpiq3 Wma3Is/EF7mVU6Ehbw+N5cTJGAZC1Xw22/svp0QP3SgnAohm0MoYnnTYwrMyIKVcy4qU8u Uh8PYw3xSj13o42g588Xfdwt1BIRybzx59TC2ASrqy+Ms448IoY7BJzHAbYMSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AcrNsYPb; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692088882; a=rsa-sha256; cv=none; b=L3f+MqwLjheYg4aZSDNAtMJy4RBl6yPP+/jndkbVX86kzyHsX9h6yBhxLnQLXNKA/BTGus 5sfQ2qoGVkiIrCwoQh+KKrRfpqKwYlEUNJbLFH5Z0IVC9f4XePOGxV5M5adV8HGHtpwNXD E2ZduxIA1vST9xWKG14Q+CcmF9Wy3mZZBEngSWZyaCkdCgw8X3g2OhxzW+7wQXshoAj25q CoE4+em5tDUvU+LKZ78cKDRT6980Y6j/mwduPVRj6QxpT/I1Uj3HfqB54CdVPWX4wJS3F5 xJSgXvOS/Zk0j6FXGdC+8FF/dZRjM+IIWoxkf/b4KnfLzxDSSRY2Y8Aq9UwBfw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVpbS-0004us-6y; Tue, 15 Aug 2023 04:40:38 -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 1qVpbP-0004uT-HJ for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 04:40:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVpbJ-0007D8-2k for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 04:40:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B9C19240103 for ; Tue, 15 Aug 2023 10:40:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692088808; bh=yUOtcFnGVBtjdHiQTn4c+HU5C22wlt/XRyqTADJHf3M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=AcrNsYPbishYeKMV76QyaTSrveuEk/xKm3i6sYAqR+MlRAWud0PnzJD58yMIS4+Nk G1aOv1Pi0AG/2NojHdTppzsrhAvNCVDPCjMqe8OrtgFkpg9YVLKpx513f5UffGXY1E BrxX85Wa7/SqD7sUlQPOsWNRzv4cRivenQm+NFUOK4pHpb++1kxC/xVeGRhyua/ln+ BMMIxxtVdXdLI6VMHraUn1UVfeEZpCdruThP0XeJk+XS4rzOj3JlKyrf8mZmOupcqy sLW+CdSMYuPR3s/CWJezaAWxjO0bhP8eFDZd27qL3le0FPP2O+wCSyadk/yutS8pWw QyN1r5QAPoXSw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQ4TM0Ygfz9rxl; Tue, 15 Aug 2023 10:40:06 +0200 (CEST) From: Ihor Radchenko To: Tom Alexander Cc: emacs-orgmode@gnu.org Subject: Re: Export snippet matching without closing "@@" In-Reply-To: References: Date: Tue, 15 Aug 2023 08:40:32 +0000 Message-ID: <87wmxwitq7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 659283E0ED X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.85 X-Migadu-Spam-Score: -6.85 X-TUID: oTbRjm0MvADa "Tom Alexander" writes: > I suspect this is a regression. I am using this test document: > ``` > @@latex: > ... > and dumped the AST with M-x eval-expression (message "%s" (pp-to-string (org-element-parse-buffer))) > > When using the latest in main (commit b89bc55867d7cb809c379d371d12d409db785154, Org mode version 9.7-pre (release_N/A-N/A-b89bc5 @ /usr/share/emacs/site-lisp/org/)) the "@@latex:" gets parsed as an export snippet despite not having a closing "@@" (because the "@@" is in a different paragraph). Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e340dde63 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at