From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Documentation: Side effects of org-entry-properties and others Date: Tue, 18 Feb 2020 01:53:12 +0100 Message-ID: <87sgj8ogw7.fsf@nicolasgoaziou.fr> References: <90aecaeb-c182-cc2e-9f31-4dc24db65af9@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42921) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3r8Y-0005YI-27 for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 19:53:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3r8W-00059Z-OL for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 19:53:17 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57173) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3r8W-00057h-Ir for emacs-orgmode@gnu.org; Mon, 17 Feb 2020 19:53:16 -0500 In-Reply-To: <90aecaeb-c182-cc2e-9f31-4dc24db65af9@posteo.net> (D.'s message of "Tue, 18 Feb 2020 00:19:46 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: D Cc: emacs-orgmode@gnu.org Hello, D writes: > The same is true for org-element-lineage, but I am not so sure whether > it is intended for hacking purposes as much as org-entry-properties. > Sadly, I have no overview over the scope of this issue, so I do not know > whether my suggestion is unrealistic (for example, because it would mean > adding warnings practically everywhere). I think this is unrealistic. If you need to save match data, execute non-trivial code, and use the saved match data, I suggest to use `save-match-data'. Regards, -- Nicolas Goaziou