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 ms13.migadu.com with LMTPS id QCVeBSPtFGcgJgEAe85BDQ:P1 (envelope-from ) for ; Sun, 20 Oct 2024 11:44:35 +0000 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 QCVeBSPtFGcgJgEAe85BDQ (envelope-from ) for ; Sun, 20 Oct 2024 13:44:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZGfQfDjS; 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=1729424675; 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=9zZwNYNglSJudPR6MGpZ22vg61RXVAyFbP8kMKas5hY=; b=UgDS6HVEs4bMIDKJuU/LWv9GBfmnfNhbv/N+DL9B/PKUMlgxg2dZJT1sW/QphQuWSj5l0Y 8z7SfQQMCG8OPOXzt1F2/ORvbEh6nxAqARjDtHuAQW8uUXO1zKec/81j0fWMksoYeQpDeq 7xyY5S721nV7Lrgb5sQvvTtm+228KA4jCMPzuNT55SHh8RxSU2/xida8s5ZcLpf8Yxs29M Gu8SK2Bq+zUwtooXGYOWpV16kwMGxrVl6OKXR23ilvIc012PagFYCW61X8QrPdntSFENyX lwdlEl6j+KTToLt43Ba+R7wTiGUnex4o9WYodT3K7Dvh5uBqteTf76qshBKyPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729424675; a=rsa-sha256; cv=none; b=da+EE6j/P5qcPEtafVxiyOl1nUCTMiLEzEaPkxsgdlpiNMQfieEU0SxDnnEBsXV7n3egDP npCOMnr406MadGfvQOKqWVjjtbd4NZTTaTe4ZjRT9XiXZOgwEPmFparB24jsx2jLQRXFkh BgYLoEM25Rm9Cbbc8I+mSkKGmlrAVOPreVmITpEW0xJoop/N68+GCrx9ArSmMXgRjLgYEX lrn3M/cRQIYeZqaQa2ODt83y+kE4xUz11DREHEiUWQFmfqvtz7XubKdbfEWLyUEZpX/9Ao KuZPwpW3G178Fnrk13l4Qk0JIiHA6S5HtPaE0qaBB71tIXpj31klWmQkciK6NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZGfQfDjS; 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 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 E13F27FF0 for ; Sun, 20 Oct 2024 13:44:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2ULP-0004UN-PB; Sun, 20 Oct 2024 07:43:35 -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 1t2ULO-0004Tz-2I for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 07:43:34 -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 1t2ULM-0004TV-H2 for emacs-orgmode@gnu.org; Sun, 20 Oct 2024 07:43:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 36E11240028 for ; Sun, 20 Oct 2024 13:43:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729424611; bh=9zZwNYNglSJudPR6MGpZ22vg61RXVAyFbP8kMKas5hY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ZGfQfDjSNTDTVPDtinpd7wj8+e9/tMUkyC5ViZvwv0R3t1Ue3GUBn59F9889cU+b1 8hG1m1HOiYv6fo0CCF6IZyVB19G9bA1JNEOgoHd/Z0cPRJgZT/ltq46dZ/AwDCCbaC SF9KqdyCh2I4rbLnh4KFr9RoNx8HS9xza1yFmhV/1TL20Vxg3wRjr2lO50Iqe/IkL+ zhC4QDoWCjSPJLROka7v0g3AstwGlUh6Z5YYaXMPI2gUTUYRaY/z86BKajJtg9GhER W09t42U6/BZipQxJ70N74NnuPWZMd/U3UQn3uUD5iXUryoJDwePkltRJjDb5r7TxMq 6wXQi888ACFIA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XWc5Z5Q31z9rxB; Sun, 20 Oct 2024 13:43:30 +0200 (CEST) From: Ihor Radchenko To: Nikolay Kudryavtsev Cc: emacs-orgmode Subject: Re: [BUG] =?utf-8?Q?=E2=80=98org-element-at-point=E2=80=99?= warning when opening a link in agenda with a mouse [9.7.11 (9.7.11-6a5d0e @ c:/Users/User/.emacs.d/elpa/org-9.7.11/)] In-Reply-To: References: Date: Sun, 20 Oct 2024 11:45:17 +0000 Message-ID: <87r08bq9pu.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.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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: -4.44 X-Spam-Score: -4.44 X-Migadu-Queue-Id: E13F27FF0 X-Migadu-Scanner: mx13.migadu.com X-TUID: K3VtGBikFZgf Nikolay Kudryavtsev writes: > Recently I reworked some of my task workflows and now I have an agenda=20 > view that's all web links. Opening those with mouse is pretty natural. > > But every time I do, I get this warning: > > Warning (org-element): =E2=80=98org-element-at-point=E2=80=99 cannot be u= sed in non-Org=20 > buffer # (org-agenda-mode) > > I sort of understand why this warning got introduced, but I think that=20 > mouse clicking on links in agenda is a pretty normal usage of org, so I=20 > believe that this warning should be suppressed in this case. Thanks for reporting! This is an annoying one. The old behavior was erroneous - using `org-open-at-point' may actually fail in some agenda buffers. For example, one can try to M-x read-only-mode and then insert #+begin_src conf line before the link and #+end_src after. However, properly fixing it is not trivial - we will need some totally new API for links outside Org mode. For the time being, I suppressed the warning when clicking on links. It will at least fix the regression. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Ddfd6cc51f5 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at