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: [ELPA] New package: jami-bot and org-jami-bot Date: Fri, 12 Jan 2024 15:59:03 +0200 Message-ID: <83y1cuirfc.fsf@gnu.org> References: <875y0i7e43.fsf@hoowl.se> <87y1cyqoso.fsf@posteo.net> <83r0inj9oi.fsf@gnu.org> <87y1cupw0g.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6380"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, rms@gnu.org, philipk@posteo.net, hanno@hoowl.se, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 12 15:00:31 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 1rOI5G-0001U9-Mq for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Jan 2024 15:00:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOI4Q-00029N-UF; Fri, 12 Jan 2024 08:59:39 -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 1rOI4H-000278-F5 for emacs-devel@gnu.org; Fri, 12 Jan 2024 08:59:31 -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 1rOI4E-0004NT-Qw; Fri, 12 Jan 2024 08:59: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=uOpWKTH6brqzdlQ+RJuBh2oL0I5/ChvTD8BoQiQTU4c=; b=JVPhrhKPecCK B/VzKe2PLGSepMCmAuSyFzNhoRIzzmatZSifat5EcGc+jmZeMRSu6qaVvibcZzg40VIfwbLH3T1H4 YNoVpD6hpF/xlFGhIVaVpyAojyJ+ZId83k5bOZ2Z/5KPqQ8QbFgkM/FiaSq3c8j7oDBA+6+6pqPbX zNJ07NpHpkunHUc2SUfUpyUDJFpa7fk1mFYXQD7p4Y37yZCHE6u0ncLgK9suGpDuBzgMcWpxbipP9 8k08gt2vB6MSdZBLLXsvPvaiYtpr4mapJOeDydvbatH9tQyT+P0kxVZuNnhEKSemtrfkNSxMxVItG 5xvidtzul+HA9hoMtmL/9Q==; In-Reply-To: <87y1cupw0g.fsf@localhost> (message from Ihor Radchenko on Fri, 12 Jan 2024 12:38:07 +0000) 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:314901 Archived-At: > From: Ihor Radchenko > Cc: Stefan Kangas , rms@gnu.org, philipk@posteo.net, > hanno@hoowl.se, emacs-devel@gnu.org > Date: Fri, 12 Jan 2024 12:38:07 +0000 > > Eli Zaretskii writes: > > >> ... The Org maintainers themselves proposed > >> some features (org-protocol and org-capture) that are good candidates to > >> separate from Org in this very thread. > > > > What about ox-* packages? Could they be converted to more > > generally-useful export capabilities for Emacs? > > Kind of. ox-* packages mostly rely on ox.el capabilities + Org mode > parsed representation. ox.el is also relying on the parsed > representation, except a few places. Yes, I know. And that is the problem I'm pointing to: export capabilities should ideally not depend on a specific parser, let alone an Org-specific one. Because export capabilities can be beneficial in much more places in Emacs than just Org buffers. > If someone writes a parser that can understand alternative, non-Org > markup of source files, and produce org-element-ast.el-compatible list > structure, most of the ox-* exporters should remain functional. It would be better to allow alternative data structures to be input to the export functionality, rather than expect other features to mimic the Org parser and its outputs.