From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qHy8FLsRuWWTAAEAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Jan 2024 16:11:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qHy8FLsRuWWTAAEAe85BDQ (envelope-from ) for ; Tue, 30 Jan 2024 16:11:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y2tNwxuT; 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=1706627515; 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=Qj2dMcOHv8Bg1ZYRJSkvOSZ7A2bL6yTHXFG/GWBOc0A=; b=L55kJFCM2uQLpfcXgguStxGyat+50u1RIb/Ai33DakN3mze24hARrhjVxTW6M30Qa+DDqT 0OGyguCvgq/y0U1LwoLCA8bH+CNYFWZullqREth4XT+DWY5Gd6B/eApjzt6tRc4CGNndoZ cTEeM+gkH0BT85ZgHYLwE2sSYSiftLoRxziVrJ5cQu/hJ+0xGBd5qFiBFbipix2mwwBwvs pK9w72I/LBJWvmWuqr86t1AVClsPs9i02U8I5JN4ouA918rfRlkO3qlM7G8DfZ0l/PqzhF UR4HkpGtIzb95j7a1fWILJrSA9y6BTHIFnQZ5QL0NpOHqVYh0X5JwkTqSxnyEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y2tNwxuT; 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=1706627515; a=rsa-sha256; cv=none; b=HXIaTi14ZBuwnU4BP/nzXXIt3MVcGEOLZrYVimu9JjB8/hL4yd6vYiA6rTBndCtj7dsjxt GF08qgQoTk7vODY14nQ+ZPDRG1X07pdz1yUH2dQBdLf03arh2Ld7yVZI0PEdwDmO2Zj61D qzyucXEGV7ZS7G6o4ARc1SEvN61vyhgqcghIWLFmtsjnKAzbDr+kwgJ59BOQo9/TTC/8Bu v8bM1tzMF2ziEc0KisWUWqQ/kbw/5hSpm0vPigdNup6RTn064sa2m7p9AtPksBV1jajjbu FVmg1J7NyJTQjLrqRJ6vYwU9VpMnxI9p/6Q3IiUqTrq2g/6vp/R0PTebsesCcw== 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 3A723162F5 for ; Tue, 30 Jan 2024 16:11:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUpm1-0007fr-Vn; Tue, 30 Jan 2024 10:11:42 -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 1rUplw-0007fF-KG for emacs-orgmode@gnu.org; Tue, 30 Jan 2024 10:11:37 -0500 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 1rUplu-0003DN-GG for emacs-orgmode@gnu.org; Tue, 30 Jan 2024 10:11:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 80634240029 for ; Tue, 30 Jan 2024 16:11:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706627490; bh=YejguO+7/tG6YZbf/XcoUj3RCtfSLvLbgaZr/cqNwMw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Y2tNwxuTLSZCZKNKbmJAz1ncwEdI7uBdG5K37omoiuWuNvlWZ7bEb/uBpXEY6FqiV 4onM6y8/98r5H8Ba2yMrTthTdeYvcQ+flPZ/9L+o+kXwmNWnGPCacNg3TCt9dPg+m+ cUyfzj27DLnA6gzXlWBN8BSevvdHd/84/1p8Jxz29DmG5Q43g/YRE9aYO8Con1XJpq n67kpO7tKUgOj4sHUF4LZmI7H1m2V6TdLdjs0Y1sKXpMuPU5n60pKYcibU6qLgLKqy ePb5Dc2plmU7pGft54nD7VSuzi+oMotfLcSrCRxlLzInLz+5TNDyskgenLnm7ZMqjC /0Ge3MImy/McA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TPTCP154jz9rxM; Tue, 30 Jan 2024 16:11:28 +0100 (CET) From: Ihor Radchenko To: Christopher Stevenson Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)] In-Reply-To: <284DFB95-CD7E-4199-A77F-C01ABE6A899B@gmail.com> References: <284DFB95-CD7E-4199-A77F-C01ABE6A899B@gmail.com> Date: Tue, 30 Jan 2024 15:15:00 +0000 Message-ID: <874jeuont7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.15 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.15 X-Migadu-Queue-Id: 3A723162F5 X-TUID: maNKDM5ZROAc Christopher Stevenson writes: > I get these warnings about org-element when I am in non-org files; the > main ones that come to mind are JavaScript files and in magit when I am > doing a commit. They don't seem to break anything but it does get > annoying to have to constantly dismiss them. These warnings indicate that some of your packages or customization causes `org-element-at-point' to be executed in non-Org buffer. `org-element-at-point' does not have a defined behaviour in non-Org buffers and may cause random errors. If you can narrow down the caller of `org-element-at-point', I suggest you to report the observed behaviour as a bug (if that is a third-party package). Otherwise, you may suppress the Org warning. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at