From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Improving Emacs' iCalendar support Date: Sun, 24 Nov 2024 11:50:23 +0200 Message-ID: <86ed31j6zk.fsf@gnu.org> References: <87ed4dss2x.fsf@ohm.mail-host-address-is-not-set> <87mshq9w5c.fsf@ohm.mail-host-address-is-not-set> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40340"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Richard Lawrence Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 24 10:51:07 2024 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 1tF9Gk-000ANI-VX for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Nov 2024 10:51:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF9G9-0008Mf-1Y; Sun, 24 Nov 2024 04:50:29 -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 1tF9G7-0008MI-0i for emacs-devel@gnu.org; Sun, 24 Nov 2024 04:50:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF9G6-0005fn-MO; Sun, 24 Nov 2024 04:50:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KSJizJF43t/OUnNlqf67qJg0mDGNINTAj1CXe5Eg938=; b=NfO6Aa/LO/9o Cs30JOtHUR9vUuNnbwdrpGOhxK3CCrnRB6mMYa/U8H50KaGIJPA1ZRdGF+4WY0g9vBo18nCUrCHGQ 7kDw2dfIZDccOVpULaNrS2AvSjIJ92t6sSZc/fplt2eFOmMMjqgJv3XmJnJxXmzD9wWugivqhUvke mUEqPyQNiD8KHh9ZRhgz9fp00xjeUEWlER5vpe+1VPqQhrSFD2JJmx2+rY0zeag7DECQ3t9fsnBuQ QQPVrdzUYeQ0873TR7wTa36CnCKmIOGfX9s7TOzEnSZs6DA3La0dDzKKdeXRPbR40TISk8hVKkF3I Xv4Tk7oJAN9nySxG7RAlEg==; In-Reply-To: <87mshq9w5c.fsf@ohm.mail-host-address-is-not-set> (message from Richard Lawrence on Sat, 23 Nov 2024 09:44:47 +0100) 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:325653 Archived-At: > From: Richard Lawrence > Date: Sat, 23 Nov 2024 09:44:47 +0100 > > 1) The basic form of the syntax tree is based on the format of the Org > parse tree in org-element-ast.el (though for now I have not implemented > any of the performance optimizations). Syntax nodes are a four-element > list of a type symbol, a metadata structure, a value, and a list of > children. Type symbols are used to store metadata about all the > iCalendar grammar categories and to do type-based dispatch in the > parser. Is it possible to use peg.el instead? Since iCalendar is not tightly coupled to Org, it would be best not to load Org for supporting iCalendar features. Thanks.