From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aGUrJQZ4YGax3gAAA41jLg (envelope-from ) for ; Wed, 05 Jun 2024 16:36:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8Dc/IAZ4YGZH3AAA62LTzQ (envelope-from ) for ; Wed, 05 Jun 2024 16:36:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bobnewell.net header.s=fe-148fdb2209 header.b=W943YXVu; dmarc=pass (policy=none) header.from=bobnewell.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=1717598214; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=roi9WR9DXS9NndKiiuiuvpysYWSNpPGCVT88cmZHe88=; b=e87pXIW/Y7bfxDzCyhBOCIytW71Kne7tlmO9jOgY+e2YXI8rkuyssue/2KcR6UxgtGwzBW JrPWaryV26Qwou2i1TTG1kNR2yQZ1D81jfixAv+0ZXezeCtzYJMNgrJtZ79Kpa2NTp0qgq tIElm47ZlazQ3RRZZ1Qw1U0HdwVaxO77nw01ISNDxfkA8UiU45zByR9dEPb50FrQ1Dg0w+ uov6BQykKB9HN1EKp81G6r3tVGN+EKvmhup+XYnWLrSTFwW0oVJ9z6QovVkqo9AYkyOaIz 3Kb7D6eXtITY0HSyiGYErmrpL3PTzC+Ph6wugIa7y+KCC3Mka+KnBgWHPk6avQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717598214; a=rsa-sha256; cv=none; b=eiPA4Xzw2S71DoRdofmALTKpB5SSvNXToHPBnKivj2yRDXs6DnDhxadavZYGZNUhf/bw7N QYV7+i3liYpIOzq1RvWo4JCbd0uVrcTft4HVHcQiwOyasikytirgKQcRp/P6ATObbizCj7 yyxM1yIAayWbZdirix1Hy8+uW3r638skfMxxrFTTD5YMYxSyCHLkQrHNKiWednH+eqeFh3 pir5H0Ns+MfbVpS0KzS3NPBUX876196MbdU2vNGSlx3FWVGKpwU5ko/kgA5l30QicNShuP vq8RzDFaPpItmIddrN4NBnUV+01dTfOrEmnpgDFThW9V1J+Vj3IutRPRgU9Peg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bobnewell.net header.s=fe-148fdb2209 header.b=W943YXVu; dmarc=pass (policy=none) header.from=bobnewell.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" 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 41CF07261B for ; Wed, 05 Jun 2024 16:36:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sErkI-0004vJ-Mg; Wed, 05 Jun 2024 10:36:10 -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 1sEgVo-0002PM-BL for emacs-orgmode@gnu.org; Tue, 04 Jun 2024 22:36:28 -0400 Received: from smtp.forwardemail.net ([149.28.215.223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEgVk-0007Gz-UC for emacs-orgmode@gnu.org; Tue, 04 Jun 2024 22:36:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell.net; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: References: In-Reply-To: Subject: To: From; q=dns/txt; s=fe-148fdb2209; t=1717554972; bh=roi9WR9DXS9NndKiiuiuvpysYWSNpPGCVT88cmZHe88=; b=W943YXVuDZThLL6rpuEsISZTpB7iKpBEzMFO0Ntn0cWStLkYHwN8j/h2uRma7OyhffczT6X6A 1l5PjXRcNDe7AIUxa3KdjaqBIVmtzHXMIa1AUS+XhWowKb73CWRCyGahLNcJVF4+wTlC5gbD2rj Mx99U+sfIJTK+4iQMdTDxWtbEgIMJCYfXhX2Kxl5tkhpsT8zKQ3NfX4daFj1jZDkD+cYN6YyHEm YV+WfAfDMyhudQiPpBZUYOgcyzettDDNR7kkeZPMngGHixtxjX13k6F4zrQ1Px8pxRTOm0XAyrY z+mNDdg2cLacPQ9AHkhhGoHPPYPOvIVfpU4eCBZpWaIA== From: Bob Newell To: emacs-orgmode@gnu.org Subject: Re: What might =?utf-8?Q?=E2=80=98org-element-at-point=E2=80=99?= be doing in *scratch*? In-Reply-To: <87bk4h5aai.fsf@christianmoe.com> (Christian Moe's message of "Tue, 04 Jun 2024 11:15:03 +0200") Organization: Avi Gobbler Publishing References: <87bk4h5aai.fsf@christianmoe.com> Date: Tue, 04 Jun 2024 16:36:04 -1000 Message-ID: User-Agent: Vivaldi/4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; bobnewell@bobnewell.net, smtp.forwardemail.net, 149.28.215.223 X-ForwardEmail-ID: 665fcf168709726ef38dbfc8 Received-SPF: pass client-ip=149.28.215.223; envelope-from=SRS0=a531=NH=bobnewell.net=bobnewell@fe-bounces.bobnewell.net; helo=smtp.forwardemail.net 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, 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-Mailman-Approved-At: Wed, 05 Jun 2024 10:36:09 -0400 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: -3.54 X-Spam-Score: -3.54 X-Migadu-Queue-Id: 41CF07261B X-Migadu-Scanner: mx11.migadu.com X-TUID: 2lgCB1mKFimO Christian Moe writes: > Hi, > > After upgrading to 9.7.1 on Emacs 27.1, I get a curious warning on Emacs > start-up: > > "Warning (org-element): =E2=80=98org-element-at-point=E2=80=99 cannot be = used in non-Org > buffer # (fundamental-mode)" > > It does not happen with 'emacs -Q', but it also did not happen before > the upgrade, so I don't know what in my configuration now triggers it, > or why anything would want to do this. > > Anyone else seeing this? I also started to see this. I too traced it to some of my own coding where I was doing some fancy reformatting of the "*Org Agenda*" buffer with a definition of org-agenda-prefix-format that called my user function with an argument including (org-get-outline-path). This now gives the above warning because *Org Agenda* is not an org buffer per se. I worked around it by removing the custom code which was pretty awkward in any case. It does however leave open the question about whether there are or are not legitimate cases for org-element-at-point in buffers which are not org buffers but present summary or custom views of org material like the agenda. --=20 Bob Newell Honolulu, Hawai`i - Via GNU-Linux/Emacs/Gnus/BBDB