From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sE0hJ3FFkGcpDQEAqHPOHw:P1 (envelope-from ) for ; Wed, 22 Jan 2025 01:10:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sE0hJ3FFkGcpDQEAqHPOHw (envelope-from ) for ; Wed, 22 Jan 2025 02:10:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZNYuzQjc; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737508208; 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=rsB6bCEfmzPVmVs7MqGRn+2pRtOh0b5DO/f0UfCtfYA=; b=IeJLsn1NuMYDBFy+ixh8tkxE3k9t5Y0KNGhHPvmxwi5ZOTo4ZeM1rByl+sDI3IslMyiBzz yYhZVZZKalYamo0mJSsalavzUN9wM4dWomlMoADj84rrc36ajeJSOXj6NDkcXMawLDUljM WKdbjLlFtbrJQRo19gM5+0uqYrm5cG3Owl4Nak1uASFG1MbW/AYzAfK4FZZu9qnOonCM7j BnSd52l50HWOXUg5W8Cievcq6i3WeAwW1G2yHOYbUjBL0vqs7Qqk9V97dqsiK6M1o6Jcpl qjnOKlHO1GJTDmKBG0FAmRrQeGmKsJCpkImPUIpiBM9lOVBBIRXlFJlxnvTXcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZNYuzQjc; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737508208; a=rsa-sha256; cv=none; b=UThQ9U3IyCr835OKgOqe6y8mpQiSsZxk2PWiLRgdPH+C0yPc5kx79ocDqXJWnDDbGnKt9V U7OWGvycaDKXV5V0oP6G9Tl9jiELHTGiEJrJeIhl/R5dHKPtmRFjruxkrLHnGGuHBxhKV8 DbLHHansxjzCahEG9ilwyim/CKYevPQjgBmEsLsam9xPapCanVEm1VQEKyFt4oEcxXuBIl AwK6EejB2SfTuWVB1gNrq6m7ZaqTl5X486IVURBaTuxnogegGk0zaPsgk1yntUVsABnByP zPbbHK9KuNNzbQksO64k+AQ3NmMPTj3sZfJm4wI3jwB7Il08BR0YWJb3Ph5H5A== 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 7087656F57 for ; Wed, 22 Jan 2025 02:10:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1taPFG-0003nx-Fa; Tue, 21 Jan 2025 20:09:26 -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 1taPFB-0003ng-P7 for emacs-orgmode@gnu.org; Tue, 21 Jan 2025 20:09:22 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1taPF8-0004lf-3O for emacs-orgmode@gnu.org; Tue, 21 Jan 2025 20:09:21 -0500 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2f43d17b0e3so11411730a91.0 for ; Tue, 21 Jan 2025 17:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737508156; x=1738112956; darn=gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=rsB6bCEfmzPVmVs7MqGRn+2pRtOh0b5DO/f0UfCtfYA=; b=ZNYuzQjcXXBw0AgE79+z/fx1Mgg0LRYbVOrziTfWQU/mD7ICNppvt6Ty06/2ANOHZe /SUNnTnv4yCCP1Cyp674L2bWgVFsnS/m3iRonTRvjm5YhNLy5rw7s+Sh4QWU65uJtaxx CAm0Og+SeM2VFu3IUUlZDdf/nllGeu6pbWhpSVPoq7Cqs4mlL8xq6gFHmQ6HFYV4IRKU CKvtAUNuuQOHRRdbVK2A9ODLX7Y1yKOgmza9HaKSdglC+E1itWKmfjI4OueDF2SA/Vcs ji2ISS0VjU2kiw7FlCQURRHqplO7/jiodRfiiXX1tQuatWrGMQAsePMIjrxWZWm8g/sb 72rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737508156; x=1738112956; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rsB6bCEfmzPVmVs7MqGRn+2pRtOh0b5DO/f0UfCtfYA=; b=qwbKlaMpywIBjKjRoogsgvzjfAu0DpTEoOt8zRQcI4CHIYHGXjWBMGz/dOsEi3sTJZ EiMDPbk0xE0NcJXxg3LO32L5r95ZO/mi5KVdT0kIojBIs4fVWXvMGIH3Y4zDVWRdYyYO 4bwqYB2S2SNZIpwxDJgEBIFmWhp6ahuVDj2iCd5GAduCWQyORN3ECSgElenZp2KddBZJ yszGjzxz1TBq9wcvaDfKB+vXcfYoIna/HXnsk8FJs58T9FeoCn3sn8Urjq7xWxSFMRm9 SanBcORQB+XQHwAT4HX88Bin2IYudXfDTvjI8mI9xUr3qecO2rZLO9kNf8k69zm64wUr x67g== X-Gm-Message-State: AOJu0YzjEWftZlVvMnZTCWgvrvu6Av+7FMavbCNF4AopZvSxgS1LLWMy 46xHGGdWbhuULvpMDGYDAWbtotLalBdXyRfJR1TSmWlMHQJdAzv5I4O8ig== X-Gm-Gg: ASbGncueOb3INNTq/DTFhQDlLx4CoIeRuUN/RGSGmaZ2ZqA3ubLfcjC1i4maVJm+J2H LI9VGsA8a7zsk1vmL5wQDerJq0ZWBTi8FZ0FkPmZFfiQ+VhpwcFdw5gISh3pR8bU4fBhPfixfR7 DaIpiYlWOFt1XzWU5z/tzGw1p8WyPbtopNADM+Zm3y9CJpOg3RaKG3/vFsHzrDjvTQGHaND75NP 3c/4FC/TI4517hzSt7eHhR9QL60CaoLuv3euMgJPRIZCetGJalJnejJrDKOFbFY2hDvqxYlxLW0 A8H7xFEa7onAh5R4BLWpAgOtLx7N4Ph7mzb6+eNi X-Google-Smtp-Source: AGHT+IFeRE2UGb/xddLdkdZmIJw7ULaeV4OT2esjzzXP3PVvEjwA7wRHJakvH5kSCz/LwGH/9VITHA== X-Received: by 2002:a05:6a00:84e:b0:724:d503:87a1 with SMTP id d2e1a72fcca58-72dafa018f1mr26513661b3a.7.1737508156133; Tue, 21 Jan 2025 17:09:16 -0800 (PST) Received: from smtpclient.apple (bur-inet-pa-4.disney.com. [204.128.192.34]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab9c8f3csm10017225b3a.104.2025.01.21.17.09.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jan 2025 17:09:15 -0800 (PST) From: Mark Barton Message-Id: <78F43F5C-81C1-47D3-9725-3C7A06169BA3@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_17245C1F-D578-474D-8863-21BF6CF0A8B2" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: =?utf-8?Q?Re=3A_=5BBUG=5D_Warning_=28org-element=29=3A_=E2=80=98o?= =?utf-8?Q?rg-element-at-point=E2=80=99_cannot_be_used_in_non-Org_buffer_?= =?utf-8?Q?=23=3Cbuffer_*Org_Agenda*=3E_=28org-agenda-mode=29_=5B9=2E7=2E1?= =?utf-8?Q?1_=28release=5F9=2E7=2E11_=40_/Applications/Emacs=2Eapp/Content?= =?utf-8?Q?s/Resources/lisp/org/=29=5D?= Date: Tue, 21 Jan 2025 17:09:04 -0800 In-Reply-To: <194479CA-A977-48AB-AF68-8FF6DE05D9C8@gmail.com> Cc: Org Mode List To: Ihor Radchenko References: <3E946F08-E2AD-48B3-B63A-319343D50A97@gmail.com> <87y0z3q4f9.fsf@localhost> <194479CA-A977-48AB-AF68-8FF6DE05D9C8@gmail.com> X-Mailer: Apple Mail (2.3826.300.87.4.3) Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=mbarton98@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 7087656F57 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.37 X-Spam-Score: -1.37 X-TUID: YYSTdGwB7hdC --Apple-Mail=_17245C1F-D578-474D-8863-21BF6CF0A8B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 21, 2025, at 3:06=E2=80=AFPM, Mark Barton = wrote: >=20 >=20 >=20 >> On Jan 21, 2025, at 12:48=E2=80=AFPM, Ihor Radchenko = wrote: >>=20 >> May you try to run M-x debug-on-entry RET display-warning RET and >> try triggering the warning? Then, you will see a backtrace with the = full >> information about where the warning is triggered. >>=20 >> (you can later disable the debugger via M-x cancel-debug-on-entry RET = RET) >=20 > I jinxed it when I said it was easy to reproduce. Because now even if = I put that code back in, it does not display the warning for org-element = that has been happening for days. The other things that changed are the = org files, but the diffs look like normal marking tasks done and = updating repeats. The other thing I ran this morning is = (native-compile-prune-cache). I would not expect that to be the source. >=20 > Please close this out and I will file a new report if it happens again = with the debug backtrace. >=20 > Thanks, >=20 > Mark Barton Got it to occur in org-agenda-log-mode C-c a a l Debugger entered--entering a function: * org-element-at-point() org--collect-keywords-1(("SETUPFILE" "FILETAGS" "TAGS") ("ARCHIVE" = "CATEGORY" "COLUMNS" "PRIORITIES") nil = ("/Users/bartm002/Documents/org/Work_Projects.org") nil) org-collect-keywords(("FILETAGS" "TAGS") ("ARCHIVE" "CATEGORY" = "COLUMNS" "PRIORITIES")) org-set-regexps-and-options(tags-only) = org-agenda-prepare-buffers(("/Users/bartm002/Documents/org/Work_Projects.o= rg" "/Users/bartm002/Documents/org/Bookmarks.org" = "/Users/bartm002/Documents/org/DailyPlans.org" = "/Users/bartm002/Documents/org/Personal.org" = "/Users/bartm002/Documents/org/Today.org" = "/Users/bartm002/Documents/org/diary.org" = "/Users/bartm002/Documents/org/goals.org" = "/Users/bartm002/Documents/org/python_notes.org" = "/Users/bartm002/Documents/org/refile.org")) org-agenda-prepare("Day/Week") org-agenda-list(nil nil week nil) eval((org-agenda-list 'nil nil 'week nil) t) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let nil (funcall '#f(compiled-function () #))) eval((let nil (funcall '#f(compiled-function () #)))) org-agenda-redo() org-agenda-log-mode(nil) funcall-interactively(org-agenda-log-mode nil) command-execute(org-agenda-log-mode) --Apple-Mail=_17245C1F-D578-474D-8863-21BF6CF0A8B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Jan 21, 2025, at 3:06=E2=80=AFPM, Mark Barton = <mbarton98@gmail.com> wrote:



On Jan 21, 2025, at 12:48=E2=80=AFPM, Ihor Radchenko = <yantar92@posteo.net> wrote:

May you = try to run M-x debug-on-entry RET display-warning RET and
try triggering the warning? Then, you will = see a backtrace with the full
information about where the warning is triggered.

(you can later disable the debugger via M-x = cancel-debug-on-entry RET RET)

I = jinxed it when I said it was easy to reproduce. Because now even if I = put that code back in, it does not display the warning for org-element = that has been happening for days. The other things that changed are the = org files, but the diffs look like normal marking tasks done and = updating repeats. The other thing I ran this morning = is (native-compile-prune-cache). I would not expect that to be the = source.

Please close this out and I will file a = new report if it happens again with the debug = backtrace.

Thanks,

Mark = Barton

Got it to = occur in org-agenda-log-mode C-c a a l

Debugger = entered--entering a function:
* = org-element-at-point()
  = org--collect-keywords-1(("SETUPFILE" "FILETAGS" "TAGS") ("ARCHIVE" = "CATEGORY" "COLUMNS" "PRIORITIES") nil = ("/Users/bartm002/Documents/org/Work_Projects.org") = nil)
  org-collect-keywords(("FILETAGS" "TAGS") = ("ARCHIVE" "CATEGORY" "COLUMNS" "PRIORITIES"))
  = org-set-regexps-and-options(tags-only)
  = org-agenda-prepare-buffers(("/Users/bartm002/Documents/org/Work_Projects.o= rg" "/Users/bartm002/Documents/org/Bookmarks.org" = "/Users/bartm002/Documents/org/DailyPlans.org" = "/Users/bartm002/Documents/org/Personal.org" = "/Users/bartm002/Documents/org/Today.org" = "/Users/bartm002/Documents/org/diary.org" = "/Users/bartm002/Documents/org/goals.org" = "/Users/bartm002/Documents/org/python_notes.org" = "/Users/bartm002/Documents/org/refile.org"))
  = org-agenda-prepare("Day/Week")
  org-agenda-list(nil nil = week nil)
  eval((org-agenda-list 'nil nil 'week nil) = t)
  #f(compiled-function () #<bytecode = 0x84c7cc8def533>)()
  funcall(#f(compiled-function () = #<bytecode 0x84c7cc8def533>))
  (let nil (funcall = '#f(compiled-function () #<bytecode = 0x84c7cc8def533>)))
  eval((let nil (funcall = '#f(compiled-function () #<bytecode = 0x84c7cc8def533>))))
  = org-agenda-redo()
  = org-agenda-log-mode(nil)
  = funcall-interactively(org-agenda-log-mode nil)
  = command-execute(org-agenda-log-mode)

= --Apple-Mail=_17245C1F-D578-474D-8863-21BF6CF0A8B2--