From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CPUFDHcsB2TMEgEASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 13:22:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aLQoC3csB2SAcgEAG6o9tA (envelope-from ) for ; Tue, 07 Mar 2023 13:22:15 +0100 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 9CC1529A93 for ; Tue, 7 Mar 2023 13:22:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MJrSNS2C; 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=1678191734; 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=gpJ8S+7kgXsNbNeuo6FlZRo/7CVBTnnpWyOHTbZODRU=; b=Jjfu4UP/KN5CRpoYPzFTrBoOqIFAW1wtHicdSf8/5uy4ujk7X/m1Qzvj2qX/c8/TEwU5EL prTcqX1AaF6ONzMuvTa+LJC5sdvHzdwR8CycSeIaCunDcywh0p7f7+r4noM0E66gJliRpj JhBeD9jkTA4IGY1BMriBCXO1sTY63yz/rJiALgrvJpQPb7/c3eMJvK1mjDS/11zXb2j2az WQa0OWchR+idO3rywif9ymMNOwFjacbvlmg7voaeoCxA68njBow5je8293p4RW2QsH9mwd GSzKhvasCdI8vgXrIeURhzk0LTIn/DK3nQs4gnCL5zClnSrTzcyD0qZV5U769w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678191734; a=rsa-sha256; cv=none; b=aD5vfCWVz+MZNU5wnl7fBND1nWI49HrhWqaNpMfwOSXmGBvf1EGPSVz4TZRlV7R7tNN8IG uqSIS1da0KEU1gn4LXhPkRoFxqfV5pHRZbyx9OA5rou878jqjjk9FeURtdiAMANhKu5eYl FIx1xLro7ZymOxhDFac7qWcvX4CcpRfb4MdhWZcGhBtIwyDg/mxLiFbKbimoz8Ol1insPx HUNoxZHkaokOFPDkqxso/maw2YHKXU4ckAvnB0kG4WUeQxxa0PJbsxcU4fePKlooXfH58i ifI3dBJw5K9wBFgfnw7ALagAPD6kPdrhz/eUetyP1YIPlli+LyhwmD08bCJ07w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MJrSNS2C; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZWJD-0001kG-5A; Tue, 07 Mar 2023 07:20:47 -0500 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 1pZWJA-0001k6-Nc for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 07:20:45 -0500 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 1pZWJ8-0008AW-1q for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 07:20:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D889524074F for ; Tue, 7 Mar 2023 13:20:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678191638; bh=4u5EVvTKk53D06weJzJOD0FCwNcC18MXvdCxvhsKTUI=; h=From:To:Cc:Subject:Date:From; b=MJrSNS2CB4JBSuYj/6hVmaoGMn6Ew1WJWtCqVD/iXg3IvOqLlIwJSZR3V0+SadpW8 t91aKDsc3adKg+xBq5RNQDQBSOWRUGbpRQ0auStBXHTv0t/Uh5/hHZPwVxenXPH1Pr 39K9JHbgHzsQGVSShFlgX2tM6SEQWuWX7BUu0fkbhiH+JdUs3oZYHvUPTtfCKmFK+H dHgK4jqL+y4W+tZ/6+kcxwVQjabxuGDz9sT08Qe6PiIfySa8/t4oKIyk181m2opBOy hVVK9mtSmEMClZzhPebbsNFU0sSZx0ml6YgbS7bb5fxoMKu3Ob00lLykkb3eBfy1io oIkSE5EtlPX3g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PWF0610h8z9rxF; Tue, 7 Mar 2023 13:20:37 +0100 (CET) From: Ihor Radchenko To: Deric Bytes Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-element-at-point rx error on large file [9.6.1 (release_9.6.1-34-geea8da @ /home/dericbytes/installs/share/emacs/30.0.50/lisp/org/)] In-Reply-To: References: Date: Tue, 07 Mar 2023 12:22:04 +0000 Message-ID: <87356ghhub.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_H2=-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: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 9CC1529A93 X-Spam-Score: -9.70 X-Migadu-Spam-Score: -9.70 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-TUID: YHKhgHRMkZoM Deric Bytes writes: > Expected: > > Running `org-element-at-point' on large empty file returns nil. > > How to replicate: > > emacs -q > (require 'org) > (newline 200000) > (org-element-at-point) You are trying to run an Org AST query command in a non-Org buffer. Org commands are not guaranteed to work in other major modes, unless explicitly promised in the docstring. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at