* Re: [PATCH] Utilize new font-lock faces for C/C++ and Python tree-sitter use
@ 2022-11-14 19:20 Theodor Thornhill
2022-11-15 0:47 ` Randy Taylor
0 siblings, 1 reply; 3+ messages in thread
From: Theodor Thornhill @ 2022-11-14 19:20 UTC (permalink / raw)
To: Randy Taylor, Yuan Fu; +Cc: emacs-devel
(adding back in emacs-devel)
Randy Taylor <dev@rjt.dev> writes:
> Hey guys,
>
> Seems like the mailing lists are down from what I can tell, so just
> sending the patch I sent out yesterday in case either of you wanted to
> take a look. Not sure how long the lists will be down for (or even
> what's going on).
>
> BTW I think it would be a good idea to figure out some guidelines for
> the tree-sitter features (and write them down somewhere) - some that
> are applicable to as many languages as possible, and preferably as
> small as possible. That way we can have consistent implementations,
> and languages can deviate where they may need to. I will think about
> composing a list of what we may want.
>
I think that's smart, but I envision we will diverge in any case, hehe.
> Here's what I said in the email:
> I'm just submitting C/C++ and Python for now since some of the other files are
> a little more volatile currently (there are some patches in progress).
>
I like it!
Are you sure we cover most of the stuff that was covered in the old
style? I see it is different visually, but that's likely the new faces
are without any color, right?
I think you should add similar changes to all the new modes:
- ts-mode
- json-ts-mode
- css-ts-mode
- java-ts-mode
- js-mode
If you have time and energy, of course :-)
Theo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Utilize new font-lock faces for C/C++ and Python tree-sitter use
2022-11-14 19:20 [PATCH] Utilize new font-lock faces for C/C++ and Python tree-sitter use Theodor Thornhill
@ 2022-11-15 0:47 ` Randy Taylor
2022-11-15 10:25 ` Theodor Thornhill
0 siblings, 1 reply; 3+ messages in thread
From: Randy Taylor @ 2022-11-15 0:47 UTC (permalink / raw)
To: Theodor Thornhill; +Cc: Yuan Fu, emacs-devel
Looks like my bug finally got created (Bug#59268) so we can continue the discussion there.
Will reply to what's been said so far below.
On Monday, November 14th, 2022 at 14:20, Theodor Thornhill <theo@thornhill.no> wrote:
>
> Are you sure we cover most of the stuff that was covered in the old
> style? I see it is different visually, but that's likely the new faces
> are without any color, right?
I think so, at least I don't notice anything wrong (the old style was actually missing some things).
Indeed, most of the new faces are without any colour. Property and escape-sequence are the only ones
that have any, and they inherit.
Do you have any specific examples?
>
> I think you should add similar changes to all the new modes:
>
> - ts-mode
> - json-ts-mode
> - css-ts-mode
> - java-ts-mode
> - js-mode
>
> If you have time and energy, of course :-)
>
I plan to. Hopefully this week and weekend.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Utilize new font-lock faces for C/C++ and Python tree-sitter use
2022-11-15 0:47 ` Randy Taylor
@ 2022-11-15 10:25 ` Theodor Thornhill
0 siblings, 0 replies; 3+ messages in thread
From: Theodor Thornhill @ 2022-11-15 10:25 UTC (permalink / raw)
To: Randy Taylor; +Cc: Yuan Fu, emacs-devel
Randy Taylor <dev@rjt.dev> writes:
> Looks like my bug finally got created (Bug#59268) so we can continue the discussion there.
>
Thumbs up.
> Will reply to what's been said so far below.
>
>
> On Monday, November 14th, 2022 at 14:20, Theodor Thornhill <theo@thornhill.no> wrote:
>>
>> Are you sure we cover most of the stuff that was covered in the old
>> style? I see it is different visually, but that's likely the new faces
>> are without any color, right?
>
> I think so, at least I don't notice anything wrong (the old style was actually missing some things).
> Indeed, most of the new faces are without any colour. Property and escape-sequence are the only ones
> that have any, and they inherit.
>
> Do you have any specific examples?
>
Nope, I think it's fine. Just wanted to ask :-)
>>
>> I think you should add similar changes to all the new modes:
>>
>> - ts-mode
>> - json-ts-mode
>> - css-ts-mode
>> - java-ts-mode
>> - js-mode
>>
>> If you have time and energy, of course :-)
>>
>
> I plan to. Hopefully this week and weekend.
--
Theo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-15 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-14 19:20 [PATCH] Utilize new font-lock faces for C/C++ and Python tree-sitter use Theodor Thornhill
2022-11-15 0:47 ` Randy Taylor
2022-11-15 10:25 ` Theodor Thornhill
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).