From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0IyZCYYLd2RyrgAASxT56A (envelope-from ) for ; Wed, 31 May 2023 10:55:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4GCYCIYLd2RLHgEAG6o9tA (envelope-from ) for ; Wed, 31 May 2023 10:55:34 +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 C853031FFB for ; Wed, 31 May 2023 10:55:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4HbV-00014t-C5; Wed, 31 May 2023 04:54:49 -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 1q4HaA-0000mi-AP for emacs-orgmode@gnu.org; Wed, 31 May 2023 04:53:26 -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 1q4Ha6-0007lG-Pw for emacs-orgmode@gnu.org; Wed, 31 May 2023 04:53:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 235EE240103 for ; Wed, 31 May 2023 10:53:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685523199; bh=Ntf8Yq0Okwl4DkrU6BE+Abq1x3xdljDbYt2dm+NaLFc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=jJucC/bs0nBrX6fNP9LnNBWs0qoFloM3KGqY1cCcH0AYEKSHj96ltUqgl5fAyQni+ Vo8Dg1+JP23FI0uCcSl05JaZqVpUs+LSpqZ1eApBI7nZeO+JGXMfi18CfP1dqe/+Kp It8SrSqwYeR4ffO+rXr9+Plx6uHzX6005JmuYmBpSpeDrRKNw64CaaiOe1zK/vaJMP vqBTEwjf6/eiEPLGK+ITS5EBZsSYdxIC/+xc24xXP1tGG344b5iaJ/rarNU987XMrZ PUe40G8S1XbXUn71VxBgfgac5Zj0fxJnFZpjwzW3LQmIcjewKE8Wi1I1zFe+CBSGzD 9x2vZC8puTR2A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QWNMf4RTqz6txZ; Wed, 31 May 2023 10:53:18 +0200 (CEST) From: Ihor Radchenko To: Stefan Nobis Cc: emacs-orgmode@gnu.org Subject: Re: [RFC] Refactoring org-element API In-Reply-To: References: <87ee7c9quk.fsf@localhost> <87k09ycc7n.fsf@localhost> <874jnudps5.fsf@localhost> Date: Wed, 31 May 2023 08:57:46 +0000 Message-ID: <877csoop2t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, 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-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685523333; a=rsa-sha256; cv=none; b=shtej/AB+MhsitVsSBmd/NA6B8a7qvHegnO553a8AWMtQrCH5GphwlisZU5lkezUylrPDW N8e9r4pXFy8ZIM/z86EqymjPSZ7rY8gucSYtQHk+5TQ4aVrWqVDXY27LEgkeXhSDfJS7cn kK0/KpVzoH5zbfen3Mt2kZj+CkxEajOt8gPs/g4N/Z8XfXKe/KGwq504IjJr37j5cFm9F0 HS5LPNY+VkYdPz1zCdq5Pe3dimXKdQlmkregDqcc1HOPoFo9+zkYZBjmC3IrIKmngc8gc3 Y4QmVMJcLIR/SJky3Zu9aBgU2CO/kLYSKMbrDQSUm8q3K3B8GkKFRiDDsd96dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="jJucC/bs"; 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=1685523333; 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=EuyOYBsS9uw9ECUF7rdCgBYrHgaybMDN81pUZzy/B14=; b=iawxgUTPWqkCL836UMutEqwowi8weLOfDfworpfRyQY51r+Mk+eX2mTQX02s7NZ8+j8WE4 Dkuw4MFwTTcY64PXInG2vRYYeEjWOmhfFNRUz528C+dFayRcN0leEtkYvE1GWflKp7tQAY XCm3lr0cNZu8IGovamNDzmEFDExXS56KIQzS5ko2atrz0EpvtAYny+1+aE4ukUqQwI5c7O 1YhA2or37YAHwrMCilNcFyvXGJNKHSrw0B+eTaaGNvTmACvQ1hTegFPfGduA35C2dPO2A4 0EjkVbw0Gmz1ejDQkri6RLqNup+rQbsOqIRnkxSvRXeZ08/m4xA0JOTD84Tt9g== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="jJucC/bs"; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.21 X-Spam-Score: -11.21 X-Migadu-Queue-Id: C853031FFB X-TUID: Z8aLupdIyNPT Stefan Nobis writes: > One minor nitpick: I would prefer a function like > ~org-element-property-1~ to be named e.g. ~org-element-property-lazy~ > (or something similar), because the "-1" is just obfuscation to me. foo-...-1 is actually frequently used in Emacs code for semi-internal helper functions. I do not mind alternative name, although I feel that ~org-element-property-lazy~ is not very descriptive. I'd prefer to see several more ideas about the alternative names, if possible. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at