emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Psionic K <psionik@positron.solutions>
Cc: emacs-orgmode@gnu.org
Subject: Re: Completions Registry
Date: Wed, 25 Dec 2024 13:21:32 +0000	[thread overview]
Message-ID: <87v7v7zyn7.fsf@localhost> (raw)
In-Reply-To: <CADQMGAQkAh0ApLW39VwOys-NdtcmvikbZX-T3+ozY53g5FG=1A@mail.gmail.com>

Psionic K <psionik@positron.solutions> writes:

> Not just a problem for dslide but for org in general, any time a
> package adds keys to configure blocks or properties, these do not
> complete except through dabbrev etc.
> ...

I am sorry, but it is not clear for me from your email what concrete
improvement you want to see.

There are indeed sub-optimal historical decisions that could be improved
in the hindsight, but we are not going to remove the existing conventions.

> Some set of decisions and tree sitter grammar would enable org to make
> use of the tree sitter tools for parsing, probably good for org
> element and font locking both.  Everyone knows that.  Just my +1.

It is too much for Org mode maintainers to provide an official grammar.
Mostly because it will require knowledge of JS/C (basically, non-Elisp
languages). I am highly skeptical that we can reliably find people who
can regularly contribute if Org becomes multi-programming language
project.

The official parser will thus remain written in Elisp.

I am, however, in favor of making things easier for people to implement
tree-sitter grammar, if anything can be done to help this from Org side
without actually having to write and maintain that grammar.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2024-12-25 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12  3:15 Completions Registry Psionic K
2024-12-25 13:21 ` Ihor Radchenko [this message]
2024-12-25 13:50   ` Psionic K
2024-12-25 14:05     ` Ihor Radchenko
2024-12-26 18:25   ` Karthik Chikmagalur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v7v7zyn7.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=psionik@positron.solutions \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).