From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Lawrence Newsgroups: gmane.emacs.devel Subject: Re: Upstreaming org-element-ast (was: Improving Emacs' iCalendar support) Date: Fri, 10 Jan 2025 10:48:18 +0100 Message-ID: <87o70f2e59.fsf@recursewithless.net> References: <87ed4dss2x.fsf@ohm.mail-host-address-is-not-set> <87mshq9w5c.fsf@ohm.mail-host-address-is-not-set> <86ed31j6zk.fsf@gnu.org> <87ldx9vsnb.fsf@localhost> <868qt8kj6f.fsf@gnu.org> <87ikscx5io.fsf@localhost> <867c8skhy6.fsf@gnu.org> <87frngx4fx.fsf@localhost> <864j3wkczm.fsf@gnu.org> <87cyhg0zjz.fsf@localhost> <87ttamtf7g.fsf@recursewithless.net> <87h66l2isk.fsf@localhost> <87cyh8guci.fsf@recursewithless.net> <87r05mg9ve.fsf@localhost> <87pll68z8u.fsf@recursewithless.net> <87y0zppsmy.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 10 10:49:12 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tWBde-0005gq-Fj for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jan 2025 10:49:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWBcx-00039o-MV; Fri, 10 Jan 2025 04:48:27 -0500 Original-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 1tWBcv-00039Z-VP for emacs-devel@gnu.org; Fri, 10 Jan 2025 04:48:26 -0500 Original-Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWBcu-0002Go-6E for emacs-devel@gnu.org; Fri, 10 Jan 2025 04:48:25 -0500 Original-Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id A0448114011B; Fri, 10 Jan 2025 04:48:22 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Fri, 10 Jan 2025 04:48:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= recursewithless.net; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1736502502; x=1736588902; bh=L5gIm4GjZhaPkapWR86nhGc/6IooXXYmxDjYiNNucYY=; b= QeXg+nxOJdKO982wspvtqWL4VfBrfYy1tZ0Rs3PHe5FIOTt6PrPhKs7knuNndiJ+ natpFioVcEYn27YcRZjI4SRNo77GijLXVlPLMacXfOvf76YiNSv0zyl+aMIdHA8D lmSG6IXuDb3q7GWDvW96xnAM2rRbIhKdv21y0rubNxrOfIABk4hUDxRgN/YBwWaH 6NH5gbRFo1oa6MeUaFN395wI41UND5kS4qpMP7u2ahMELo1j7o1qJQICUz1t+k2W s2tTfOg8vhynxe5zArqKvIeCFf1/5vvlpvx7ypJa79fwzl0gWva8YT2TBH9pJzqx 5uFyuTzUregdt0d0xBDqHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1736502502; x=1736588902; bh=L5gIm4GjZhaPkapWR86nhGc/6IooXXYmxDj YiNNucYY=; b=JBRFljQd61SbdJjiKokk/tVYXvNUYAFwTbamENqRGeARIsEZFKm Qu5IWAglvSMoNkD3iGXYDC55xeiR0IvWgmS/sGXUm037EewVg46HokD8lTHz+zib Otde2VucZ4xb4Q0huPTylb6wZUbViwiRGj/6jpnLNEa8U6n8Zc3Bhq84usR+0ibP 6hjwAOc+brr4xZsjyGeJH5bX6G/wVft4F+VvGKiV51f/EElHHS9+oCvFR+hEKa5Y AF9ZkUknBql0gBb156HIAsyMtiuLCMlOQykE/85SZlBeuxB45F4dCpai4flaUrLQ lyB0Ea6RSZBWRPacdx9pAgO3ewcey139a/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegkedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf gjfhffkfggtgesthdtredttddttdenucfhrhhomheptfhitghhrghrugcunfgrfihrvghn tggvuceorhiflhesrhgvtghurhhsvgifihhthhhlvghsshdrnhgvtheqnecuggftrfgrth htvghrnhepfeeuffdvfeeffedtuedtgfejtedtudevuddufeejtdekjefgheehvdfggfff udfhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh iflhesrhgvtghurhhsvgifihhthhhlvghsshdrnhgvthdpnhgspghrtghpthhtohepvddp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohephigrnhhtrghrledvsehpohhsthgvoh drnhgvthdprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: if7394488:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Jan 2025 04:48:21 -0500 (EST) In-Reply-To: <87y0zppsmy.fsf@localhost> Received-SPF: pass client-ip=103.168.172.154; envelope-from=rwl@recursewithless.net; helo=fhigh-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327838 Archived-At: Ihor Radchenko writes: > I think that the simplest approach could be just leaving > `org-element--standard-properties' constant, but stuffing it with truly > generic properties that are common for all the possible parsers. > > WDYT? Well, it doesn't seem ideal, but maybe it's sufficient. Another idea: could one use aliasing or symbol properties somehow to allow library users to "rename" standard properties they don't need? All that really needs to happen dynamically is mapping a keyword to an array index, right? Best, Richard