From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QL40J9MnHWcnIwAAe85BDQ:P1 (envelope-from ) for ; Sat, 26 Oct 2024 17:33:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QL40J9MnHWcnIwAAe85BDQ (envelope-from ) for ; Sat, 26 Oct 2024 19:33:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="D+kp/E4S"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729963987; a=rsa-sha256; cv=none; b=RFlv/OvPThLOmK8b68sCK9birndNt+3T4NSG+pYWa0KKlI5uVIQqcHOUVM03SeG8dT+/3J MG8ak+5MpQtMJKdBdK8wTd217652+4VCDLxCf7PkzzUBsIuR1M6AskD716VhHzqwA5Fivl LUy1HWCGvQ7FfF9S6gsWao45zMZ30lAxImHO8ijDdd+mdhsZwwZa74d0vHav8Paqi7zn6Y jatVwFwxO7+/sd+V+swQBwO8AXKgtH63x2hVcUGav1ezMAgZekDuZJ2zNTjgDjRUkE2fZm xl8zBVdvVM4reGgStb5pN1WCjgOgOmccYM5F0RTj2LqCJb0TOdofGOb6eLFv/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="D+kp/E4S"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729963987; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xlIpPZ3xyNtvFEe2CJcIpDTMEhoDdleFPD1RxqVY9wI=; b=pfUsy61ye8tZ1h1zcnfBmaOpfkw7pSws/a4TI8QB/AmqRWigE0FGsroR7Cm4BHFsFH/2gX L4Ic8hlhp8vq40jev3WVxHG+aYXGgggrH29qsASaGdpY8aKtJE4GgKQ+aV/XlEuVhdvXxq C9f9aM4umuPsp3eyUPiq2uLEEJkG/GpfpOCRxb2azI+pIuvpcf0nhdiyA0P6lSbATOb0bC YvKuUFJpmRFMszMPKIMugeHoCiagrKYM7LW7bqE/Mu04PfXd+wRevoxPFenV0qHpgJN8Wo ZWZCqZei9tk2CahyJM4QdjGMuKxMQSAjo/VH8vCaNIZeoEWP0eE4010tYhKCIQ== 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 2C698838C1 for ; Sat, 26 Oct 2024 19:33:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4keG-0003dU-HU; Sat, 26 Oct 2024 13:32:24 -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 1t4keB-0003cz-Jd for emacs-orgmode@gnu.org; Sat, 26 Oct 2024 13:32:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4ke9-0000xb-Kz for emacs-orgmode@gnu.org; Sat, 26 Oct 2024 13:32:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A611B240027 for ; Sat, 26 Oct 2024 19:32:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729963935; bh=xlIpPZ3xyNtvFEe2CJcIpDTMEhoDdleFPD1RxqVY9wI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=D+kp/E4SGobqKuBHK8np9TTzdc1jf1ExRrPtAbked/4mQ08bhMCCOCB6KKX+NoDLj CAc5eiqMhDU8JJ/zUYyBMLM0Er++GubiTCjUsQoyKYRCTGkmP/eJ4LNgzjE6d0XCja rVfAA0f9fsw/PUCf84hXBJOHzm48jf3QIcZuF7ikwX0uVXBzcXvF6U4rx4u7KBX7Mo Cg4J8zqps7zZu5pg2yEEhFrwq08UYzMsgc4T0nCJ2LDNWP1wqGqF+XlZ7a5vXoY4AP T899Y6f9QN9TMvKalHsILujLGI511bkV2zl9P8W/YLYxccjioWN3zF6iWrfaDtCNwN CknbpV51fDjsw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XbRYC0PlQz9rxF; Sat, 26 Oct 2024 19:32:15 +0200 (CEST) From: Ihor Radchenko To: Antonio Romano Cc: emacs-orgmode@gnu.org Subject: Re: Should "org-element-parse-buffer" check whether the buffer's major mode is org mode? In-Reply-To: <87tte7prum.fsf@localhost> References: <1b2b8c2791e628f6a41ef533e49a5ac9e3dee8a4.camel@pm.me> <87r09zkxwq.fsf@localhost> <87tte7prum.fsf@localhost> Date: Sat, 26 Oct 2024 17:34:00 +0000 Message-ID: <87jzduvkdz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Spam-Score: -0.10 X-Spam-Score: -0.10 X-Migadu-Queue-Id: 2C698838C1 X-Migadu-Scanner: mx12.migadu.com X-TUID: TwSeP6e4RAsM Ihor Radchenko writes: > Antonio Romano writes: > >> The situation is a bit more complex than I imagined and am not >> experienced enough to have a strong opinion on the matter. If things >> are to stay as they are right now, I guess emphasizing even more in the >> docstring that this function may have undefined behavior in different >> modes can only do good.=C2=A0 Done, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D377741dc5e --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at