From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPagAcgwMmU4+wAA9RJhRA:P1 (envelope-from ) for ; Fri, 20 Oct 2023 09:48:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MPagAcgwMmU4+wAA9RJhRA (envelope-from ) for ; Fri, 20 Oct 2023 09:48:24 +0200 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 B5E225E1FD for ; Fri, 20 Oct 2023 09:48:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=U236PxuM; dmarc=pass (policy=none) header.from=posteo.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-Seal: i=1; s=key1; d=yhetil.org; t=1697788103; a=rsa-sha256; cv=none; b=PYK56Eek3AEJzn9BS5mw9nM/TpautS6xy1366+yhLt/KIQZfyAe7nQo3yfU+fnU1cC7dV/ 0t/aG6Iqjokw8tP49D8eHCmTfZLRnGGCTCigbg90CtW42PyXbHWcdLhqvuxZY39153hbZ1 C0moqZ3jIzplWem6G0W0UGdv3C45vvzJj6rpUlqFO7dq9w4kWYSTy12yy33aVQsyHSOe5c x1lB8xTdcP1Gkb41oli/QFWaUWBF3dRWJ5TTVIyxNAGlFdmvsyFbTZbt4/b4t8hyqR6yQ3 ahYQ2MBupUi+BhI9UGspU+LE1pLE4ixdYXR7/pN5DqM9+YkCG4/mv2vUKGx6xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=U236PxuM; dmarc=pass (policy=none) header.from=posteo.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=1697788103; 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=S6xtS4SsmLKZjBBOVHQIn0Y0XC8vuWGiKFyYCO/+Ovs=; b=mmrqZE3KvTalNlz4oyeZE1AIf2WVx0KhGYkxBLKmmb8iq6hxFMeHZEVrKMeyWfB7xs8HzY YICLEmrnD3ogNrR6JALhF5adDDLFwtS3ybhw21Gpx1OXUtE/zFNyUFJCwH1xt4aY4ScKGJ 1Vt7gWhZ4Jox38CUCxM0SEtb+wRwiBXiSMSlNd4Jcj4Cavbwkk4pRRAQVVbl25NKFvdwrw sa3lylKs/v6tcOUVTpnm6K9T2+EzklhrxKlRddizTdv91XnW1/LFCxzKcQbeDPDtgCTlye ZuRwligmxXNdO7J81TDpLABpJeF/fJw2Ucj7bbSxFGUsIMAWbBWeZZecPwD8UA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtkEt-0008Mz-FQ; Fri, 20 Oct 2023 03:48:11 -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 1qtkEs-0008M4-5j for emacs-orgmode@gnu.org; Fri, 20 Oct 2023 03:48:10 -0400 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 1qtkEp-0005CR-Po for emacs-orgmode@gnu.org; Fri, 20 Oct 2023 03:48:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0DA70240101 for ; Fri, 20 Oct 2023 09:48:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697788085; bh=3+pR2NIwPkT/smhbh1ESRW7r145JaLn1fhcmbjPZl5Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=U236PxuMD3QUP/TRzLBTNf8Ko9+p1eVCrg4gekdyIVK5lrvmcYtLX+nSmf/9JkWJ5 5IFcztzoC1PHuCA8adAT3N/8K6QBL7WObbMH7NWRo4ELeTidPBv13h4QGwaOLT/fEv NQFQJ8DmD5ufN8B5ognncigO4tCvzKy6Kh8KO7tU2MVnm4VdGc2b54bFXMZ/Vcqehy r0YZGrcna0g5WtG1WcFjD75bizZ5Yv7//CCxoW+/iVJC35L064FnXTbp0YAlsATRNa Mk2P095ekjAyNP3VErT1yRRRWyrZxi7/SAN0dFSzvLzfNATkXg+8TQTGh6/QQmTG9A X6r2tRiAfFiqQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SBcBr4FRRz9rxL; Fri, 20 Oct 2023 09:48:04 +0200 (CEST) From: Ihor Radchenko To: Vladimir Nikishkin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)] In-Reply-To: <87ttql4u6l.fsf@laptop.lockywolf.net> References: <871qdq54ol.fsf@laptop.lockywolf.net> <87pm19d9sz.fsf@localhost> <87ttql4u6l.fsf@laptop.lockywolf.net> Date: Fri, 20 Oct 2023 07:49:48 +0000 Message-ID: <87mswdd97n.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.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_H5=0.001, RCVD_IN_MSPIKE_WL=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.57 X-Spam-Score: -6.57 X-Migadu-Queue-Id: B5E225E1FD X-TUID: IR/efit1g+Co Vladimir Nikishkin writes: >> May you elaborate about incompatibility? >> > > Yes. With org-eldoc loaded, and having a property '#+date: unpublished' > in an org file, I am having the '*Messages*' buffer filled with > #+begin_src elisp > =E2=9B=94 Warning (org-element-cache): org-element--cache: Org parser err= or in 2015_Passwords.org.rclignore::53653. Resetting. > The error was: (error "Invalid search bound (wrong side of point)") > Backtrace: > " backtrace-to-string(nil) > org-element-at-point() This has nothing to do with eldoc. If you can reproduce this problem consistently, may you create a minimal example as described in https://orgmode.org/manual/Feedback.html#Feedback ? >> That would constitute incompatible change for the existing users. >> Although, autoload may cause org-eldoc to be loaded for users of >> org-contrib, who are not interested in org-eldoc. >> What we might do as a compromise is removing the autoload cookie only >> and leaving the (add-hook ...) to be executed upon (require 'org-eldoc). > > Yes, maybe that is even better. Why would one (require 'org-eldoc) with > no intention of using it? Fixed, on master. https://git.sr.ht/~bzg/org-contrib/commit/6e208c87bf6ede9251c9c5733b81b004b= 1e44966 As for `require', it is not so simple. Things like C-h f can trigger loading libraries. But addressing such peculiarities is beyond the level of maintenance we can provide for org-contrib. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at