emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-ts-mode


From: Eli Zaretskii
Subject: Re: c-ts-mode
Date: Fri, 08 Sep 2023 21:54:18 +0300

> From: João Távora <joaotavora@gmail.com>
> Date: Fri, 8 Sep 2023 19:30:15 +0100
> Cc: theo@thornhill.no, casouri@gmail.com, spacibba@aol.com, 
>       emacs-devel@gnu.org
> 
> On Fri, Sep 8, 2023 at 7:23 PM Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > > If so, then going that route means basically writing a translator
> > > of clang-format -> Emacs treesitter rules.  Maybe it's easier than
> > > I think, and the main advantage is it will plug into
> > > indent-line-function and indent-region-function rather easily.
> > > And, who knows, some code can be reused for writing translators of
> > > other formatters.
> > Yes.
> >
> > > Anyway I wouldn't discard the "LSP shortcut" idea.
> >
> > I didn't discard it.
> 
> OK.  But the TODO item doesn't mention it.

It also doesn't say it's off the table, though.  In fact, it says
nothing at all about the implementation.

If you want to add some implementation ideas to that item, I won't
object; please show the patch.

> I think prospective volunteers should eventually be steered to this
> discussion to learn about these trade-offs.  Some entries in
> etc/TODO have links to lists.gnu.org.  I suggest to add one in the
> item to our conversation.

Fine by me, thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]